Documentation
¶
Overview ¶
classicapi_vpp_assignments.go
http_logging.go
shared_models.go
util_pagination.go Api documentaton: https://developer.jamf.com/developer-guide/docs/api-style-guide#query-parameters
Index ¶
- Constants
- Variables
- func LoadAuthConfig(configFilePath string) (*http_client.AuthConfig, error)
- type AccountGroupSubsetMembers
- type AccountSubsetLdapServer
- type AccountSubsetPrivileges
- type AccountsListSubsetGroups
- type AccountsListSubsetUsers
- type ActiveCertificateAuthoritySubsetSignature
- type AdvancedComputerSearchContainerComputers
- type AdvancedComputerSearchListItem
- type AdvancedComputerSearchSubsetComputer
- type AdvancedMobileSearchContainerDevices
- type AdvancedMobileSearchListItem
- type AdvancedMobileSearchSubsetDevice
- type AdvancedUserSearchContainerUsers
- type AdvancedUserSearchListItem
- type AdvancedUserSearchSubsetUser
- type BYOProfileListItem
- type BYOProfileSubsetGeneral
- type CacheSettingsSubsetMemcachedEndpoints
- type ClassContainerMeetingTimes
- type ClassListItem
- type ClassSubsetAppleTVs
- type ClassSubsetMeetingTime
- type ClassSubsetMobileDeviceGroup
- type ClassSubsetMobileDeviceGroupID
- type ClassSubsetMobileDevices
- type ClassSubsetStudent
- type ClassSubsetStudentGroupIDs
- type ClassSubsetTeacher
- type ClassSubsetTeacherGroupIDs
- type ClassSubsetTeacherIDs
- type Client
- func (c *Client) CreateAccount(account *ResourceAccount) (*ResponseAccountCreatedAndUpdated, error)
- func (c *Client) CreateAccountGroup(accountGroup *ResourceAccountGroup) (*ResponseAccountGroupCreated, error)
- func (c *Client) CreateAdvancedComputerSearch(search *ResourceAdvancedComputerSearch) (*ResponseAdvancedComputerSearchCreatedAndUpdated, error)
- func (c *Client) CreateAdvancedMobileDeviceSearch(search *ResourceAdvancedMobileDeviceSearch) (*ResponseAdvancedMobileDeviceSearchCreatedAndUpdated, error)
- func (c *Client) CreateAdvancedUserSearch(search *ResourceAdvancedUserSearch) (*ResourceAdvancedUserSearchCreatedAndUpdated, error)
- func (c *Client) CreateAllowedFileExtension(extension *ResourceAllowedFileExtension) (*ResourceAllowedFileExtension, error)
- func (c *Client) CreateApiIntegration(integration *ResourceApiIntegration) (*ResourceApiIntegration, error)
- func (c *Client) CreateBYOProfile(profile *ResourceBYOProfile) (*ResponceBYOProfileCreatedAndUpdated, error)
- func (c *Client) CreateBuilding(building *ResourceBuilding) (*ResponseBuildingCreate, error)
- func (c *Client) CreateBuildingResourceHistoryByID(id string, historyUpdate *ResourceBuildingResourceHistory) (*ResourceBuildingResourceHistory, error)
- func (c *Client) CreateCategory(category *ResourceCategory) (*ResourceCategory, error)
- func (c *Client) CreateClass(class *ResourceClass) (*ResourceClass, error)
- func (c *Client) CreateCloudIdentityProvider(cloudIdP *ResourceCloudIdp) (*ResponseCloudIdpCreate, error)
- func (c *Client) CreateComputer(computer ResponseComputer) (*ResponseComputer, error)
- func (c *Client) CreateComputerExtensionAttribute(attribute *ResourceComputerExtensionAttribute) (*ResourceComputerExtensionAttribute, error)
- func (c *Client) CreateComputerGroup(group *ResourceComputerGroup) (*ResourceComputerGroup, error)
- func (c *Client) CreateComputerInventoryCollectionSettingsCustomPath(customPath *ResourceComputerInventoryCollectionSettingsCustomPath) (*ResourceComputerInventoryCollectionSettingsCustomPath, error)
- func (c *Client) CreateComputerInvitation(invitation *ResourceComputerInvitation) (*ResourceComputerInvitation, error)
- func (c *Client) CreateComputerPrestage(prestage *ResourceComputerPrestage) (*ResponseComputerPrestageCreate, error)
- func (c *Client) CreateDepartment(department *ResourceDepartment) (*ResponseDepartmentCreate, error)
- func (c *Client) CreateDirectoryBinding(binding *ResponseDirectoryBinding) (*ResponseDirectoryBinding, error)
- func (c *Client) CreateDiskEncryptionConfiguration(config *ResourceDiskEncryptionConfiguration) (*ResponseDiskEncryptionConfigurationCreatedAndUpdated, error)
- func (c *Client) CreateDistributionPoint(dp *ResourceFileShareDistributionPoint) (*ResourceFileShareDistributionPoint, error)
- func (c *Client) CreateDockItem(dockItem *ResourceDockItem) (*ResourceDockItem, error)
- func (c *Client) CreateEbook(ebook ResourceEbooks) (*ResourceEbooks, error)
- func (c *Client) CreateEnrollmentCustomization(enrollmentCustomization ResourceEnrollmentCustomization) (*ResponseEnrollmentCustomizationCreate, error)
- func (c *Client) CreateFileAttachments(resource, idType, id string, files map[string]string) (*http.Response, error)
- func (c *Client) CreateIBeacon(beacon *ResourceIBeacons) (*ResourceIBeacons, error)
- func (c *Client) CreateJamfApiRole(role *ResourceAPIRole) (*ResourceAPIRole, error)
- func (c *Client) CreateLDAPServer(ldapServer *ResourceLDAPServers) (*ResourceLDAPServers, error)
- func (c *Client) CreateLicensedSoftware(licensedSoftware *ResourceLicensedSoftware) (*ResourceLicensedSoftware, error)
- func (c *Client) CreateMacApplication(macApp ResourceMacApplications) (*ResourceMacApplications, error)
- func (c *Client) CreateMacOSConfigurationProfile(profile *ResourceMacOSConfigurationProfile) (*ResponseMacOSConfigurationProfileCreationUpdate, error)
- func (c *Client) CreateMobileDevice(attribute *ResourceMobileDevice) (*ResourceMobileDevice, error)
- func (c *Client) CreateMobileDeviceApplication(app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
- func (c *Client) CreateMobileDeviceConfigurationProfile(profile *ResourceMobileDeviceConfigurationProfile) (*ResourceMobileDeviceConfigurationProfile, error)
- func (c *Client) CreateMobileDeviceEnrollmentProfile(profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) CreateMobileDeviceGroup(group *ResourceMobileDeviceGroup) (*ResourceMobileDeviceGroup, error)
- func (c *Client) CreateMobileDevicePrestage(newPrestage ResourceMobileDevicePrestage) (*ResponseMobileDevicePrestageCreate, error)
- func (c *Client) CreateMobileDeviceProvisioningProfile(id int, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) CreateMobileDeviceProvisioningProfileByName(name string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) CreateMobileDeviceProvisioningProfileByUUID(uuid string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) CreateMobileExtensionAttribute(attribute *ResourceMobileExtensionAttribute) (*ResourceMobileExtensionAttribute, error)
- func (c *Client) CreateNetworkSegment(segment *ResourceNetworkSegment) (*ResourceNetworkSegment, error)
- func (c *Client) CreatePatchPolicy(policy *ResourcePatchPolicies, softwareTitleConfigID int) (*ResourcePatchPolicies, error)
- func (c *Client) CreatePatchSoftwareTitleConfiguration(configuration ResourcePatchSoftwareTitleConfiguration) (*ResponsePatchSoftwareTitleConfigurationCreate, error)
- func (c *Client) CreatePolicy(policy *ResourcePolicy) (*ResourcePolicyCreateAndUpdate, error)
- func (c *Client) CreatePrinter(printer *ResourcePrinter) (*ResponsePrinterCreateAndUpdate, error)
- func (c *Client) CreateRemovableMACAddress(macAddress *ResourceRemovableMacAddress) (*ResourceRemovableMacAddress, error)
- func (c *Client) CreateRestrictedSoftware(restrictedSoftware *ResourceRestrictedSoftware) (*ResourceRestrictedSoftware, error)
- func (c *Client) CreateScript(script *ResourceScript) (*ResponseScriptCreate, error)
- func (c *Client) CreateSelfServiceBrandingMacOS(branding *ResourceSelfServiceBrandingDetail) (*ResourceSelfServiceBrandingDetail, error)
- func (c *Client) CreateSite(site *SharedResourceSite) (*SharedResourceSite, error)
- func (c *Client) CreateSoftwareUpdateServer(server *ResourceSoftwareUpdateServer) (*ResourceSoftwareUpdateServer, error)
- func (c *Client) CreateUser(newUser *ResourceUser) (*ResourceUser, error)
- func (c *Client) CreateUserExtensionAttribute(attribute *ResourceUserExtensionAttribute) (*ResourceUserExtensionAttribute, error)
- func (c *Client) CreateUserGroup(userGroup *ResourceUserGroup) (*ResourceUserGroup, error)
- func (c *Client) CreateVPPAccount(account *ResourceVPPAccount) (*ResourceVPPAccount, error)
- func (c *Client) CreateVPPAssignment(assignment *ResourceVPPAssignment) error
- func (c *Client) CreateVolumePurchasingLocation(request *ResourceVolumePurchasingLocation) (*ResponseVolumePurchasingLocationCreate, error)
- func (c *Client) CreateVolumePurchasingSubscription(subscription *ResourceVolumePurchasingSubscription) (*ResourceVolumePurchasingSubscription, error)
- func (c *Client) CreateWebhook(webhook *ResourceWebhook) (*ResourceWebhook, error)
- func (c *Client) DeleteAccountByID(id int) error
- func (c *Client) DeleteAccountByName(name string) error
- func (c *Client) DeleteAccountGroupByID(id int) error
- func (c *Client) DeleteAccountGroupByName(name string) error
- func (c *Client) DeleteAdvancedComputerSearchByID(id int) error
- func (c *Client) DeleteAdvancedComputerSearchByName(name string) error
- func (c *Client) DeleteAdvancedMobileDeviceSearchByID(id int) error
- func (c *Client) DeleteAdvancedMobileDeviceSearchByName(name string) error
- func (c *Client) DeleteAdvancedUserSearchByID(id int) error
- func (c *Client) DeleteAdvancedUserSearchByName(name string) error
- func (c *Client) DeleteAllowedFileExtensionByID(id int) error
- func (c *Client) DeleteAllowedFileExtensionByName(name string) error
- func (c *Client) DeleteApiIntegrationByID(id int) error
- func (c *Client) DeleteApiIntegrationByName(name string) error
- func (c *Client) DeleteAttachmentByIDAndComputerID(computerID, attachmentID string) error
- func (c *Client) DeleteBYOProfileByID(id int) error
- func (c *Client) DeleteBYOProfileByName(name string) error
- func (c *Client) DeleteBuildingByID(id string) error
- func (c *Client) DeleteBuildingByName(name string) error
- func (c *Client) DeleteCSATokenExchange() error
- func (c *Client) DeleteCategoryByID(id string) error
- func (c *Client) DeleteCategoryByName(name string) error
- func (c *Client) DeleteClassByID(id int) error
- func (c *Client) DeleteClassByName(name string) error
- func (c *Client) DeleteCloudIdentityProviderByID(id string) error
- func (c *Client) DeleteComputerByID(id int) error
- func (c *Client) DeleteComputerByName(name string) error
- func (c *Client) DeleteComputerExtensionAttributeByID(id int) error
- func (c *Client) DeleteComputerExtensionAttributeByNameByID(name string) error
- func (c *Client) DeleteComputerGroupByID(id int) error
- func (c *Client) DeleteComputerGroupByName(name string) error
- func (c *Client) DeleteComputerInventoryByID(id string) error
- func (c *Client) DeleteComputerInventoryCollectionSettingsCustomPathByID(id string) error
- func (c *Client) DeleteComputerInvitationByID(id int) error
- func (c *Client) DeleteComputerPrestageByID(id string) error
- func (c *Client) DeleteComputerPrestageByName(name string) error
- func (c *Client) DeleteDepartmentByID(id string) error
- func (c *Client) DeleteDepartmentByName(targetName string) error
- func (c *Client) DeleteDirectoryBindingByID(id int) error
- func (c *Client) DeleteDirectoryBindingByName(name string) error
- func (c *Client) DeleteDiskEncryptionConfigurationByID(id int) error
- func (c *Client) DeleteDiskEncryptionConfigurationByName(name string) error
- func (c *Client) DeleteDistributionPointByID(id int) error
- func (c *Client) DeleteDistributionPointByName(name string) error
- func (c *Client) DeleteDockItemByID(id int) error
- func (c *Client) DeleteDockItemByName(name string) error
- func (c *Client) DeleteEbookByID(id int) error
- func (c *Client) DeleteEbookByName(name string) error
- func (c *Client) DeleteEnrollmentCustomizationByID(id string) error
- func (c *Client) DeleteIBeaconByID(id int) error
- func (c *Client) DeleteIBeaconByName(name string) error
- func (c *Client) DeleteJamfApiRoleByID(id string) error
- func (c *Client) DeleteJamfApiRoleByName(name string) error
- func (c *Client) DeleteJamfProtectIntegration() error
- func (c *Client) DeleteLDAPServerByID(id int) error
- func (c *Client) DeleteLDAPServerByName(name string) error
- func (c *Client) DeleteLicensedSoftwareByID(id int) error
- func (c *Client) DeleteLicensedSoftwareByName(name string) error
- func (c *Client) DeleteMacApplicationByID(id int) error
- func (c *Client) DeleteMacApplicationByName(name string) error
- func (c *Client) DeleteMacOSConfigurationProfileByID(id int) error
- func (c *Client) DeleteMacOSConfigurationProfileByName(name string) error
- func (c *Client) DeleteMobileDeviceApplicationByBundleID(id string) error
- func (c *Client) DeleteMobileDeviceApplicationByBundleIDAndVersion(id string, version string) error
- func (c *Client) DeleteMobileDeviceApplicationByName(name string) error
- func (c *Client) DeleteMobileDeviceApplicationpByID(id int) error
- func (c *Client) DeleteMobileDeviceByID(id int) error
- func (c *Client) DeleteMobileDeviceByName(name string) error
- func (c *Client) DeleteMobileDeviceConfigurationProfileByID(id int) error
- func (c *Client) DeleteMobileDeviceConfigurationProfileByName(name string) error
- func (c *Client) DeleteMobileDeviceEnrollmentProfileByID(id int) error
- func (c *Client) DeleteMobileDeviceEnrollmentProfileByInvitation(invitation string) error
- func (c *Client) DeleteMobileDeviceEnrollmentProfileByName(name string) error
- func (c *Client) DeleteMobileDeviceGroupByID(id int) error
- func (c *Client) DeleteMobileDeviceGroupByName(name string) error
- func (c *Client) DeleteMobileDevicePrestageByID(id string) error
- func (c *Client) DeleteMobileDeviceProvisioningProfileByID(id int) error
- func (c *Client) DeleteMobileDeviceProvisioningProfileByName(name string) error
- func (c *Client) DeleteMobileDeviceProvisioningProfileByUUID(uuid string) error
- func (c *Client) DeleteMobileExtensionAttributeByID(id int) error
- func (c *Client) DeleteMobileExtensionAttributeByName(name string) error
- func (c *Client) DeleteMultipleBuildingsByID(ids []string) error
- func (c *Client) DeleteMultipleCategoriesByID(ids []string) error
- func (c *Client) DeleteNetworkSegmentByID(id int) error
- func (c *Client) DeleteNetworkSegmentByName(name string) error
- func (c *Client) DeletePatchPolicyByID(id int) error
- func (c *Client) DeletePatchSoftwareTitleConfigurationById(id string) error
- func (c *Client) DeletePolicyByID(id int) error
- func (c *Client) DeletePolicyByName(name string) error
- func (c *Client) DeletePrinterByID(id int) error
- func (c *Client) DeletePrinterByName(name string) error
- func (c *Client) DeleteRemovableMACAddressByID(id int) error
- func (c *Client) DeleteRemovableMACAddressByName(name string) error
- func (c *Client) DeleteRestrictedSoftwareByID(id int) error
- func (c *Client) DeleteRestrictedSoftwareByName(name string) error
- func (c *Client) DeleteScriptByID(id string) error
- func (c *Client) DeleteScriptByName(name string) error
- func (c *Client) DeleteSelfServiceBrandingMacOSByID(id string) error
- func (c *Client) DeleteSelfServiceBrandingMacOSByName(name string) error
- func (c *Client) DeleteSiteByID(id int) error
- func (c *Client) DeleteSiteByName(name string) error
- func (c *Client) DeleteSoftwareUpdateServerByID(id int) error
- func (c *Client) DeleteSoftwareUpdateServerByName(name string) error
- func (c *Client) DeleteUserByEmail(email string) error
- func (c *Client) DeleteUserByID(id int) error
- func (c *Client) DeleteUserByName(name string) error
- func (c *Client) DeleteUserExtensionAttributeByID(id int) error
- func (c *Client) DeleteUserExtensionAttributeByName(name string) error
- func (c *Client) DeleteUserGroupByID(id int) error
- func (c *Client) DeleteUserGroupByName(name string) error
- func (c *Client) DeleteVPPAccountByID(id int) error
- func (c *Client) DeleteVPPAssignmentByID(id int) error
- func (c *Client) DeleteVolumePurchasingLocationByID(id string) error
- func (c *Client) DeleteVolumePurchasingSubscriptionByID(id string) error
- func (c *Client) DeleteVolumePurchasingSubscriptionByName(name string) error
- func (c *Client) DeleteWebhookByID(id int) error
- func (c *Client) DeleteWebhookByName(name string) error
- func (c *Client) DoPaginatedGet(endpoint_root string, maxPageSize, startingPageNumber int, sort_filter string) (*StandardPaginatedResponse, error)
- func (c *Client) DownloadIcon(iconID int, savePath string, res string, scale string) error
- func (c *Client) GetADUESessionTokenSettings() (*ResourceADUETokenSettings, error)
- func (c *Client) GetAccountByID(id int) (*ResourceAccount, error)
- func (c *Client) GetAccountByName(name string) (*ResourceAccount, error)
- func (c *Client) GetAccountGroupByID(id int) (*ResourceAccountGroup, error)
- func (c *Client) GetAccountGroupByName(name string) (*ResourceAccountGroup, error)
- func (c *Client) GetAccountPreferences() (*ResourceAccountPreferences, error)
- func (c *Client) GetAccounts() (*ResponseAccountsList, error)
- func (c *Client) GetActivationCode() (*ResourceActivationCode, error)
- func (c *Client) GetActiveCertificateAuthority() (*ResponseActiveCertificateAuthority, error)
- func (c *Client) GetAdvancedComputerSearchByID(id int) (*ResourceAdvancedComputerSearch, error)
- func (c *Client) GetAdvancedComputerSearchByName(name string) (*ResourceAdvancedComputerSearch, error)
- func (c *Client) GetAdvancedComputerSearches() (*ResponseAdvancedComputerSearchesList, error)
- func (c *Client) GetAdvancedMobileDeviceSearchByID(id int) (*ResourceAdvancedMobileDeviceSearch, error)
- func (c *Client) GetAdvancedMobileDeviceSearchByName(name string) (*ResourceAdvancedMobileDeviceSearch, error)
- func (c *Client) GetAdvancedMobileDeviceSearches() (*ResponseAdvancedMobileDeviceSearchesList, error)
- func (c *Client) GetAdvancedUserSearchByID(id int) (*ResourceAdvancedUserSearch, error)
- func (c *Client) GetAdvancedUserSearchByName(name string) (*ResourceAdvancedUserSearch, error)
- func (c *Client) GetAdvancedUserSearches() (*ResponseAdvancedUserSearchesList, error)
- func (c *Client) GetAllowedFileExtensionByID(id int) (*ResourceAllowedFileExtension, error)
- func (c *Client) GetAllowedFileExtensionByName(name string) (*ResourceAllowedFileExtension, error)
- func (c *Client) GetAllowedFileExtensions() (*ResponseAllowedFileExtensionsList, error)
- func (c *Client) GetApiIntegrationByID(id int) (*ResourceApiIntegration, error)
- func (c *Client) GetApiIntegrationByName(name string) (*ResourceApiIntegration, error)
- func (c *Client) GetApiIntegrations(sort_filter string) (*ResponseApiIntegrationsList, error)
- func (c *Client) GetBYOProfileByID(id int) (*ResourceBYOProfile, error)
- func (c *Client) GetBYOProfileByName(name string) (*ResourceBYOProfile, error)
- func (c *Client) GetBYOProfiles() (*ResponseBYOProfilesList, error)
- func (c *Client) GetBuildingByID(id string) (*ResourceBuilding, error)
- func (c *Client) GetBuildingByName(name string) (*ResourceBuilding, error)
- func (c *Client) GetBuildingResourceHistoryByID(id, sort_filter string) (*ResponseBuildingResourceHistoryList, error)
- func (c *Client) GetBuildings(sort_filter string) (*ResponseBuildingsList, error)
- func (c *Client) GetCSATokenExchangeInfo() (*ResourceCSATokenExchange, error)
- func (c *Client) GetCacheSettings() (*ResourceCacheSettings, error)
- func (c *Client) GetCategories(sort_filter string) (*ResponseCategoriesList, error)
- func (c *Client) GetCategoryByID(id string) (*ResourceCategory, error)
- func (c *Client) GetCategoryByName(name string) (*ResourceCategory, error)
- func (c *Client) GetClassByID(id int) (*ResourceClass, error)
- func (c *Client) GetClassByName(name string) (*ResourceClass, error)
- func (c *Client) GetClasses() (*ResponseClassesList, error)
- func (c *Client) GetClientCheckinSettings() (*ResourceClientCheckinSettings, error)
- func (c *Client) GetCloudDistributionPointUploadCapability() (*ResourceCloudDistributionPointUploadCapability, error)
- func (c *Client) GetCloudIdentityProviderByID(id string) (*ResourceCloudIdp, error)
- func (c *Client) GetCloudIdentityProviderDefaultServerMappings() (*CloudIdpServerSubsetCloudIdpServerMappings, error)
- func (c *Client) GetComputerByID(id int) (*ResponseComputer, error)
- func (c *Client) GetComputerByName(name string) (*ResponseComputer, error)
- func (c *Client) GetComputerCheckinInformation() (*ResourceComputerCheckin, error)
- func (c *Client) GetComputerExtensionAttributeByID(id int) (*ResourceComputerExtensionAttribute, error)
- func (c *Client) GetComputerExtensionAttributeByName(name string) (*ResourceComputerExtensionAttribute, error)
- func (c *Client) GetComputerExtensionAttributes() (*ResponseComputerExtensionAttributesList, error)
- func (c *Client) GetComputerFileVaultInventoryByID(id string) (*FileVaultInventory, error)
- func (c *Client) GetComputerGroupByID(id int) (*ResourceComputerGroup, error)
- func (c *Client) GetComputerGroupByName(name string) (*ResourceComputerGroup, error)
- func (c *Client) GetComputerGroups() (*ResponseComputerGroupsList, error)
- func (c *Client) GetComputerInventoryByID(id string) (*ResourceComputerInventory, error)
- func (c *Client) GetComputerInventoryByName(name string) (*ResourceComputerInventory, error)
- func (c *Client) GetComputerInventoryCollectionSettings() (*ResourceComputerInventoryCollectionSettings, error)
- func (c *Client) GetComputerInvitationByID(id int) (*ResourceComputerInvitation, error)
- func (c *Client) GetComputerInvitationByInvitationID(id int) (*ResourceComputerInvitation, error)
- func (c *Client) GetComputerInvitations() (*ResponseComputerInvitationsList, error)
- func (c *Client) GetComputerPrestageByID(id string) (*ResourceComputerPrestage, error)
- func (c *Client) GetComputerPrestageByName(name string) (*ResourceComputerPrestage, error)
- func (c *Client) GetComputerPrestages(sort_filter string) (*ResponseComputerPrestagesList, error)
- func (c *Client) GetComputerRecoveryLockPasswordByID(id string) (*ResponseRecoveryLockPassword, error)
- func (c *Client) GetComputers() (*ResponseComputersList, error)
- func (c *Client) GetComputersFileVaultInventory(sort_filter string) (*FileVaultInventoryList, error)
- func (c *Client) GetComputersInventory(sort_filter string) (*ResponseComputerInventoryList, error)
- func (c *Client) GetConditionalAccessDeviceComplianceFeatureEnablement() (*ResourceConditionalAccessDeviceComplianceStatus, error)
- func (c *Client) GetDefaultCloudIdentityProvider() (*ResourceCloudIdpServer, error)
- func (c *Client) GetDefaultCloudIdentityProviderDefaultMappings(providerName string) (*ResponseCloudIdentityProviderDefaultMappings, error)
- func (c *Client) GetDepartmentByID(id string) (*ResourceDepartment, error)
- func (c *Client) GetDepartmentByName(name string) (*ResourceDepartment, error)
- func (c *Client) GetDepartments(sort_filter string) (*ResponseDepartmentsList, error)
- func (c *Client) GetDeviceCommunicationSettings() (*ResourceDeviceCommunicationSettings, error)
- func (c *Client) GetDeviceEnrollments(sort_filter string) (*ResponseDeviceEnrollmentsList, error)
- func (c *Client) GetDeviceScopeForComputerPrestageByID(id string) (*ResponseDeviceScope, error)
- func (c *Client) GetDirectoryBindingByID(id int) (*ResponseDirectoryBinding, error)
- func (c *Client) GetDirectoryBindingByName(name string) (*ResponseDirectoryBinding, error)
- func (c *Client) GetDirectoryBindings() (*ResponseDirectoryBindingsList, error)
- func (c *Client) GetDiskEncryptionConfigurationByID(id int) (*ResourceDiskEncryptionConfiguration, error)
- func (c *Client) GetDiskEncryptionConfigurationByName(name string) (*ResourceDiskEncryptionConfiguration, error)
- func (c *Client) GetDiskEncryptionConfigurations() (*ResponseDiskEncryptionConfigurationsList, error)
- func (c *Client) GetDistributionPointByID(id int) (*ResourceFileShareDistributionPoint, error)
- func (c *Client) GetDistributionPointByName(name string) (*ResourceFileShareDistributionPoint, error)
- func (c *Client) GetDistributionPoints() (*ResponseDistributionPointsList, error)
- func (c *Client) GetDockItemByID(id int) (*ResourceDockItem, error)
- func (c *Client) GetDockItemByName(name string) (*ResourceDockItem, error)
- func (c *Client) GetDockItems() (*ResponseDockItemsList, error)
- func (c *Client) GetEbookByID(id int) (*ResourceEbooks, error)
- func (c *Client) GetEbookByName(name string) (*ResourceEbooks, error)
- func (c *Client) GetEbookByNameAndDataSubset(name, subset string) (*ResourceEbooks, error)
- func (c *Client) GetEbooks() (*ResponseEbooksList, error)
- func (c *Client) GetEnrollmentCustomizationByID(id string) (*ResourceEnrollmentCustomization, error)
- func (c *Client) GetEnrollmentCustomizations(sort_filter string) (*ResponseEnrollmentCustomizationList, error)
- func (c *Client) GetGSXConnectionInformation() (*ResourceGSXConnection, error)
- func (c *Client) GetIBeaconByID(id int) (*ResourceIBeacons, error)
- func (c *Client) GetIBeaconByName(name string) (*ResourceIBeacons, error)
- func (c *Client) GetIBeacons() (*ResponseIBeaconsList, error)
- func (c *Client) GetJCDS2Files() (*ResponseJCDS2List, error)
- func (c *Client) GetJamfAPIPrivileges() (*ResourceApiRolePrivilegesList, error)
- func (c *Client) GetJamfAPIPrivilegesByName(name string, limit int) (*ResourceApiRolePrivilegesList, error)
- func (c *Client) GetJamfAPIRoles(sort_filter string) (*ResponseApiRolesList, error)
- func (c *Client) GetJamfApiRoleByID(id string) (*ResourceAPIRole, error)
- func (c *Client) GetJamfApiRoleByName(name string) (*ResourceAPIRole, error)
- func (c *Client) GetJamfProInformation() (*ResponseJamfProInformation, error)
- func (c *Client) GetJamfProServerUrlSettings() (*ResourceJamfProServerURL, error)
- func (c *Client) GetJamfProVersion() (*ResponseJamfProVersion, error)
- func (c *Client) GetJamfProtectIntegrationSettings() (*ResourceJamfProtectIntegrationSettings, error)
- func (c *Client) GetLDAPServerByID(id int) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServerByIDAndGroupDataSubset(id int, group string) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServerByIDAndUserDataSubset(id int, user string) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServerByIDAndUserMembershipInGroupDataSubset(id int, group, user string) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServerByName(name string) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServerByNameAndGroupDataSubset(name, group string) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServerByNameAndUserDataSubset(name, user string) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServerByNameAndUserMembershipInGroupDataSubset(name, group, user string) (*ResourceLDAPServers, error)
- func (c *Client) GetLDAPServers() (*ResponseLDAPServersList, error)
- func (c *Client) GetLicensedSoftware() (*ResponseLicensedSoftwareList, error)
- func (c *Client) GetLicensedSoftwareByID(id int) (*ResourceLicensedSoftware, error)
- func (c *Client) GetLicensedSoftwareByName(name string) (*ResourceLicensedSoftware, error)
- func (c *Client) GetMacApplicationByID(id int) (*ResourceMacApplications, error)
- func (c *Client) GetMacApplicationByIDAndDataSubset(id int, subset string) (*ResourceMacApplications, error)
- func (c *Client) GetMacApplicationByName(name string) (*ResourceMacApplications, error)
- func (c *Client) GetMacApplicationByNameAndDataSubset(name, subset string) (*ResourceMacApplications, error)
- func (c *Client) GetMacApplications() (*ResponseMacApplicationsList, error)
- func (c *Client) GetMacOSConfigurationProfileByID(id int) (*ResourceMacOSConfigurationProfile, error)
- func (c *Client) GetMacOSConfigurationProfileByName(name string) (*ResourceMacOSConfigurationProfile, error)
- func (c *Client) GetMacOSConfigurationProfileByNameByID(name string) (*ResourceMacOSConfigurationProfile, error)
- func (c *Client) GetMacOSConfigurationProfiles() (*ResponseMacOSConfigurationProfileList, error)
- func (c *Client) GetMobileDeviceApplicationByAppBundleID(id string) (*ResourceMobileDeviceApplication, error)
- func (c *Client) GetMobileDeviceApplicationByAppBundleIDAndVersion(id string, version string) (*ResourceMobileDeviceApplication, error)
- func (c *Client) GetMobileDeviceApplicationByID(id int) (*ResourceMobileDeviceApplication, error)
- func (c *Client) GetMobileDeviceApplicationByIDAndDataSubset(id int, subset string) (*ResourceMobileDeviceApplication, error)
- func (c *Client) GetMobileDeviceApplicationByName(name string) (*ResourceMobileDeviceApplication, error)
- func (c *Client) GetMobileDeviceApplicationByNameAndDataSubset(name string, subset string) (*ResourceMobileDeviceApplication, error)
- func (c *Client) GetMobileDeviceApplications() (*ResponseMobileDeviceApplicationsList, error)
- func (c *Client) GetMobileDeviceByID(id int) (*ResourceMobileDevice, error)
- func (c *Client) GetMobileDeviceByIDAndDataSubset(id int, subset string) (*ResourceMobileDevice, error)
- func (c *Client) GetMobileDeviceByName(name string) (*ResourceMobileDevice, error)
- func (c *Client) GetMobileDeviceByNameAndDataSubset(name, subset string) (*ResourceMobileDevice, error)
- func (c *Client) GetMobileDeviceConfigurationProfileByID(id int) (*ResourceMobileDeviceConfigurationProfile, error)
- func (c *Client) GetMobileDeviceConfigurationProfileByIDWithSubset(id int, subset string) (*ResourceMobileDeviceConfigurationProfile, error)
- func (c *Client) GetMobileDeviceConfigurationProfileByName(name string) (*ResourceMobileDeviceConfigurationProfile, error)
- func (c *Client) GetMobileDeviceConfigurationProfileByNameWithSubset(name string, subset string) (*ResourceMobileDeviceConfigurationProfile, error)
- func (c *Client) GetMobileDeviceConfigurationProfiles() (*ResponseMobileDeviceConfigurationProfilesList, error)
- func (c *Client) GetMobileDeviceEnrollmentProfileByID(id int) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) GetMobileDeviceEnrollmentProfileByIDWithSubset(id int, subset string) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) GetMobileDeviceEnrollmentProfileByName(name string) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) GetMobileDeviceEnrollmentProfileByNameWithSubset(name string, subset string) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) GetMobileDeviceEnrollmentProfiles() (*ResponseMobileDeviceEnrollmentProfilesList, error)
- func (c *Client) GetMobileDeviceGroupByID(id int) (*ResourceMobileDeviceGroup, error)
- func (c *Client) GetMobileDeviceGroupByName(name string) (*ResourceMobileDeviceGroup, error)
- func (c *Client) GetMobileDeviceGroups() (*ResponseMobileDeviceGroupsList, error)
- func (c *Client) GetMobileDevicePrestageByID(id string) (*ResourceMobileDevicePrestage, error)
- func (c *Client) GetMobileDevicePrestages(sort_filter string) (*ResponseMobileDevicePrestagesList, error)
- func (c *Client) GetMobileDeviceProvisioningProfileByID(id int) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) GetMobileDeviceProvisioningProfileByName(name string) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) GetMobileDeviceProvisioningProfileByUUID(uuid string) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) GetMobileDeviceProvisioningProfiles() (*ResponseMobileDeviceProvisioningProfilesList, error)
- func (c *Client) GetMobileDevices() (*ResponseMobileDeviceList, error)
- func (c *Client) GetMobileExtensionAttributeByID(id int) (*ResourceMobileExtensionAttribute, error)
- func (c *Client) GetMobileExtensionAttributeByName(name string) (*ResourceMobileExtensionAttribute, error)
- func (c *Client) GetMobileExtensionAttributes() (*ResponseMobileDeviceExtensionAttributesList, error)
- func (c *Client) GetNetworkSegmentByID(id int) (*ResourceNetworkSegment, error)
- func (c *Client) GetNetworkSegmentByName(name string) (*ResourceNetworkSegment, error)
- func (c *Client) GetNetworkSegments() (*ResponseNetworkSegmentList, error)
- func (c *Client) GetPackageInfoByApplicationV1(application string) (*ResponsePackageListV1, error)
- func (c *Client) GetPackageInfoByApplicationV2(application string) (*ResponsePackageV2, error)
- func (c *Client) GetPatchPoliciesByID(id int) (*ResourcePatchPolicies, error)
- func (c *Client) GetPatchPolicyByIDAndDataSubset(id int, subset string) (*ResourcePatchPolicies, error)
- func (c *Client) GetPatchSoftwareTitleConfigurationById(id string) (*ResourcePatchSoftwareTitleConfiguration, error)
- func (c *Client) GetPatchSoftwareTitleConfigurationByName(name string) (*ResourcePatchSoftwareTitleConfiguration, error)
- func (c *Client) GetPatchSoftwareTitleConfigurations() (*ResponsePatchSoftwareTitleConfigurationList, error)
- func (c *Client) GetPolicies() (*ResponsePoliciesList, error)
- func (c *Client) GetPoliciesByType(createdBy string) (*ResponsePoliciesList, error)
- func (c *Client) GetPolicyByCategory(category string) (*ResponsePoliciesList, error)
- func (c *Client) GetPolicyByID(id int) (*ResourcePolicy, error)
- func (c *Client) GetPolicyByName(name string) (*ResourcePolicy, error)
- func (c *Client) GetPrinterByID(id int) (*ResourcePrinter, error)
- func (c *Client) GetPrinterByName(name string) (*ResourcePrinter, error)
- func (c *Client) GetPrinters() (*ResponsePrintersList, error)
- func (c *Client) GetProfileByInvitation(invitation string) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) GetRemovableMACAddressByID(id int) (*ResourceRemovableMacAddress, error)
- func (c *Client) GetRemovableMACAddressByName(name string) (*ResourceRemovableMacAddress, error)
- func (c *Client) GetRemovableMACAddresses() (*ResponseRemovableMacAddressesList, error)
- func (c *Client) GetRestrictedSoftwareByID(id int) (*ResourceRestrictedSoftware, error)
- func (c *Client) GetRestrictedSoftwareByName(name string) (*ResourceRestrictedSoftware, error)
- func (c *Client) GetRestrictedSoftwares() (*ResponseRestrictedSoftwaresList, error)
- func (c *Client) GetSMTPServerInformation() (*ResourceSMTPServer, error)
- func (c *Client) GetSSOFailoverSettings() (*ResponseSSOFailover, error)
- func (c *Client) GetScriptByID(id string) (*ResourceScript, error)
- func (c *Client) GetScriptByName(name string) (*ResourceScript, error)
- func (c *Client) GetScripts(sort_filter string) (*ResponseScriptsList, error)
- func (c *Client) GetSelfServiceBrandingMacOS(sort_filter string) (*ResponseSelfServiceBrandingList, error)
- func (c *Client) GetSelfServiceBrandingMacOSByID(id string) (*ResourceSelfServiceBrandingDetail, error)
- func (c *Client) GetSelfServiceBrandingMacOSByName(name string) (*ResourceSelfServiceBrandingDetail, error)
- func (c *Client) GetSiteByID(id int) (*SharedResourceSite, error)
- func (c *Client) GetSiteByName(name string) (*SharedResourceSite, error)
- func (c *Client) GetSites() (*ResponseSitesList, error)
- func (c *Client) GetSoftwareUpdateServerByID(id int) (*ResourceSoftwareUpdateServer, error)
- func (c *Client) GetSoftwareUpdateServerByName(name string) (*ResourceSoftwareUpdateServer, error)
- func (c *Client) GetSoftwareUpdateServers() (*ResponseSoftwareUpdateServersList, error)
- func (c *Client) GetSsoEnrollmentCustomizationDependencies() (*ResponseSsoSubsetEnrollmentCustomizationDependencyList, error)
- func (c *Client) GetSsoSettings() (*ResourceSsoSettings, error)
- func (c *Client) GetUserByEmail(email string) (*ResourceUser, error)
- func (c *Client) GetUserByID(id int) (*ResourceUser, error)
- func (c *Client) GetUserByName(name string) (*ResourceUser, error)
- func (c *Client) GetUserExtensionAttributeByID(id int) (*ResourceUserExtensionAttribute, error)
- func (c *Client) GetUserExtensionAttributeByName(name string) (*ResourceUserExtensionAttribute, error)
- func (c *Client) GetUserExtensionAttributes() (*ResponseUserExtensionAttributesList, error)
- func (c *Client) GetUserGroupByID(id int) (*ResourceUserGroup, error)
- func (c *Client) GetUserGroupByName(name string) (*ResourceUserGroup, error)
- func (c *Client) GetUserGroups() (*ResponseUserGroupsList, error)
- func (c *Client) GetUsers() (*ResponseUsersList, error)
- func (c *Client) GetVPPAccountByID(id int) (*ResourceVPPAccount, error)
- func (c *Client) GetVPPAccounts() (*ResponseVPPAccountsList, error)
- func (c *Client) GetVPPAssignmentByID(id int) (*ResourceVPPAssignment, error)
- func (c *Client) GetVPPAssignments() (*ResponseVPPAssignmentsList, error)
- func (c *Client) GetVolumePurchaseLocations(sort_filter string) (*ResponseVolumePurchasingList, error)
- func (c *Client) GetVolumePurchasingContentForLocationByID(id string, sort []string, filter string) (*ResponseVolumePurchasingContentList, error)
- func (c *Client) GetVolumePurchasingLocationByID(id string) (*ResourceVolumePurchasingLocation, error)
- func (c *Client) GetVolumePurchasingSubscriptionByID(id string) (*ResourceVolumePurchasingSubscription, error)
- func (c *Client) GetVolumePurchasingSubscriptionByName(name string) (*ResourceVolumePurchasingSubscription, error)
- func (c *Client) GetVolumePurchasingSubscriptions(sort_filter string) (*ResponseVolumePurchasingSubscriptionsList, error)
- func (c *Client) GetWebhookByID(id int) (*ResourceWebhook, error)
- func (c *Client) GetWebhookByName(name string) (*ResourceWebhook, error)
- func (c *Client) GetWebhooks() (*ResponseWebhooksList, error)
- func (c *Client) InitializeCSATokenExchange(username, password string) (*ResourceCSATokenExchange, error)
- func (c *Client) RefreshCSATokenExchange(username, password string) (*ResourceCSATokenExchange, error)
- func (c *Client) RefreshClientCredentialsByApiRoleID(id string) (*ResourceClientCredentials, error)
- func (c *Client) UpdateADUESessionTokenSettings(updatedSettings ResourceADUETokenSettings) (*ResourceADUETokenSettings, error)
- func (c *Client) UpdateAccountByID(id int, account *ResourceAccount) (*ResponseAccountCreatedAndUpdated, error)
- func (c *Client) UpdateAccountByName(name string, account *ResourceAccount) (*ResponseAccountCreatedAndUpdated, error)
- func (c *Client) UpdateAccountGroupByID(id int, accountGroup *ResourceAccountGroup) (*ResourceAccountGroup, error)
- func (c *Client) UpdateAccountGroupByName(name string, accountGroup *ResourceAccountGroup) (*ResourceAccountGroup, error)
- func (c *Client) UpdateAccountPreferences(updatedSettings ResourceAccountPreferences) (*ResourceAccountPreferences, error)
- func (c *Client) UpdateActivationCode(organizationName, code string) error
- func (c *Client) UpdateAdvancedComputerSearchByID(id int, search *ResourceAdvancedComputerSearch) (*ResponseAdvancedComputerSearchCreatedAndUpdated, error)
- func (c *Client) UpdateAdvancedComputerSearchByName(name string, search *ResourceAdvancedComputerSearch) (*ResponseAdvancedComputerSearchCreatedAndUpdated, error)
- func (c *Client) UpdateAdvancedMobileDeviceSearchByID(id int, search *ResourceAdvancedMobileDeviceSearch) (*ResponseAdvancedMobileDeviceSearchCreatedAndUpdated, error)
- func (c *Client) UpdateAdvancedMobileDeviceSearchByName(name string, search *ResourceAdvancedMobileDeviceSearch) (*ResponseAdvancedMobileDeviceSearchCreatedAndUpdated, error)
- func (c *Client) UpdateAdvancedUserSearchByID(id int, search *ResourceAdvancedUserSearch) (*ResourceAdvancedUserSearchCreatedAndUpdated, error)
- func (c *Client) UpdateAdvancedUserSearchByName(name string, search *ResourceAdvancedUserSearch) (*ResourceAdvancedUserSearchCreatedAndUpdated, error)
- func (c *Client) UpdateApiIntegrationByID(id int, integrationUpdate *ResourceApiIntegration) (*ResourceApiIntegration, error)
- func (c *Client) UpdateApiIntegrationByName(name string, integrationUpdate *ResourceApiIntegration) (*ResourceApiIntegration, error)
- func (c *Client) UpdateBYOProfileByID(id int, profile *ResourceBYOProfile) (*ResponceBYOProfileCreatedAndUpdated, error)
- func (c *Client) UpdateBYOProfileByName(name string, profile *ResourceBYOProfile) (*ResponceBYOProfileCreatedAndUpdated, error)
- func (c *Client) UpdateBuildingByID(id string, buildingUpdate *ResourceBuilding) (*ResourceBuilding, error)
- func (c *Client) UpdateBuildingByName(name string, buildingUpdate *ResourceBuilding) (*ResourceBuilding, error)
- func (c *Client) UpdateCacheSettings(cacheSettingsUpdate *ResourceCacheSettings) (*ResourceCacheSettings, error)
- func (c *Client) UpdateCategoryByID(id string, categoryUpdate *ResourceCategory) (*ResourceCategory, error)
- func (c *Client) UpdateCategoryByName(name string, categoryUpdate *ResourceCategory) (*ResourceCategory, error)
- func (c *Client) UpdateClassByID(id int, class *ResourceClass) error
- func (c *Client) UpdateClassByName(name string, class *ResourceClass) error
- func (c *Client) UpdateClientCheckinSettings(settingsUpdate ResourceClientCheckinSettings) (*ResourceClientCheckinSettings, error)
- func (c *Client) UpdateCloudIdentityProviderByID(id string, cloudIdPUpdate *ResourceCloudIdp) (*ResourceCloudIdp, error)
- func (c *Client) UpdateComputerByID(id int, computer ResponseComputer) (*ResponseComputer, error)
- func (c *Client) UpdateComputerByName(name string, computer ResponseComputer) (*ResponseComputer, error)
- func (c *Client) UpdateComputerCheckinInformation(settings *ResourceComputerCheckin) error
- func (c *Client) UpdateComputerExtensionAttributeByID(id int, attribute *ResourceComputerExtensionAttribute) (*ResourceComputerExtensionAttribute, error)
- func (c *Client) UpdateComputerExtensionAttributeByName(name string, attribute *ResourceComputerExtensionAttribute) (*ResourceComputerExtensionAttribute, error)
- func (c *Client) UpdateComputerGroupByID(id int, group *ResourceComputerGroup) (*ResourceComputerGroup, error)
- func (c *Client) UpdateComputerGroupByName(name string, group *ResourceComputerGroup) (*ResourceComputerGroup, error)
- func (c *Client) UpdateComputerInventoryByID(id string, inventoryUpdate *ResourceComputerInventory) (*ResourceComputerInventory, error)
- func (c *Client) UpdateComputerInventoryCollectionSettings(settingsUpdate *ResourceComputerInventoryCollectionSettings) (*ResourceComputerInventoryCollectionSettings, error)
- func (c *Client) UpdateComputerPrestageByID(id string, prestageUpdate *ResourceComputerPrestage) (*ResourceComputerPrestage, error)
- func (c *Client) UpdateComputerPrestageByName(name string, prestageUpdate *ResourceComputerPrestage) (*ResourceComputerPrestage, error)
- func (c *Client) UpdateDepartmentByID(id string, departmentUpdate *ResourceDepartment) (*ResourceDepartment, error)
- func (c *Client) UpdateDepartmentByName(targetName string, departmentUpdate *ResourceDepartment) (*ResourceDepartment, error)
- func (c *Client) UpdateDeviceCommunicationSettings(updatedSettings ResourceDeviceCommunicationSettings) (*ResourceDeviceCommunicationSettings, error)
- func (c *Client) UpdateDirectoryBindingByID(id int, binding *ResponseDirectoryBinding) (*ResponseDirectoryBinding, error)
- func (c *Client) UpdateDirectoryBindingByName(name string, binding *ResponseDirectoryBinding) (*ResponseDirectoryBinding, error)
- func (c *Client) UpdateDiskEncryptionConfigurationByID(id int, config *ResourceDiskEncryptionConfiguration) (*ResponseDiskEncryptionConfigurationCreatedAndUpdated, error)
- func (c *Client) UpdateDiskEncryptionConfigurationByName(name string, config *ResourceDiskEncryptionConfiguration) (*ResourceDiskEncryptionConfiguration, error)
- func (c *Client) UpdateDistributionPointByID(id int, dp *ResourceFileShareDistributionPoint) (*ResourceFileShareDistributionPoint, error)
- func (c *Client) UpdateDistributionPointByName(name string, dp *ResourceFileShareDistributionPoint) (*ResourceFileShareDistributionPoint, error)
- func (c *Client) UpdateDockItemByID(id int, dockItem *ResourceDockItem) (*ResourceDockItem, error)
- func (c *Client) UpdateDockItemByName(name string, dockItem *ResourceDockItem) (*ResourceDockItem, error)
- func (c *Client) UpdateEbookByID(id int, ebook ResourceEbooks) (*ResourceEbooks, error)
- func (c *Client) UpdateEbookByName(name string, ebook ResourceEbooks) (*ResourceEbooks, error)
- func (c *Client) UpdateEnrollmentCustomizationByID(id string, updatedCustomization ResourceEnrollmentCustomization) (*ResourceEnrollmentCustomization, error)
- func (c *Client) UpdateFailoverUrl() (*ResponseSSOFailover, error)
- func (c *Client) UpdateGSXConnectionInformation(settings *ResourceGSXConnection) error
- func (c *Client) UpdateIBeaconByID(id int, beacon *ResourceIBeacons) (*ResourceIBeacons, error)
- func (c *Client) UpdateIBeaconByName(name string, beacon *ResourceIBeacons) (*ResourceIBeacons, error)
- func (c *Client) UpdateJamfApiRoleByID(id string, roleUpdate *ResourceAPIRole) (*ResourceAPIRole, error)
- func (c *Client) UpdateJamfApiRoleByName(name string, roleUpdate *ResourceAPIRole) (*ResourceAPIRole, error)
- func (c *Client) UpdateJamfProServerUrlSettings(updatedSettings ResourceJamfProServerURL) (*ResourceJamfProServerURL, error)
- func (c *Client) UpdateJamfProtectIntegrationSettings(updatedSettings ResourceJamfProtectIntegrationSettings) (*ResourceJamfProtectIntegrationSettings, error)
- func (c *Client) UpdateLDAPServerByID(id int, ldapServer *ResourceLDAPServers) (*ResourceLDAPServers, error)
- func (c *Client) UpdateLDAPServerByName(name string, ldapServer *ResourceLDAPServers) (*ResourceLDAPServers, error)
- func (c *Client) UpdateLicensedSoftwareByID(id int, licensedSoftware *ResourceLicensedSoftware) (*ResourceLicensedSoftware, error)
- func (c *Client) UpdateLicensedSoftwareByName(name string, licensedSoftware *ResourceLicensedSoftware) (*ResourceLicensedSoftware, error)
- func (c *Client) UpdateMacApplicationByID(id int, macApp ResourceMacApplications) (*ResourceMacApplications, error)
- func (c *Client) UpdateMacApplicationByName(name string, macApp ResourceMacApplications) (*ResourceMacApplications, error)
- func (c *Client) UpdateMacOSConfigurationProfileByID(id int, profile *ResourceMacOSConfigurationProfile) (int, error)
- func (c *Client) UpdateMacOSConfigurationProfileByName(name string, profile *ResourceMacOSConfigurationProfile) (int, error)
- func (c *Client) UpdateMobileDeviceApplicationByApplicationBundleID(id string, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
- func (c *Client) UpdateMobileDeviceApplicationByID(id int, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
- func (c *Client) UpdateMobileDeviceApplicationByIDAndAppVersion(id int, version string, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
- func (c *Client) UpdateMobileDeviceApplicationByName(name string, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
- func (c *Client) UpdateMobileDeviceByID(id int, attribute *ResourceMobileDevice) (*ResourceMobileDevice, error)
- func (c *Client) UpdateMobileDeviceByName(name string, attribute *ResourceMobileDevice) (*ResourceMobileDevice, error)
- func (c *Client) UpdateMobileDeviceConfigurationProfileByID(id int, profile *ResourceMobileDeviceConfigurationProfile) (*ResourceMobileDeviceConfigurationProfile, error)
- func (c *Client) UpdateMobileDeviceConfigurationProfileByName(name string, profile *ResourceMobileDeviceConfigurationProfile) (*ResourceMobileDeviceConfigurationProfile, error)
- func (c *Client) UpdateMobileDeviceEnrollmentProfileByID(id int, profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) UpdateMobileDeviceEnrollmentProfileByInvitation(invitation string, profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) UpdateMobileDeviceEnrollmentProfileByName(name string, profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
- func (c *Client) UpdateMobileDeviceGroupByID(id int, group *ResourceMobileDeviceGroup) (*ResourceMobileDeviceGroup, error)
- func (c *Client) UpdateMobileDeviceGroupByName(name string, group *ResourceMobileDeviceGroup) (*ResourceMobileDeviceGroup, error)
- func (c *Client) UpdateMobileDeviceProvisioningProfileByID(id int, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) UpdateMobileDeviceProvisioningProfileByName(name string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) UpdateMobileDeviceProvisioningProfileByUUID(uuid string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
- func (c *Client) UpdateMobileExtensionAttributeByID(id int, attribute *ResourceMobileExtensionAttribute) (*ResourceMobileExtensionAttribute, error)
- func (c *Client) UpdateMobileExtensionAttributeByName(name string, attribute *ResourceMobileExtensionAttribute) (*ResourceMobileExtensionAttribute, error)
- func (c *Client) UpdateNetworkSegmentByID(id int, segment *ResourceNetworkSegment) (*ResourceNetworkSegment, error)
- func (c *Client) UpdateNetworkSegmentByName(name string, segment *ResourceNetworkSegment) (*ResourceNetworkSegment, error)
- func (c *Client) UpdatePatchPolicy(policy *ResourcePatchPolicies, softwareTitleConfigID int) (*ResourcePatchPolicies, error)
- func (c *Client) UpdatePatchSoftwareTitleConfigurationById(id string, updatedConfiguration ResourcePatchSoftwareTitleConfiguration) (*ResponsePatchSoftwareTitleConfigurationCreate, error)
- func (c *Client) UpdatePolicyByID(id int, policy *ResourcePolicy) (*ResourcePolicyCreateAndUpdate, error)
- func (c *Client) UpdatePolicyByName(name string, policy *ResourcePolicy) (*ResourcePolicyCreateAndUpdate, error)
- func (c *Client) UpdatePrinterByID(id int, printer *ResourcePrinter) (*ResponsePrinterCreateAndUpdate, error)
- func (c *Client) UpdatePrinterByName(name string, printer *ResourcePrinter) (*ResponsePrinterCreateAndUpdate, error)
- func (c *Client) UpdateRemovableMACAddressByID(id int, macAddress *ResourceRemovableMacAddress) (*ResourceRemovableMacAddress, error)
- func (c *Client) UpdateRemovableMACAddressByName(name string, macAddress *ResourceRemovableMacAddress) (*ResourceRemovableMacAddress, error)
- func (c *Client) UpdateRestrictedSoftwareByID(id int, restrictedSoftware *ResourceRestrictedSoftware) error
- func (c *Client) UpdateRestrictedSoftwareByName(name string, restrictedSoftware *ResourceRestrictedSoftware) error
- func (c *Client) UpdateSMTPServerInformation(settings *ResourceSMTPServer) error
- func (c *Client) UpdateScriptByID(id string, scriptUpdate *ResourceScript) (*ResourceScript, error)
- func (c *Client) UpdateScriptByName(name string, scriptUpdate *ResourceScript) (*ResourceScript, error)
- func (c *Client) UpdateSelfServiceBrandingMacOSByID(id string, brandingUpdate *ResourceSelfServiceBrandingDetail) (*ResourceSelfServiceBrandingDetail, error)
- func (c *Client) UpdateSelfServiceBrandingMacOSByName(name string, brandingUpdate *ResourceSelfServiceBrandingDetail) (*ResourceSelfServiceBrandingDetail, error)
- func (c *Client) UpdateSiteByID(id int, site *SharedResourceSite) (*SharedResourceSite, error)
- func (c *Client) UpdateSiteByName(name string, site *SharedResourceSite) (*SharedResourceSite, error)
- func (c *Client) UpdateSoftwareUpdateServerByID(id int, server *ResourceSoftwareUpdateServer) (*ResourceSoftwareUpdateServer, error)
- func (c *Client) UpdateSoftwareUpdateServerByName(name string, server *ResourceSoftwareUpdateServer) (*ResourceSoftwareUpdateServer, error)
- func (c *Client) UpdateSsoSettings(updatedSettings ResourceSsoSettings) (*ResourceSsoSettings, error)
- func (c *Client) UpdateUserByEmail(email string, updatedUser *ResourceUser) (*ResourceUser, error)
- func (c *Client) UpdateUserByID(id int, updatedUser *ResourceUser) (*ResourceUser, error)
- func (c *Client) UpdateUserByName(name string, updatedUser *ResourceUser) (*ResourceUser, error)
- func (c *Client) UpdateUserExtensionAttributeByID(id int, attribute *ResourceUserExtensionAttribute) (*ResourceUserExtensionAttribute, error)
- func (c *Client) UpdateUserExtensionAttributeByName(name string, attribute *ResourceUserExtensionAttribute) (*ResourceUserExtensionAttribute, error)
- func (c *Client) UpdateUserGroupByID(id int, userGroup *ResourceUserGroup) (*ResourceUserGroup, error)
- func (c *Client) UpdateUserGroupByName(name string, userGroup *ResourceUserGroup) (*ResourceUserGroup, error)
- func (c *Client) UpdateVPPAccountByID(id int, account *ResourceVPPAccount) (*ResourceVPPAccount, error)
- func (c *Client) UpdateVPPAssignmentByID(id int, assignment *ResourceVPPAssignment) error
- func (c *Client) UpdateVolumePurchasingLocationByID(id string) (*ResourceVolumePurchasingLocation, error)
- func (c *Client) UpdateVolumePurchasingSubscriptionByID(id string, subscription *ResourceVolumePurchasingSubscription) (*ResourceVolumePurchasingSubscription, error)
- func (c *Client) UpdateVolumePurchasingSubscriptionByName(name string, updateData *ResourceVolumePurchasingSubscription) (*ResourceVolumePurchasingSubscription, error)
- func (c *Client) UpdateWebhookByID(id int, webhook *ResourceWebhook) (*ResourceWebhook, error)
- func (c *Client) UpdateWebhookByName(name string, webhook *ResourceWebhook) (*ResourceWebhook, error)
- func (c *Client) UploadAttachmentAndAssignToComputerByID(id, filePath string) (*ResponseUploadAttachment, error)
- func (c *Client) UploadIcon(filePath string) (*ResponseUploadIcon, error)
- func (c *Client) ValidateCloudLdapKeystore(payload PayloadCloudLdapVerifyKeystore) (*ResponseCloudLdapVerifyKeystore, error)
- type CloudIdentityProviderDefaultMappingsSubsetGroupMappings
- type CloudIdentityProviderDefaultMappingsSubsetMembershipMappings
- type CloudIdentityProviderDefaultMappingsSubsetUserMappings
- type CloudIdpListItem
- type CloudIdpServerSubsetCloudIdpServerMappings
- type ComputerContainerPeripherals
- type ComputerExtensionAttributeSubsetInputType
- type ComputerExtenstionAttributeListItem
- type ComputerGroupListItem
- type ComputerGroupSubsetComputer
- type ComputerInventoryCollectionSettingsSubsetPathItem
- type ComputerInventoryCollectionSettingsSubsetPreferences
- type ComputerInventorySubsetApplication
- type ComputerInventorySubsetAttachment
- type ComputerInventorySubsetBootPartitionEncryptionDetails
- type ComputerInventorySubsetCertificate
- type ComputerInventorySubsetConfigurationProfile
- type ComputerInventorySubsetContentCaching
- type ComputerInventorySubsetContentCachingAlert
- type ComputerInventorySubsetContentCachingCacheDetail
- type ComputerInventorySubsetContentCachingDataMigrationError
- type ComputerInventorySubsetContentCachingDataMigrationErrorUserInfo
- type ComputerInventorySubsetContentCachingParent
- type ComputerInventorySubsetContentCachingParentDetails
- type ComputerInventorySubsetContentCachingParentDetailsCapabilities
- type ComputerInventorySubsetContentCachingParentDetailsLocalNetwork
- type ComputerInventorySubsetDiskEncryption
- type ComputerInventorySubsetExtensionAttribute
- type ComputerInventorySubsetFont
- type ComputerInventorySubsetGeneral
- type ComputerInventorySubsetGeneralEnrollmentMethod
- type ComputerInventorySubsetGeneralMdmCapable
- type ComputerInventorySubsetGeneralRemoteManagement
- type ComputerInventorySubsetGroupMembership
- type ComputerInventorySubsetHardware
- type ComputerInventorySubsetIBeacon
- type ComputerInventorySubsetLicensedSoftware
- type ComputerInventorySubsetLocalUserAccount
- type ComputerInventorySubsetOperatingSystem
- type ComputerInventorySubsetPackageReceipts
- type ComputerInventorySubsetPlugin
- type ComputerInventorySubsetPrinter
- type ComputerInventorySubsetPurchasing
- type ComputerInventorySubsetSecurity
- type ComputerInventorySubsetService
- type ComputerInventorySubsetSoftwareUpdate
- type ComputerInventorySubsetStorage
- type ComputerInventorySubsetStorageDisk
- type ComputerInventorySubsetStorageDiskPartition
- type ComputerInventorySubsetUserAndLocation
- type ComputerInvitationListItem
- type ComputerInvitationSubsetEnrollIntoState
- type ComputerPrestageSubsetAccountSettings
- type ComputerPrestageSubsetLocationInformation
- type ComputerPrestageSubsetPurchasingInformation
- type ComputerPrestageSubsetSkipSetupItems
- type ComputerSubsetCertificates
- type ComputerSubsetConfigurationProfiles
- type ComputerSubsetExtensionAttributes
- type ComputerSubsetGeneral
- type ComputerSubsetGeneralManagementStatus
- type ComputerSubsetGeneralMdmCapableUsers
- type ComputerSubsetGeneralRemoteManagement
- type ComputerSubsetGroupsAccounts
- type ComputerSubsetGroupsAccountsComputerGroupMemberships
- type ComputerSubsetGroupsAccountsLocalAccounts
- type ComputerSubsetHardware
- type ComputerSubsetHardwareFileVault2Users
- type ComputerSubsetHardwareMappedPrinters
- type ComputerSubsetHardwareStorage
- type ComputerSubsetHardwareStoragePartitions
- type ComputerSubsetLocation
- type ComputerSubsetPeripherals
- type ComputerSubsetPeripheralsAttachments
- type ComputerSubsetPeripheralsContainerFields
- type ComputerSubsetPeripheralsField
- type ComputerSubsetPeripheralsPurchasing
- type ComputerSubsetPurchasing
- type ComputerSubsetSecurity
- type ComputerSubsetSoftware
- type ComputerSubsetSoftwareApplications
- type ComputerSubsetSoftwareAvailableUpdates
- type ComputerSubsetSoftwareFonts
- type ComputerSubsetSoftwarePlugins
- type ComputersListItem
- type DeviceScopeSubsetAssignmentItem
- type DirectoryBindingsListItem
- type DiskEncryptionConfigurationInstitutionalRecoveryKey
- type DiskEncryptionConfigurationsListItem
- type DistributionPointListItem
- type DockItemListItem
- type EBookListItem
- type EbookSubsetGeneral
- type EbookSubsetScope
- type EbookSubsetScopeBuilding
- type EbookSubsetScopeComputer
- type EbookSubsetScopeComputerGroup
- type EbookSubsetScopeDepartment
- type EbookSubsetScopeExclusions
- type EbookSubsetScopeLimitations
- type EbookSubsetScopeMobileDevice
- type EbookSubsetScopeMobileDeviceGroup
- type EbookSubsetScopeUser
- type EbookSubsetScopeUserGroup
- type EbookSubsetSelfService
- type EbookSubsetSelfServiceCategories
- type EbooksSubsetScopeClass
- type EnrollmentCustomizationSubsetBrandingSettings
- type FileVaultInventory
- type FileVaultInventoryList
- type JCDSFileListItem
- type JCDSUploadCredentials
- type JCDSUploadResponse
- type LDAPServerContainerMapping
- type LDAPServerSubsetConnection
- type LDAPServerSubsetConnectionAccount
- type LDAPServerSubsetMappingUserGroupMemberships
- type LDAPServerSubsetMappingUserGroups
- type LDAPServerSubsetMappingUsers
- type LDAPServersListItem
- type LicensedSoftwareListItem
- type LicensedSoftwareSubsetFontDefinitions
- type LicensedSoftwareSubsetGeneral
- type LicensedSoftwareSubsetLicense
- type LicensedSoftwareSubsetLicenseAttachments
- type LicensedSoftwareSubsetLicensePurchasing
- type LicensedSoftwareSubsetLicenses
- type LicensedSoftwareSubsetPluginDefinitions
- type LicensedSoftwareSubsetSoftwareDefinitions
- type LogLevel
- type Logger
- type MacAppScopeExclusions
- type MacAppScopeLimitations
- type MacAppSubsetScopeBuilding
- type MacAppSubsetScopeComputer
- type MacAppSubsetScopeComputerGroup
- type MacAppSubsetScopeDepartment
- type MacAppSubsetScopeNetworkSegment
- type MacAppSubsetScopeUser
- type MacAppSubsetScopeUserGroup
- type MacAppSubsetSelfService
- type MacAppSubsetSelfServiceCategories
- type MacAppSubsetSelfServiceVPP
- type MacApplicationsListItem
- type MacApplicationsSubsetGeneral
- type MacApplicationsSubsetScope
- type MacOSConfigurationProfileListItem
- type MacOSConfigurationProfileSubsetBuilding
- type MacOSConfigurationProfileSubsetComputer
- type MacOSConfigurationProfileSubsetComputerGroup
- type MacOSConfigurationProfileSubsetDepartment
- type MacOSConfigurationProfileSubsetExclusions
- type MacOSConfigurationProfileSubsetGeneral
- type MacOSConfigurationProfileSubsetIBeacon
- type MacOSConfigurationProfileSubsetJSSUser
- type MacOSConfigurationProfileSubsetJSSUserGroup
- type MacOSConfigurationProfileSubsetLimitations
- type MacOSConfigurationProfileSubsetNetworkSegment
- type MacOSConfigurationProfileSubsetScope
- type MacOSConfigurationProfileSubsetSelfService
- type MacOSConfigurationProfileSubsetSelfServiceCategories
- type MacOSConfigurationProfileSubsetSelfServiceCategory
- type MacOSConfigurationProfileSubsetUser
- type MacOSConfigurationProfileSubsetUserGroup
- type MemberUser
- type MobileDeviceApplicationSubsetBuilding
- type MobileDeviceApplicationSubsetDepartment
- type MobileDeviceApplicationSubsetExclusion
- type MobileDeviceApplicationSubsetGeneral
- type MobileDeviceApplicationSubsetGeneralAppConfiguration
- type MobileDeviceApplicationSubsetGeneralIPA
- type MobileDeviceApplicationSubsetGeneralSelfService
- type MobileDeviceApplicationSubsetGeneralVPP
- type MobileDeviceApplicationSubsetIcon
- type MobileDeviceApplicationSubsetJSSUser
- type MobileDeviceApplicationSubsetJSSUserGroup
- type MobileDeviceApplicationSubsetLimitation
- type MobileDeviceApplicationSubsetMobileDevice
- type MobileDeviceApplicationSubsetMobileDeviceGroup
- type MobileDeviceApplicationSubsetNetworkSegment
- type MobileDeviceApplicationSubsetScope
- type MobileDeviceApplicationSubsetUser
- type MobileDeviceApplicationSubsetUserGroup
- type MobileDeviceApplicationsListItem
- type MobileDeviceConfigurationProfileContainerBuilding
- type MobileDeviceConfigurationProfileContainerDepartment
- type MobileDeviceConfigurationProfileContainerMobileDevice
- type MobileDeviceConfigurationProfileContainerMobileDeviceGroup
- type MobileDeviceConfigurationProfileSubsetBuilding
- type MobileDeviceConfigurationProfileSubsetDepartment
- type MobileDeviceConfigurationProfileSubsetExclusion
- type MobileDeviceConfigurationProfileSubsetGeneral
- type MobileDeviceConfigurationProfileSubsetIbeacon
- type MobileDeviceConfigurationProfileSubsetJSSUser
- type MobileDeviceConfigurationProfileSubsetJSSUserGroup
- type MobileDeviceConfigurationProfileSubsetLimitation
- type MobileDeviceConfigurationProfileSubsetMobileDevice
- type MobileDeviceConfigurationProfileSubsetMobileDeviceGroup
- type MobileDeviceConfigurationProfileSubsetNetworkSegment
- type MobileDeviceConfigurationProfileSubsetScope
- type MobileDeviceConfigurationProfileSubsetSelfService
- type MobileDeviceConfigurationProfileSubsetSelfServiceSecurityName
- type MobileDeviceConfigurationProfileSubsetUser
- type MobileDeviceConfigurationProfileSubsetUserGroup
- type MobileDeviceConfigurationProfilesListItem
- type MobileDeviceEnrollmentProfileContainerAttachments
- type MobileDeviceEnrollmentProfileSubsetAttachments
- type MobileDeviceEnrollmentProfileSubsetGeneral
- type MobileDeviceEnrollmentProfileSubsetLocation
- type MobileDeviceEnrollmentProfileSubsetPurchasing
- type MobileDeviceEnrollmentProfilesListItem
- type MobileDeviceExtensionAttributesListItem
- type MobileDeviceGroupSubsetDeviceItem
- type MobileDeviceGroupsListItem
- type MobileDeviceListItem
- type MobileDevicePrestageSubsetLocationInformation
- type MobileDevicePrestageSubsetNames
- type MobileDevicePrestageSubsetNamesName
- type MobileDevicePrestageSubsetPurchasingInformation
- type MobileDevicePrestageSubsetSkipSetupItems
- type MobileDeviceProvisioningProfileSubsetGeneral
- type MobileDeviceProvisioningProfilesListItem
- type MobileDeviceSubsetApplication
- type MobileDeviceSubsetCertificate
- type MobileDeviceSubsetConfigurationProfile
- type MobileDeviceSubsetExtensionAttribute
- type MobileDeviceSubsetGeneral
- type MobileDeviceSubsetGroup
- type MobileDeviceSubsetLocation
- type MobileDeviceSubsetNetwork
- type MobileDeviceSubsetProvisioningProfile
- type MobileDeviceSubsetPurchasing
- type MobileDeviceSubsetSecurity
- type MobileExtensionAttributeSubsetInputType
- type PatchPoliciesContainerGeneralKillApps
- type PatchPoliciesSubsetBuilding
- type PatchPoliciesSubsetComputerGroup
- type PatchPoliciesSubsetComputerItem
- type PatchPoliciesSubsetDepartment
- type PatchPoliciesSubsetGeneral
- type PatchPoliciesSubsetGeneralKillApp
- type PatchPoliciesSubsetGroup
- type PatchPoliciesSubsetIBeaconItem
- type PatchPoliciesSubsetNetworkSegmentItem
- type PatchPoliciesSubsetScope
- type PatchPoliciesSubsetScopeExclusions
- type PatchPoliciesSubsetScopeLimitations
- type PatchPoliciesSubsetUserInteraction
- type PatchPoliciesSubsetUserInteractionDeadlines
- type PatchPoliciesSubsetUserInteractionGracePeriod
- type PatchPoliciesSubsetUserInteractionNotifications
- type PatchPoliciesSubsetUserInteractionNotificationsReminders
- type PatchSoftwareTitleConfigurationSubsetExtensionAttribute
- type PatchSoftwareTitleConfigurationSubsetPackage
- type PayloadCloudLdapVerifyKeystore
- type PolicyCategory
- type PolicyDataSubsetBuilding
- type PolicyDataSubsetComputer
- type PolicyDataSubsetComputerGroup
- type PolicyDataSubsetDepartment
- type PolicyDataSubsetIBeacon
- type PolicyDataSubsetJSSUser
- type PolicyDataSubsetJSSUserGroup
- type PolicyDataSubsetNetworkSegment
- type PolicyDataSubsetUser
- type PolicyDataSubsetUserGroup
- type PolicyItem
- type PolicyLimitToUsers
- type PolicySubsetAccountMaintenance
- type PolicySubsetAccountMaintenanceAccount
- type PolicySubsetAccountMaintenanceDirectoryBindings
- type PolicySubsetAccountMaintenanceManagementAccount
- type PolicySubsetAccountMaintenanceOpenFirmwareEfiPassword
- type PolicySubsetDiskEncryption
- type PolicySubsetDockItem
- type PolicySubsetDockItems
- type PolicySubsetFilesProcesses
- type PolicySubsetGeneral
- type PolicySubsetGeneralDateTimeLimitations
- type PolicySubsetGeneralDateTimeLimitationsNoExecuteOn
- type PolicySubsetGeneralNetworkLimitations
- type PolicySubsetGeneralOverrideSettings
- type PolicySubsetMaintenance
- type PolicySubsetPackageConfiguration
- type PolicySubsetPackageConfigurationPackage
- type PolicySubsetPrinter
- type PolicySubsetPrinters
- type PolicySubsetReboot
- type PolicySubsetScope
- type PolicySubsetScopeExclusions
- type PolicySubsetScopeLimitations
- type PolicySubsetScript
- type PolicySubsetScripts
- type PolicySubsetSelfService
- type PolicySubsetSelfServiceCategory
- type PolicySubsetUserInteraction
- type PrintersListItem
- type ResourceADUETokenSettings
- type ResourceAPIRole
- type ResourceAccount
- type ResourceAccountGroup
- type ResourceAccountPreferences
- type ResourceActivationCode
- type ResourceAdvancedComputerSearch
- type ResourceAdvancedMobileDeviceSearch
- type ResourceAdvancedUserSearch
- type ResourceAdvancedUserSearchCreatedAndUpdated
- type ResourceAllowedFileExtension
- type ResourceApiIntegration
- type ResourceApiRolePrivilegesList
- type ResourceBYOProfile
- type ResourceBuilding
- type ResourceBuildingResourceHistory
- type ResourceCSATokenExchange
- type ResourceCacheSettings
- type ResourceCategory
- type ResourceClass
- type ResourceClientCheckinSettings
- type ResourceClientCredentials
- type ResourceCloudDistributionPointUploadCapability
- type ResourceCloudIdp
- type ResourceCloudIdpServer
- type ResourceComputerCheckin
- type ResourceComputerExtensionAttribute
- type ResourceComputerGroup
- type ResourceComputerInventory
- type ResourceComputerInventoryCollectionSettings
- type ResourceComputerInventoryCollectionSettingsCustomPath
- type ResourceComputerInvitation
- type ResourceComputerPrestage
- type ResourceConditionalAccessDeviceComplianceStatus
- type ResourceDepartment
- type ResourceDeviceCommunicationSettings
- type ResourceDeviceEnrollment
- type ResourceDiskEncryptionConfiguration
- type ResourceDockItem
- type ResourceEbooks
- type ResourceEnrollmentCustomization
- type ResourceFileShareDistributionPoint
- type ResourceGSXConnection
- type ResourceIBeacons
- type ResourceJamfProServerURL
- type ResourceJamfProtectIntegrationSettings
- type ResourceLDAPServers
- type ResourceLicensedSoftware
- type ResourceMacApplications
- type ResourceMacOSConfigurationProfile
- type ResourceMobileDevice
- type ResourceMobileDeviceApplication
- type ResourceMobileDeviceConfigurationProfile
- type ResourceMobileDeviceEnrollmentProfile
- type ResourceMobileDeviceGroup
- type ResourceMobileDevicePrestage
- type ResourceMobileDeviceProvisioningProfile
- type ResourceMobileExtensionAttribute
- type ResourceNetworkSegment
- type ResourcePatchPolicies
- type ResourcePatchSoftwareTitleConfiguration
- type ResourcePolicy
- type ResourcePolicyCreateAndUpdate
- type ResourcePrinter
- type ResourceRemovableMacAddress
- type ResourceRestrictedSoftware
- type ResourceSMTPServer
- type ResourceScript
- type ResourceSelfServiceBrandingDetail
- type ResourceSoftwareUpdateServer
- type ResourceSsoSettings
- type ResourceUser
- type ResourceUserExtensionAttribute
- type ResourceUserExtensionAttributeSubsetInputType
- type ResourceUserGroup
- type ResourceVPPAccount
- type ResourceVPPAssignment
- type ResourceVolumePurchasingLocation
- type ResourceVolumePurchasingSubscription
- type ResourceWebhook
- type ResponceBYOProfileCreatedAndUpdated
- type ResponseAccountCreatedAndUpdated
- type ResponseAccountGroupCreated
- type ResponseAccountsList
- type ResponseActiveCertificateAuthority
- type ResponseAdvancedComputerSearchCreatedAndUpdated
- type ResponseAdvancedComputerSearchesList
- type ResponseAdvancedMobileDeviceSearchCreatedAndUpdated
- type ResponseAdvancedMobileDeviceSearchesList
- type ResponseAdvancedUserSearchesList
- type ResponseAllowedFileExtensionsList
- type ResponseApiIntegrationsList
- type ResponseApiRolesList
- type ResponseBYOProfilesList
- type ResponseBuildingCreate
- type ResponseBuildingResourceHistoryList
- type ResponseBuildingsList
- type ResponseCategoriesList
- type ResponseClassesList
- type ResponseCloudDistributionPointCreate
- type ResponseCloudIdentityProviderDefaultMappings
- type ResponseCloudIdpCreate
- type ResponseCloudLdapVerifyKeystore
- type ResponseComputer
- type ResponseComputerExtensionAttributesList
- type ResponseComputerGroupsList
- type ResponseComputerInventoryList
- type ResponseComputerInvitationsList
- type ResponseComputerPrestageCreate
- type ResponseComputerPrestagesList
- type ResponseComputersList
- type ResponseDepartmentCreate
- type ResponseDepartmentsList
- type ResponseDeviceEnrollmentsList
- type ResponseDeviceScope
- type ResponseDirectoryBinding
- type ResponseDirectoryBindingsList
- type ResponseDiskEncryptionConfigurationCreatedAndUpdated
- type ResponseDiskEncryptionConfigurationsList
- type ResponseDistributionPointsList
- type ResponseDockItemsList
- type ResponseEbooksList
- type ResponseEnrollmentCustomizationCreate
- type ResponseEnrollmentCustomizationList
- type ResponseIBeaconsList
- type ResponseJCDS2List
- type ResponseJamfProInformation
- type ResponseJamfProVersion
- type ResponseLDAPServersList
- type ResponseLicensedSoftwareList
- type ResponseMacApplicationsList
- type ResponseMacOSConfigurationProfileCreationUpdate
- type ResponseMacOSConfigurationProfileList
- type ResponseMobileDeviceApplicationsList
- type ResponseMobileDeviceConfigurationProfilesList
- type ResponseMobileDeviceEnrollmentProfilesList
- type ResponseMobileDeviceExtensionAttributesList
- type ResponseMobileDeviceGroupsList
- type ResponseMobileDeviceList
- type ResponseMobileDevicePrestageCreate
- type ResponseMobileDevicePrestagesList
- type ResponseMobileDeviceProvisioningProfilesList
- type ResponseNetworkSegmentList
- type ResponsePackageInfoShared
- type ResponsePackageListV1
- type ResponsePackageV2
- type ResponsePatchSoftwareTitleConfigurationCreate
- type ResponsePatchSoftwareTitleConfigurationList
- type ResponsePoliciesList
- type ResponsePrinterCreateAndUpdate
- type ResponsePrintersList
- type ResponseRecoveryLockPassword
- type ResponseRemovableMacAddressesList
- type ResponseRestrictedSoftwaresList
- type ResponseSSOFailover
- type ResponseScriptCreate
- type ResponseScriptsList
- type ResponseSelfServiceBrandingList
- type ResponseSitesList
- type ResponseSoftwareUpdateServersList
- type ResponseSsoSubsetEnrollmentCustomizationDependencyList
- type ResponseUploadAttachment
- type ResponseUploadIcon
- type ResponseUserExtensionAttributesList
- type ResponseUserGroupsList
- type ResponseUsersList
- type ResponseVPPAccountsList
- type ResponseVPPAssignmentsList
- type ResponseVolumePurchasingContentList
- type ResponseVolumePurchasingList
- type ResponseVolumePurchasingLocationCreate
- type ResponseVolumePurchasingSubscriptionsList
- type ResponseWebhooksList
- type RestrictedSoftwareListItem
- type RestrictedSoftwareSubsetGeneral
- type RestrictedSoftwareSubsetScope
- type RestrictedSoftwareSubsetScopeBuilding
- type RestrictedSoftwareSubsetScopeComputer
- type RestrictedSoftwareSubsetScopeComputerGroup
- type RestrictedSoftwareSubsetScopeDepartment
- type RestrictedSoftwareSubsetScopeExclusions
- type RestrictedSoftwareSubsetScopeUser
- type SharedAdvancedSearchContainerDisplayField
- type SharedAdvancedSearchSubsetDisplayField
- type SharedContainerCriteria
- type SharedResourceCategory
- type SharedResourceSelfServiceCategories
- type SharedResourceSelfServiceCategory
- type SharedResourceSelfServiceIcon
- type SharedResourceSite
- type SharedResourceSiteProAPI
- type SharedSubsetCriteria
- type SoftwareUpdateServersListItem
- type SsoSettingsSubsetEnrollmentSsoConfig
- type SsoSubsetSubsetEnrollmentCustomizationDependency
- type StandardPaginatedResponse
- type UploadProgressPercentage
- type UserExtensionAttributesListItem
- type UserGroupSubsetUserItem
- type UserGroupsListItem
- type UserSubsetExtensionAttribute
- type UserSubsetExtensionAttributes
- type UserSubsetLDAPServer
- type UserSubsetLinks
- type UserSubsetLinksListItem
- type UsersListItem
- type VPPAccountsListItem
- type VPPAssignmentSubsetGeneral
- type VPPAssignmentSubsetScope
- type VPPAssignmentSubsetScopeExclusions
- type VPPAssignmentSubsetScopeLimitations
- type VPPAssignmentsListItem
- type VPPSubsetVPPApp
- type VPPSubsetVPPUser
- type VPPSubsetVPPUserGroup
- type VolumePurchasingLocationSubsetBody
- type VolumePurchasingSubscriptionSubsetExternalRecipients
- type VolumePurchasingSubscriptionSubsetInternalRecipients
- type VolumePurchasingSubsetContent
- type WebhooksListItem
Constants ¶
const UriClientCheckinSettings = "/api/v3/check-in"
Variables ¶
var DefaultLogger = NewDefaultLogger()
Expose the default logger instance for use in the main package.
Functions ¶
func LoadAuthConfig ¶ added in v0.0.2
func LoadAuthConfig(configFilePath string) (*http_client.AuthConfig, error)
Types ¶
type AccountGroupSubsetMembers ¶
type AccountGroupSubsetMembers []struct { User MemberUser `json:"user,omitempty" xml:"user,omitempty"` }
Subsets
type AccountSubsetLdapServer ¶
type AccountSubsetPrivileges ¶
type AccountSubsetPrivileges struct { JSSObjects []string `json:"jss_objects,omitempty" xml:"jss_objects>privilege"` JSSSettings []string `json:"jss_settings,omitempty" xml:"jss_settings>privilege"` JSSActions []string `json:"jss_actions,omitempty" xml:"jss_actions>privilege"` Recon []string `json:"recon,omitempty" xml:"recon>privilege"` CasperAdmin []string `json:"casper_admin,omitempty" xml:"casper_admin>privilege"` CasperRemote []string `json:"casper_remote,omitempty" xml:"casper_remote>privilege"` CasperImaging []string `json:"casper_imaging,omitempty" xml:"casper_imaging>privilege"` }
type AccountsListSubsetGroups ¶
type AccountsListSubsetGroups struct { ID int `json:"id,omitempty" xml:"id,omitempty"` Name string `json:"name,omitempty" xml:"name,omitempty"` Site SharedResourceSite `json:"site,omitempty" xml:"site,omitempty"` Privileges AccountSubsetPrivileges `json:"privileges,omitempty" xml:"privileges,omitempty"` }
type AccountsListSubsetUsers ¶
type AdvancedComputerSearchContainerComputers ¶
type AdvancedComputerSearchContainerComputers struct { Size int Computer AdvancedComputerSearchSubsetComputer `xml:"computers"` }
type AdvancedMobileSearchContainerDevices ¶
type AdvancedMobileSearchContainerDevices struct { Size int `xml:"size,omitempty"` Device AdvancedMobileSearchSubsetDevice `xml:"mobile_device,omitempty"` }
type AdvancedUserSearchContainerUsers ¶
type AdvancedUserSearchContainerUsers struct { Size int `xml:"size,omitempty"` User []AdvancedUserSearchSubsetUser `xml:"user,omitempty"` }
type BYOProfileListItem ¶
type BYOProfileSubsetGeneral ¶
type BYOProfileSubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` Site SharedResourceSite `xml:"site"` Enabled bool `xml:"enabled"` Description string `xml:"description"` }
type CacheSettingsSubsetMemcachedEndpoints ¶
type CacheSettingsSubsetMemcachedEndpoints struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` HostName string `json:"hostName,omitempty"` Port int `json:"port,omitempty"` Enabled bool `json:"enabled,omitempty"` JSSCacheConfigurationID int `json:"jssCacheConfigurationId,omitempty"` }
type ClassContainerMeetingTimes ¶
type ClassContainerMeetingTimes struct {
MeetingTime ClassSubsetMeetingTime `xml:"meeting_time,omitempty"`
}
type ClassListItem ¶
type ClassListItem struct { ID int `xml:"id"` Name string `xml:"name"` Description string `xml:"description"` }
ClassItem represents a single class item in the list.
type ClassSubsetAppleTVs ¶
type ClassSubsetMeetingTime ¶
type ClassSubsetMobileDeviceGroupID ¶
type ClassSubsetMobileDeviceGroupID struct {
ID int `xml:"id,omitempty"`
}
type ClassSubsetStudent ¶
type ClassSubsetStudent struct {
Student string `xml:"student,omitempty"`
}
type ClassSubsetStudentGroupIDs ¶
type ClassSubsetStudentGroupIDs struct {
ID int `xml:"id,omitempty"`
}
type ClassSubsetTeacher ¶
type ClassSubsetTeacher struct {
Teacher string `xml:"teacher,omitempty"`
}
type ClassSubsetTeacherGroupIDs ¶
type ClassSubsetTeacherGroupIDs struct {
ID int `xml:"id,omitempty"`
}
type ClassSubsetTeacherIDs ¶
type ClassSubsetTeacherIDs struct {
ID int `xml:"id,omitempty"`
}
type Client ¶
type Client struct {
HTTP *http_client.Client
}
func (*Client) CreateAccount ¶
func (c *Client) CreateAccount(account *ResourceAccount) (*ResponseAccountCreatedAndUpdated, error)
CreateAccountByID creates an Account using its ID
func (*Client) CreateAccountGroup ¶
func (c *Client) CreateAccountGroup(accountGroup *ResourceAccountGroup) (*ResponseAccountGroupCreated, error)
CreateAccountGroupByID creates an Account Group using its ID
func (*Client) CreateAdvancedComputerSearch ¶
func (c *Client) CreateAdvancedComputerSearch(search *ResourceAdvancedComputerSearch) (*ResponseAdvancedComputerSearchCreatedAndUpdated, error)
CreateAdvancedComputerSearch creates a new advanced computer search.
func (*Client) CreateAdvancedMobileDeviceSearch ¶
func (c *Client) CreateAdvancedMobileDeviceSearch(search *ResourceAdvancedMobileDeviceSearch) (*ResponseAdvancedMobileDeviceSearchCreatedAndUpdated, error)
CreateAdvancedMobileDeviceSearch creates a new advanced mobile device search with the given ID.
func (*Client) CreateAdvancedUserSearch ¶
func (c *Client) CreateAdvancedUserSearch(search *ResourceAdvancedUserSearch) (*ResourceAdvancedUserSearchCreatedAndUpdated, error)
CreateAdvancedUserSearch creates a new advanced user search.
func (*Client) CreateAllowedFileExtension ¶
func (c *Client) CreateAllowedFileExtension(extension *ResourceAllowedFileExtension) (*ResourceAllowedFileExtension, error)
CreateAllowedFileExtension creates a new allowed file extension on the Jamf Pro server.
func (*Client) CreateApiIntegration ¶
func (c *Client) CreateApiIntegration(integration *ResourceApiIntegration) (*ResourceApiIntegration, error)
CreateApiIntegration creates a new API integration
func (*Client) CreateBYOProfile ¶
func (c *Client) CreateBYOProfile(profile *ResourceBYOProfile) (*ResponceBYOProfileCreatedAndUpdated, error)
CreateBYOProfile creates a new BYO profile.
func (*Client) CreateBuilding ¶
func (c *Client) CreateBuilding(building *ResourceBuilding) (*ResponseBuildingCreate, error)
CreateBuilding creates a new building in Jamf Pro
func (*Client) CreateBuildingResourceHistoryByID ¶
func (c *Client) CreateBuildingResourceHistoryByID(id string, historyUpdate *ResourceBuildingResourceHistory) (*ResourceBuildingResourceHistory, error)
CreateBuildingResourceHistoryByID updates the resource history of a building in Jamf Pro by its ID.
func (*Client) CreateCategory ¶
func (c *Client) CreateCategory(category *ResourceCategory) (*ResourceCategory, error)
CreateCategory creates a new category
func (*Client) CreateClass ¶
func (c *Client) CreateClass(class *ResourceClass) (*ResourceClass, error)
CreateClassesByID creates a new class with the given details.
func (*Client) CreateCloudIdentityProvider ¶
func (c *Client) CreateCloudIdentityProvider(cloudIdP *ResourceCloudIdp) (*ResponseCloudIdpCreate, error)
CreateCloudIdentityProvider creates a new Cloud Identity Provider.
func (*Client) CreateComputer ¶
func (c *Client) CreateComputer(computer ResponseComputer) (*ResponseComputer, error)
CreateComputer creates a new computer.
func (*Client) CreateComputerExtensionAttribute ¶
func (c *Client) CreateComputerExtensionAttribute(attribute *ResourceComputerExtensionAttribute) (*ResourceComputerExtensionAttribute, error)
CreateComputerExtensionAttribute creates a new computer extension attribute.
func (*Client) CreateComputerGroup ¶
func (c *Client) CreateComputerGroup(group *ResourceComputerGroup) (*ResourceComputerGroup, error)
CreateComputerGroup creates a new computer group.
func (*Client) CreateComputerInventoryCollectionSettingsCustomPath ¶
func (c *Client) CreateComputerInventoryCollectionSettingsCustomPath(customPath *ResourceComputerInventoryCollectionSettingsCustomPath) (*ResourceComputerInventoryCollectionSettingsCustomPath, error)
CreateComputerInventoryCollectionSettingsCustomPath creates a custom path for computer inventory collection settings.
func (*Client) CreateComputerInvitation ¶
func (c *Client) CreateComputerInvitation(invitation *ResourceComputerInvitation) (*ResourceComputerInvitation, error)
CreateComputerInvitation creates a new computer invitation.
func (*Client) CreateComputerPrestage ¶
func (c *Client) CreateComputerPrestage(prestage *ResourceComputerPrestage) (*ResponseComputerPrestageCreate, error)
CreateComputerPrestage creates a new computer prestage with the given details.
func (*Client) CreateDepartment ¶
func (c *Client) CreateDepartment(department *ResourceDepartment) (*ResponseDepartmentCreate, error)
CreateDepartment creates a new department.
func (*Client) CreateDirectoryBinding ¶
func (c *Client) CreateDirectoryBinding(binding *ResponseDirectoryBinding) (*ResponseDirectoryBinding, error)
CreateDirectoryBinding creates a new directory binding.
func (*Client) CreateDiskEncryptionConfiguration ¶
func (c *Client) CreateDiskEncryptionConfiguration(config *ResourceDiskEncryptionConfiguration) (*ResponseDiskEncryptionConfigurationCreatedAndUpdated, error)
CreateDiskEncryptionConfiguration creates a new disk encryption configuration.
func (*Client) CreateDistributionPoint ¶
func (c *Client) CreateDistributionPoint(dp *ResourceFileShareDistributionPoint) (*ResourceFileShareDistributionPoint, error)
CreateDistributionPoint creates a new distribution point.
func (*Client) CreateDockItem ¶
func (c *Client) CreateDockItem(dockItem *ResourceDockItem) (*ResourceDockItem, error)
CreateDockItems creates a new dock item.
func (*Client) CreateEbook ¶
func (c *Client) CreateEbook(ebook ResourceEbooks) (*ResourceEbooks, error)
CreateEbook creates a new ebook.
func (*Client) CreateEnrollmentCustomization ¶
func (c *Client) CreateEnrollmentCustomization(enrollmentCustomization ResourceEnrollmentCustomization) (*ResponseEnrollmentCustomizationCreate, error)
Creates new resource enrollment customization
func (*Client) CreateFileAttachments ¶
func (c *Client) CreateFileAttachments(resource, idType, id string, files map[string]string) (*http.Response, error)
CreateFileAttachments uploads file attachments to a specific resource in Jamf Pro. The function assumes that the file paths are provided as a map where the keys are the form field names.
func (*Client) CreateIBeacon ¶
func (c *Client) CreateIBeacon(beacon *ResourceIBeacons) (*ResourceIBeacons, error)
CreateIBeacon creates a new iBeacon in Jamf Pro.
func (*Client) CreateJamfApiRole ¶
func (c *Client) CreateJamfApiRole(role *ResourceAPIRole) (*ResourceAPIRole, error)
CreateJamfApiRole creates a new Jamf API role
func (*Client) CreateLDAPServer ¶
func (c *Client) CreateLDAPServer(ldapServer *ResourceLDAPServers) (*ResourceLDAPServers, error)
CreateLDAPServer creates a new LDAP server in Jamf Pro.
func (*Client) CreateLicensedSoftware ¶
func (c *Client) CreateLicensedSoftware(licensedSoftware *ResourceLicensedSoftware) (*ResourceLicensedSoftware, error)
CreateLicensedSoftware creates a new licensed software item in Jamf Pro.
func (*Client) CreateMacApplication ¶
func (c *Client) CreateMacApplication(macApp ResourceMacApplications) (*ResourceMacApplications, error)
CreateMacApplication creates a new Mac Application.
func (*Client) CreateMacOSConfigurationProfile ¶
func (c *Client) CreateMacOSConfigurationProfile(profile *ResourceMacOSConfigurationProfile) (*ResponseMacOSConfigurationProfileCreationUpdate, error)
CreateMacOSConfigurationProfile creates a new macOS Configuration Profile on the Jamf Pro server and returns the profile with its ID updated. It sends a POST request to the Jamf Pro server with the profile details and expects a response with the ID of the newly created profile. CreateMacOSConfigurationProfile creates a new macOS Configuration Profile on the Jamf Pro server and returns the ID of the newly created profile.
func (*Client) CreateMobileDevice ¶
func (c *Client) CreateMobileDevice(attribute *ResourceMobileDevice) (*ResourceMobileDevice, error)
CreateMobileDevice creates a new mobile device device.
func (*Client) CreateMobileDeviceApplication ¶
func (c *Client) CreateMobileDeviceApplication(app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
CreateMobileDeviceApplication creates a new mobile device application on the Jamf Pro server.
func (*Client) CreateMobileDeviceConfigurationProfile ¶
func (c *Client) CreateMobileDeviceConfigurationProfile(profile *ResourceMobileDeviceConfigurationProfile) (*ResourceMobileDeviceConfigurationProfile, error)
CreateMobileDeviceConfigurationProfile creates a new mobile device configuration profile on the Jamf Pro server.
func (*Client) CreateMobileDeviceEnrollmentProfile ¶
func (c *Client) CreateMobileDeviceEnrollmentProfile(profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
CreateMobileDeviceEnrollmentProfile creates a new mobile device enrollment profile on the Jamf Pro server.
func (*Client) CreateMobileDeviceGroup ¶
func (c *Client) CreateMobileDeviceGroup(group *ResourceMobileDeviceGroup) (*ResourceMobileDeviceGroup, error)
CreateMobileDeviceGroup creates a new mobile device group on the Jamf Pro server.
func (*Client) CreateMobileDevicePrestage ¶
func (c *Client) CreateMobileDevicePrestage(newPrestage ResourceMobileDevicePrestage) (*ResponseMobileDevicePrestageCreate, error)
CreateMobileDevicePrestage creates a new mobile prestage and returns the id
func (*Client) CreateMobileDeviceProvisioningProfile ¶
func (c *Client) CreateMobileDeviceProvisioningProfile(id int, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
CreateMobileDeviceProvisioningProfileByID creates a new mobile device provisioning profile by its ID.
func (*Client) CreateMobileDeviceProvisioningProfileByName ¶
func (c *Client) CreateMobileDeviceProvisioningProfileByName(name string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
CreateMobileDeviceProvisioningProfileByName creates a new mobile device provisioning profile by its name.
func (*Client) CreateMobileDeviceProvisioningProfileByUUID ¶
func (c *Client) CreateMobileDeviceProvisioningProfileByUUID(uuid string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
CreateMobileDeviceProvisioningProfileByUUID creates a new mobile device provisioning profile by its UUID.
func (*Client) CreateMobileExtensionAttribute ¶
func (c *Client) CreateMobileExtensionAttribute(attribute *ResourceMobileExtensionAttribute) (*ResourceMobileExtensionAttribute, error)
CreateMobileExtensionAttribute creates a new mobile device extension attribute.
func (*Client) CreateNetworkSegment ¶
func (c *Client) CreateNetworkSegment(segment *ResourceNetworkSegment) (*ResourceNetworkSegment, error)
CreateNetworkSegment creates a new network segment on the Jamf Pro server.
func (*Client) CreatePatchPolicy ¶
func (c *Client) CreatePatchPolicy(policy *ResourcePatchPolicies, softwareTitleConfigID int) (*ResourcePatchPolicies, error)
CreatePatchPolicy creates a new patch policy.
func (*Client) CreatePatchSoftwareTitleConfiguration ¶
func (c *Client) CreatePatchSoftwareTitleConfiguration(configuration ResourcePatchSoftwareTitleConfiguration) (*ResponsePatchSoftwareTitleConfigurationCreate, error)
CreatePatchSoftwareTitleConfiguration Creates a new PatchSoftwareTitleConfiguration
func (*Client) CreatePolicy ¶
func (c *Client) CreatePolicy(policy *ResourcePolicy) (*ResourcePolicyCreateAndUpdate, error)
CreatePolicy creates a new policy.
func (*Client) CreatePrinter ¶
func (c *Client) CreatePrinter(printer *ResourcePrinter) (*ResponsePrinterCreateAndUpdate, error)
CreatePrinters creates a new printer on the Jamf Pro server.
func (*Client) CreateRemovableMACAddress ¶
func (c *Client) CreateRemovableMACAddress(macAddress *ResourceRemovableMacAddress) (*ResourceRemovableMacAddress, error)
CreateRemovableMACAddress creates a new removable MAC address.
func (*Client) CreateRestrictedSoftware ¶
func (c *Client) CreateRestrictedSoftware(restrictedSoftware *ResourceRestrictedSoftware) (*ResourceRestrictedSoftware, error)
CreateRestrictedSoftware creates a new restricted software entry in Jamf Pro.
func (*Client) CreateScript ¶
func (c *Client) CreateScript(script *ResourceScript) (*ResponseScriptCreate, error)
Creates script from ResourceScript struct
func (*Client) CreateSelfServiceBrandingMacOS ¶
func (c *Client) CreateSelfServiceBrandingMacOS(branding *ResourceSelfServiceBrandingDetail) (*ResourceSelfServiceBrandingDetail, error)
CreateSelfServiceBrandingMacOS creates a new self-service branding configuration for macOS.
func (*Client) CreateSite ¶
func (c *Client) CreateSite(site *SharedResourceSite) (*SharedResourceSite, error)
CreateSite creates a new site.
func (*Client) CreateSoftwareUpdateServer ¶
func (c *Client) CreateSoftwareUpdateServer(server *ResourceSoftwareUpdateServer) (*ResourceSoftwareUpdateServer, error)
CreateSoftwareUpdateServer creates a new software update server.
func (*Client) CreateUser ¶
func (c *Client) CreateUser(newUser *ResourceUser) (*ResourceUser, error)
CreateUser creates a new user.
func (*Client) CreateUserExtensionAttribute ¶
func (c *Client) CreateUserExtensionAttribute(attribute *ResourceUserExtensionAttribute) (*ResourceUserExtensionAttribute, error)
CreateUserExtensionAttribute creates a new user extension attribute.
func (*Client) CreateUserGroup ¶
func (c *Client) CreateUserGroup(userGroup *ResourceUserGroup) (*ResourceUserGroup, error)
CreateUserGroup creates a new user group.
func (*Client) CreateVPPAccount ¶
func (c *Client) CreateVPPAccount(account *ResourceVPPAccount) (*ResourceVPPAccount, error)
CreateVPPAccount creates a new VPP account.
func (*Client) CreateVPPAssignment ¶
func (c *Client) CreateVPPAssignment(assignment *ResourceVPPAssignment) error
CreateVPPAssignment creates a new VPP assignment
func (*Client) CreateVolumePurchasingLocation ¶
func (c *Client) CreateVolumePurchasingLocation(request *ResourceVolumePurchasingLocation) (*ResponseVolumePurchasingLocationCreate, error)
CreateVolumePurchasingLocation creates a new volume purchasing location.
func (*Client) CreateVolumePurchasingSubscription ¶
func (c *Client) CreateVolumePurchasingSubscription(subscription *ResourceVolumePurchasingSubscription) (*ResourceVolumePurchasingSubscription, error)
CreateVolumePurchasingSubscription creates a new volume purchasing subscription
func (*Client) CreateWebhook ¶
func (c *Client) CreateWebhook(webhook *ResourceWebhook) (*ResourceWebhook, error)
CreateWebhook creates a new webhook.
func (*Client) DeleteAccountByID ¶
DeleteAccountByID deletes an Account using its ID
func (*Client) DeleteAccountByName ¶
DeleteAccountByName deletes an Account using its name.
func (*Client) DeleteAccountGroupByID ¶
DeleteAccountGroupByID deletes an Account Group using its ID.
func (*Client) DeleteAccountGroupByName ¶
DeleteAccountGroupByName deletes an Account Group using its name.
func (*Client) DeleteAdvancedComputerSearchByID ¶
DeleteAdvancedComputerSearchByID deletes an advanced computer search by its ID.
func (*Client) DeleteAdvancedComputerSearchByName ¶
DeleteAdvancedComputerSearchByName deletes an advanced computer search by its name.
func (*Client) DeleteAdvancedMobileDeviceSearchByID ¶
DeleteAdvancedMobileDeviceSearchByID deletes an existing advanced mobile device search by its ID.
func (*Client) DeleteAdvancedMobileDeviceSearchByName ¶
DeleteAdvancedMobileDeviceSearchByName deletes an existing advanced mobile device search by its name.
func (*Client) DeleteAdvancedUserSearchByID ¶
DeleteAdvancedUserSearchByID deletes an advanced user search by its ID.
func (*Client) DeleteAdvancedUserSearchByName ¶
DeleteAdvancedUserSearchByName deletes an advanced user search by its name.
func (*Client) DeleteAllowedFileExtensionByID ¶
DeleteAllowedFileExtensionByID deletes an existing allowed file extension by ID
func (*Client) DeleteAllowedFileExtensionByName ¶
DeleteAllowedFileExtensionByNameByID deletes an existing allowed file extension by resolving its name to an ID
func (*Client) DeleteApiIntegrationByID ¶
DeleteApiIntegrationByID deletes an API integration by its ID
func (*Client) DeleteApiIntegrationByName ¶
DeleteApiIntegrationByName deletes an API integration by its display name
func (*Client) DeleteAttachmentByIDAndComputerID ¶
DeleteAttachmentByIDAndComputerID deletes a computer's inventory attached by computer ID and the computer's attachment ID. Multiple attachments can be assigned to a single computer resource.
func (*Client) DeleteBYOProfileByID ¶
DeleteBYOProfileByID deletes a BYO profile by its ID.
func (*Client) DeleteBYOProfileByName ¶
DeleteBYOProfileByName deletes a BYO profile by its name.
func (*Client) DeleteBuildingByID ¶
DeleteBuildingByID deletes a building in Jamf Pro by its ID.
func (*Client) DeleteBuildingByName ¶
DeleteBuildingByNameByID deletes a building in Jamf Pro by its name.
func (*Client) DeleteCSATokenExchange ¶
func (*Client) DeleteCategoryByID ¶
DeleteCategoryByID deletes a category by its ID
func (*Client) DeleteCategoryByName ¶
DeleteCategoryByNameByID deletes a category by its name after inferring its ID.
func (*Client) DeleteClassByID ¶
DeleteClassByID deletes an existing class with the given ID.
func (*Client) DeleteClassByName ¶
DeleteClassByName deletes a class by its name.
func (*Client) DeleteCloudIdentityProviderByID ¶
DeleteCloudIdentityProviderById deletes a Cloud Identity Provider by its ID.
func (*Client) DeleteComputerByID ¶
DeleteComputerByID deletes an existing Computer by its ID
func (*Client) DeleteComputerByName ¶
DeleteComputerByName deletes an existing computer by its name
func (*Client) DeleteComputerExtensionAttributeByID ¶
DeleteComputerExtensionAttributeByID deletes a computer extension attribute by its ID.
func (*Client) DeleteComputerExtensionAttributeByNameByID ¶
DeleteComputerExtensionAttributeByNameByID deletes a computer extension attribute by its name.
func (*Client) DeleteComputerGroupByID ¶
DeleteComputerGroupByID deletes a computer group by its ID.
func (*Client) DeleteComputerGroupByName ¶
DeleteComputerGroupByName deletes a computer group by its name.
func (*Client) DeleteComputerInventoryByID ¶
DeleteComputerInventoryByID deletes a computer's inventory information by its ID.
func (*Client) DeleteComputerInventoryCollectionSettingsCustomPathByID ¶
DeleteComputerInventoryCollectionSettingsCustomPathByID deletes a custom path by ID.
func (*Client) DeleteComputerInvitationByID ¶
DeleteComputerInvitationByID deletes a computer invitation by its ID.
func (*Client) DeleteComputerPrestageByID ¶
DeleteComputerPrestageByID deletes a computer prestage by its ID
func (*Client) DeleteComputerPrestageByName ¶
DeleteComputerPrestageByNameByID deletes a computer prestage by its name.
func (*Client) DeleteDepartmentByID ¶
DeleteDepartmentByID Deletes department with given id
func (*Client) DeleteDepartmentByName ¶
DeleteDepartmentByName deletes a department with given name, leverages GetDepartmentByName
func (*Client) DeleteDirectoryBindingByID ¶
DeleteDirectoryBindingByID deletes a directory binding by its ID.
func (*Client) DeleteDirectoryBindingByName ¶
DeleteDirectoryBindingByName deletes a directory binding by its name.
func (*Client) DeleteDiskEncryptionConfigurationByID ¶
DeleteDiskEncryptionConfigurationByID deletes a disk encryption configuration by its ID.
func (*Client) DeleteDiskEncryptionConfigurationByName ¶
DeleteDiskEncryptionConfigurationByName deletes a disk encryption configuration by its name.
func (*Client) DeleteDistributionPointByID ¶
DeleteDistributionPointByID deletes a distribution point by its ID.
func (*Client) DeleteDistributionPointByName ¶
DeleteDistributionPointByName deletes a distribution point by its name.
func (*Client) DeleteDockItemByID ¶
DeleteDockItemsByID deletes a dock item by its ID.
func (*Client) DeleteDockItemByName ¶
DeleteDockItemsByName deletes a dock item by its name.
func (*Client) DeleteEbookByID ¶
DeleteEbookByID deletes a ebook by its ID.
func (*Client) DeleteEbookByName ¶
DeleteEbookByName deletes a ebook by its name.
func (*Client) DeleteEnrollmentCustomizationByID ¶
Deletes resource enrollment customization by id
func (*Client) DeleteIBeaconByID ¶
DeleteIBeaconByID deletes an iBeacon by its ID in Jamf Pro.
func (*Client) DeleteIBeaconByName ¶
DeleteIBeaconByName deletes an iBeacon by its name in Jamf Pro.
func (*Client) DeleteJamfApiRoleByID ¶
DeleteJamfApiRoleByID deletes a Jamf API role by its ID
func (*Client) DeleteJamfApiRoleByName ¶
DeleteJamfApiRoleByName deletes a Jamf API role by its display name
func (*Client) DeleteJamfProtectIntegration ¶
func (*Client) DeleteLDAPServerByID ¶
DeleteLDAPServerByID deletes an LDAP server identified by its ID.
func (*Client) DeleteLDAPServerByName ¶
DeleteLDAPServerByName deletes an LDAP server identified by its name.
func (*Client) DeleteLicensedSoftwareByID ¶
DeleteLicensedSoftwareByID deletes a licensed software item by its ID.
func (*Client) DeleteLicensedSoftwareByName ¶
DeleteLicensedSoftwareByName deletes a licensed software item by its name.
func (*Client) DeleteMacApplicationByID ¶
DeleteMacApplicationByID deletes a MacApplication by its ID.
func (*Client) DeleteMacApplicationByName ¶
DeleteMacApplicationByName deletes a MacApplication by its name.
func (*Client) DeleteMacOSConfigurationProfileByID ¶
DeleteMacOSConfigurationProfileByID deletes a macOS Configuration Profile by its ID from the Jamf Pro server.
func (*Client) DeleteMacOSConfigurationProfileByName ¶
DeleteMacOSConfigurationProfileByName deletes a macOS Configuration Profile by its name from the Jamf Pro server.
func (*Client) DeleteMobileDeviceApplicationByBundleID ¶
DeleteMobileDeviceApplicationByBundleID deletes a mobile device application by its bundle ID from the Jamf Pro server.
func (*Client) DeleteMobileDeviceApplicationByBundleIDAndVersion ¶
DeleteMobileDeviceApplicationByBundleIDAndVersion deletes a mobile device application by its bundle ID and version from the Jamf Pro server.
func (*Client) DeleteMobileDeviceApplicationByName ¶
DeleteMobileDeviceApplicationByName deletes a mobile device application by its name from the Jamf Pro server.
func (*Client) DeleteMobileDeviceApplicationpByID ¶
DeleteMobileDeviceApplicationpByID deletes a mobile device application by its ID from the Jamf Pro server.
func (*Client) DeleteMobileDeviceByID ¶
DeleteMobileDeviceByID deletes a mobile device by its ID.
func (*Client) DeleteMobileDeviceByName ¶
DeleteMobileDeviceByName deletes a mobile device by its name.
func (*Client) DeleteMobileDeviceConfigurationProfileByID ¶
DeleteMobileDeviceConfigurationProfileByID deletes a mobile device configuration profile by its ID from the Jamf Pro server.
func (*Client) DeleteMobileDeviceConfigurationProfileByName ¶
DeleteMobileDeviceConfigurationProfileByName deletes a mobile device configuration profile by its name from the Jamf Pro server.
func (*Client) DeleteMobileDeviceEnrollmentProfileByID ¶
DeleteMobileDeviceEnrollmentProfileByID deletes a mobile device enrollment profile by its ID.
func (*Client) DeleteMobileDeviceEnrollmentProfileByInvitation ¶
DeleteMobileDeviceEnrollmentProfileByInvitation deletes a mobile device enrollment profile by its invitation.
func (*Client) DeleteMobileDeviceEnrollmentProfileByName ¶
DeleteMobileDeviceEnrollmentProfileByName deletes a mobile device enrollment profile by its name.
func (*Client) DeleteMobileDeviceGroupByID ¶
DeleteMobileDeviceGroupByID deletes a mobile device group by its ID.
func (*Client) DeleteMobileDeviceGroupByName ¶
DeleteMobileDeviceGroupByName deletes a mobile device group by its name.
func (*Client) DeleteMobileDevicePrestageByID ¶
DeleteMobileDevicePrestageByID a mobile prestage at the given id
func (*Client) DeleteMobileDeviceProvisioningProfileByID ¶
DeleteMobileDeviceProvisioningProfileByID deletes a mobile device provisioning profile by ID
func (*Client) DeleteMobileDeviceProvisioningProfileByName ¶
DeleteMobileDeviceProvisioningProfileByName deletes a mobile device provisioning profile by Name
func (*Client) DeleteMobileDeviceProvisioningProfileByUUID ¶
DeleteMobileDeviceProvisioningProfileByUUID deletes a mobile device provisioning profile by UUID
func (*Client) DeleteMobileExtensionAttributeByID ¶
DeleteMobileExtensionAttributeByID deletes a mobile extension attribute by its ID.
func (*Client) DeleteMobileExtensionAttributeByName ¶
DeleteMobileExtensionAttributeByName deletes a mobile extension attribute by its name.
func (*Client) DeleteMultipleBuildingsByID ¶
DeleteMultipleBuildingsByID deletes multiple buildings in Jamf Pro by their IDs.
func (*Client) DeleteMultipleCategoriesByID ¶
DeleteMultipleCategoriesByID deletes multiple categories by their IDs
func (*Client) DeleteNetworkSegmentByID ¶
DeleteNetworkSegmentByID deletes a policy by its ID.
func (*Client) DeleteNetworkSegmentByName ¶
DeleteNetworkSegmentByName deletes a policy by its name.
func (*Client) DeletePatchPolicyByID ¶
DeletePatchPolicyByID deletes a patch policy by its ID.
func (*Client) DeletePatchSoftwareTitleConfigurationById ¶
DeletePatchSoftwareTitleConfigurationById deletes a PatchSoftwareTitleConfiguration with given ID
func (*Client) DeletePolicyByID ¶
DeletePolicyByID deletes a policy by its ID.
func (*Client) DeletePolicyByName ¶
DeletePolicyByName deletes a policy by its name.
func (*Client) DeletePrinterByID ¶
DeletePrinterByID deletes a printer by its ID.
func (*Client) DeletePrinterByName ¶
DeletePrinterByName deletes a printer by its name.
func (*Client) DeleteRemovableMACAddressByID ¶
DeleteRemovableMACAddressByID deletes a removable MAC address by its ID.
func (*Client) DeleteRemovableMACAddressByName ¶
DeleteRemovableMACAddressByName deletes a removable MAC address by its name.
func (*Client) DeleteRestrictedSoftwareByID ¶
DeleteRestrictedSoftwareByID deletes a restricted software entry by its ID.
func (*Client) DeleteRestrictedSoftwareByName ¶
DeleteRestrictedSoftwareByName deletes a restricted software entry by its name.
func (*Client) DeleteScriptByID ¶
Deletes script with provided ID
func (*Client) DeleteScriptByName ¶
Leverages DeleteScriptByID and GetScripts to delete script by Name
func (*Client) DeleteSelfServiceBrandingMacOSByID ¶
DeleteSelfServiceBrandingMacOSByID deletes a self-service branding configuration for macOS by ID.
func (*Client) DeleteSelfServiceBrandingMacOSByName ¶
DeleteSelfServiceBrandingMacOSByName deletes a self-service branding configuration for macOS by name.
func (*Client) DeleteSiteByID ¶
DeleteSiteByID deletes a site by its ID.
func (*Client) DeleteSiteByName ¶
DeleteSiteByName deletes a site by its name.
func (*Client) DeleteSoftwareUpdateServerByID ¶
DeleteSoftwareUpdateServerByID deletes a software update server by its ID.
func (*Client) DeleteSoftwareUpdateServerByName ¶
DeleteSoftwareUpdateServerByName deletes a software update server by its name.
func (*Client) DeleteUserByEmail ¶
DeleteUserByEmail deletes a user by their email.
func (*Client) DeleteUserByID ¶
DeleteUserByID deletes a user by their ID.
func (*Client) DeleteUserByName ¶
DeleteUserByName deletes a user by their name.
func (*Client) DeleteUserExtensionAttributeByID ¶
DeleteUserExtensionAttributeByID deletes a user extension attribute by its ID.
func (*Client) DeleteUserExtensionAttributeByName ¶
DeleteUserExtensionAttributeByName deletes a user extension attribute by its name.
func (*Client) DeleteUserGroupByID ¶
DeleteUserGroupByID deletes a user group by its ID.
func (*Client) DeleteUserGroupByName ¶
DeleteUserGroupByName deletes a user group by its name.
func (*Client) DeleteVPPAccountByID ¶
DeleteVPPAccountByID deletes a specific VPP account by its ID.
func (*Client) DeleteVPPAssignmentByID ¶
DeleteVPPAssignmentByID deletes a VPP assignment by its ID
func (*Client) DeleteVolumePurchasingLocationByID ¶
DeleteVolumePurchasingLocationByID deletes a specific volume purchasing location by its ID.
func (*Client) DeleteVolumePurchasingSubscriptionByID ¶
DeleteVolumePurchasingSubscriptionByID deletes a volume purchasing subscription by its ID
func (*Client) DeleteVolumePurchasingSubscriptionByName ¶
DeleteVolumePurchasingSubscriptionByName finds a subscription by name and deletes it by its ID
func (*Client) DeleteWebhookByID ¶
func (*Client) DeleteWebhookByName ¶
func (*Client) DoPaginatedGet ¶
func (*Client) DownloadIcon ¶
DownloadIcon downloads an icon by its ID from Jamf Pro and saves it to the specified file path. The icon is saved to the path provided in the 'savePath' parameter.
func (*Client) GetADUESessionTokenSettings ¶
func (c *Client) GetADUESessionTokenSettings() (*ResourceADUETokenSettings, error)
func (*Client) GetAccountByID ¶
func (c *Client) GetAccountByID(id int) (*ResourceAccount, error)
GetAccountByID retrieves the Account by its ID
func (*Client) GetAccountByName ¶
func (c *Client) GetAccountByName(name string) (*ResourceAccount, error)
GetAccountByName retrieves the Account by its name
func (*Client) GetAccountGroupByID ¶
func (c *Client) GetAccountGroupByID(id int) (*ResourceAccountGroup, error)
GetAccountGroupByID gets an account group using its ID and returns a response.
func (*Client) GetAccountGroupByName ¶
func (c *Client) GetAccountGroupByName(name string) (*ResourceAccountGroup, error)
GetAccountByName retrieves the Account by its name
func (*Client) GetAccountPreferences ¶
func (c *Client) GetAccountPreferences() (*ResourceAccountPreferences, error)
GetAccountPreferences retrieves the jamf pro account settings.
func (*Client) GetAccounts ¶
func (c *Client) GetAccounts() (*ResponseAccountsList, error)
GetAccounts retrieves a list of all accounts (both users and groups).
func (*Client) GetActivationCode ¶
func (c *Client) GetActivationCode() (*ResourceActivationCode, error)
GetActivationCode retrieves the activation code.
func (*Client) GetActiveCertificateAuthority ¶
func (c *Client) GetActiveCertificateAuthority() (*ResponseActiveCertificateAuthority, error)
GetActiveCertificateAuthority retrieves the active certificate authority details.
func (*Client) GetAdvancedComputerSearchByID ¶
func (c *Client) GetAdvancedComputerSearchByID(id int) (*ResourceAdvancedComputerSearch, error)
GetAdvancedComputerSearchByID retrieves an advanced computer search by its ID
func (*Client) GetAdvancedComputerSearchByName ¶
func (c *Client) GetAdvancedComputerSearchByName(name string) (*ResourceAdvancedComputerSearch, error)
GetAdvancedComputerSearchesByName retrieves advanced computer searches by their name
func (*Client) GetAdvancedComputerSearches ¶
func (c *Client) GetAdvancedComputerSearches() (*ResponseAdvancedComputerSearchesList, error)
GetAdvancedComputerSearches retrieves all advanced computer searches.
func (*Client) GetAdvancedMobileDeviceSearchByID ¶
func (c *Client) GetAdvancedMobileDeviceSearchByID(id int) (*ResourceAdvancedMobileDeviceSearch, error)
GetAdvancedMobileDeviceSearchByID retrieves an advanced mobile device search by its ID.
func (*Client) GetAdvancedMobileDeviceSearchByName ¶
func (c *Client) GetAdvancedMobileDeviceSearchByName(name string) (*ResourceAdvancedMobileDeviceSearch, error)
GetAdvancedMobileDeviceSearchByName retrieves an advanced mobile device search by its name.
func (*Client) GetAdvancedMobileDeviceSearches ¶
func (c *Client) GetAdvancedMobileDeviceSearches() (*ResponseAdvancedMobileDeviceSearchesList, error)
GetAdvancedMobileDeviceSearches retrieves all advanced mobile device searches.
func (*Client) GetAdvancedUserSearchByID ¶
func (c *Client) GetAdvancedUserSearchByID(id int) (*ResourceAdvancedUserSearch, error)
GetAdvancedUserSearchByID retrieves an advanced user search by its ID
func (*Client) GetAdvancedUserSearchByName ¶
func (c *Client) GetAdvancedUserSearchByName(name string) (*ResourceAdvancedUserSearch, error)
GetAdvancedUserSearchByName retrieves an advanced user search by its name
func (*Client) GetAdvancedUserSearches ¶
func (c *Client) GetAdvancedUserSearches() (*ResponseAdvancedUserSearchesList, error)
GetAdvancedUserSearches retrieves all advanced user searches
func (*Client) GetAllowedFileExtensionByID ¶
func (c *Client) GetAllowedFileExtensionByID(id int) (*ResourceAllowedFileExtension, error)
GetAllowedFileExtensionByID retrieves the allowed file extension by its ID
func (*Client) GetAllowedFileExtensionByName ¶
func (c *Client) GetAllowedFileExtensionByName(name string) (*ResourceAllowedFileExtension, error)
GetAllowedFileExtensionByName retrieves the allowed file extension by its name
func (*Client) GetAllowedFileExtensions ¶
func (c *Client) GetAllowedFileExtensions() (*ResponseAllowedFileExtensionsList, error)
GetAllowedFileExtensions retrieves all allowed file extensions
func (*Client) GetApiIntegrationByID ¶
func (c *Client) GetApiIntegrationByID(id int) (*ResourceApiIntegration, error)
GetApiIntegrationByID fetches an API integration by its ID
func (*Client) GetApiIntegrationByName ¶
func (c *Client) GetApiIntegrationByName(name string) (*ResourceApiIntegration, error)
GetApiIntegrationNameByID fetches an API integration by its display name and then retrieves its details using its ID
func (*Client) GetApiIntegrations ¶
func (c *Client) GetApiIntegrations(sort_filter string) (*ResponseApiIntegrationsList, error)
GetApiIntegrations fetches all API integrations
func (*Client) GetBYOProfileByID ¶
func (c *Client) GetBYOProfileByID(id int) (*ResourceBYOProfile, error)
GetBYOProfileByID retrieves a BYO profile by its ID.
func (*Client) GetBYOProfileByName ¶
func (c *Client) GetBYOProfileByName(name string) (*ResourceBYOProfile, error)
GetBYOProfileByName retrieves a BYO profile by its name.
func (*Client) GetBYOProfiles ¶
func (c *Client) GetBYOProfiles() (*ResponseBYOProfilesList, error)
GetBYOProfiles gets a list of all BYO profiles.
func (*Client) GetBuildingByID ¶
func (c *Client) GetBuildingByID(id string) (*ResourceBuilding, error)
GetBuildingByID retrieves a single building information by its ID.
func (*Client) GetBuildingByName ¶
func (c *Client) GetBuildingByName(name string) (*ResourceBuilding, error)
GetBuildingByNameByID retrieves a single building information by its name using GetBuildingByID.
func (*Client) GetBuildingResourceHistoryByID ¶
func (c *Client) GetBuildingResourceHistoryByID(id, sort_filter string) (*ResponseBuildingResourceHistoryList, error)
GetBuildingResourceHistoryByID retrieves the resource history of a specific building by its ID.
func (*Client) GetBuildings ¶
func (c *Client) GetBuildings(sort_filter string) (*ResponseBuildingsList, error)
GetBuildings retrieves all building information with optional sorting.
func (*Client) GetCSATokenExchangeInfo ¶
func (c *Client) GetCSATokenExchangeInfo() (*ResourceCSATokenExchange, error)
func (*Client) GetCacheSettings ¶
func (c *Client) GetCacheSettings() (*ResourceCacheSettings, error)
GetCacheSettings gets the current cache settings.
func (*Client) GetCategories ¶
func (c *Client) GetCategories(sort_filter string) (*ResponseCategoriesList, error)
GetCategories retrieves all categories from the Jamf Pro API, handling pagination automatically. This function makes multiple API calls to fetch each page of category data and aggregates the results. It uses a loop to iterate through all available pages of categories. The default response contains information for 100 resources, this function is set to the maximum number of 2000. Parameters: - sort: A string specifying the sorting order of the returned categories. - filter: A string to filter the categories based on certain criteria.
func (*Client) GetCategoryByID ¶
func (c *Client) GetCategoryByID(id string) (*ResourceCategory, error)
GetCategoryByID retrieves a category by its ID
func (*Client) GetCategoryByName ¶
func (c *Client) GetCategoryByName(name string) (*ResourceCategory, error)
GetCategoryNameByID retrieves a category by its name and then retrieves its details using its ID
func (*Client) GetClassByID ¶
func (c *Client) GetClassByID(id int) (*ResourceClass, error)
GetClassesByID retrieves a class by its ID.
func (*Client) GetClassByName ¶
func (c *Client) GetClassByName(name string) (*ResourceClass, error)
GetClassesByName retrieves a class by its name.
func (*Client) GetClasses ¶
func (c *Client) GetClasses() (*ResponseClassesList, error)
GetClasses gets a list of all classes.
func (*Client) GetClientCheckinSettings ¶
func (c *Client) GetClientCheckinSettings() (*ResourceClientCheckinSettings, error)
func (*Client) GetCloudDistributionPointUploadCapability ¶
func (c *Client) GetCloudDistributionPointUploadCapability() (*ResourceCloudDistributionPointUploadCapability, error)
GetCloudDistributionPointUploadCapability retrieves the default server configuration for the Cloud Identity Provider.
func (*Client) GetCloudIdentityProviderByID ¶
func (c *Client) GetCloudIdentityProviderByID(id string) (*ResourceCloudIdp, error)
GetCloudIdentityProviderByID retrieves Cloud Identity Provider information.
func (*Client) GetCloudIdentityProviderDefaultServerMappings ¶
func (c *Client) GetCloudIdentityProviderDefaultServerMappings() (*CloudIdpServerSubsetCloudIdpServerMappings, error)
GetCloudIdentityProviderDefaultServerMappings retrieves the default mappings for the Cloud Identity Provider.
func (*Client) GetComputerByID ¶
func (c *Client) GetComputerByID(id int) (*ResponseComputer, error)
GetComputerByID retrieves the computer details by its ID.
func (*Client) GetComputerByName ¶
func (c *Client) GetComputerByName(name string) (*ResponseComputer, error)
GetComputerByName retrieves the computer by its name
func (*Client) GetComputerCheckinInformation ¶
func (c *Client) GetComputerCheckinInformation() (*ResourceComputerCheckin, error)
GetComputerCheckinInformation gets the jamf pro computer check-in settings
func (*Client) GetComputerExtensionAttributeByID ¶
func (c *Client) GetComputerExtensionAttributeByID(id int) (*ResourceComputerExtensionAttribute, error)
GetComputerExtensionAttributeByID retrieves a computer extension attribute by its ID.
func (*Client) GetComputerExtensionAttributeByName ¶
func (c *Client) GetComputerExtensionAttributeByName(name string) (*ResourceComputerExtensionAttribute, error)
GetComputerExtensionAttributeByName retrieves a computer extension attribute by its name.
func (*Client) GetComputerExtensionAttributes ¶
func (c *Client) GetComputerExtensionAttributes() (*ResponseComputerExtensionAttributesList, error)
GetComputerExtensionAttributes gets a list of all computer extension attributes
func (*Client) GetComputerFileVaultInventoryByID ¶
func (c *Client) GetComputerFileVaultInventoryByID(id string) (*FileVaultInventory, error)
GetComputerFileVaultInventoryByID returns file vault details by the computer ID.
func (*Client) GetComputerGroupByID ¶
func (c *Client) GetComputerGroupByID(id int) (*ResourceComputerGroup, error)
GetComputerGroupByID retrieves a computer group by its ID.
func (*Client) GetComputerGroupByName ¶
func (c *Client) GetComputerGroupByName(name string) (*ResourceComputerGroup, error)
GetComputerGroupByName retrieves a computer group by its name.
func (*Client) GetComputerGroups ¶
func (c *Client) GetComputerGroups() (*ResponseComputerGroupsList, error)
GetComputerGroups gets a list of all computer groups
func (*Client) GetComputerInventoryByID ¶
func (c *Client) GetComputerInventoryByID(id string) (*ResourceComputerInventory, error)
GetComputerInventoryByID retrieves a specific computer's inventory information by its ID.
func (*Client) GetComputerInventoryByName ¶
func (c *Client) GetComputerInventoryByName(name string) (*ResourceComputerInventory, error)
GetComputerInventoryByName retrieves a specific computer's inventory information by its name.
func (*Client) GetComputerInventoryCollectionSettings ¶
func (c *Client) GetComputerInventoryCollectionSettings() (*ResourceComputerInventoryCollectionSettings, error)
GetComputerInventoryCollectionSettingss retrives a computer inventory collection list.
func (*Client) GetComputerInvitationByID ¶
func (c *Client) GetComputerInvitationByID(id int) (*ResourceComputerInvitation, error)
Duplicate function ??? GetComputerInvitationByID retrieves a computer invitation by its ID.
func (*Client) GetComputerInvitationByInvitationID ¶
func (c *Client) GetComputerInvitationByInvitationID(id int) (*ResourceComputerInvitation, error)
GetComputerInvitationsByName retrieves a computer invitation by its invitation Name.
func (*Client) GetComputerInvitations ¶
func (c *Client) GetComputerInvitations() (*ResponseComputerInvitationsList, error)
GetComputerInvitations retrieves a list of all computer invitations.
func (*Client) GetComputerPrestageByID ¶
func (c *Client) GetComputerPrestageByID(id string) (*ResourceComputerPrestage, error)
GetComputerPrestageByID retrieves a specific computer prestage by its ID.
func (*Client) GetComputerPrestageByName ¶
func (c *Client) GetComputerPrestageByName(name string) (*ResourceComputerPrestage, error)
GetComputerPrestageByName retrieves a specific computer prestage by its name.
func (*Client) GetComputerPrestages ¶
func (c *Client) GetComputerPrestages(sort_filter string) (*ResponseComputerPrestagesList, error)
GetComputerPrestagesV3 retrieves all computer prestage information with optional sorting.
func (*Client) GetComputerRecoveryLockPasswordByID ¶
func (c *Client) GetComputerRecoveryLockPasswordByID(id string) (*ResponseRecoveryLockPassword, error)
GetComputerRecoveryLockPasswordByID returns a computer recover lock password by the computer ID.
func (*Client) GetComputers ¶
func (c *Client) GetComputers() (*ResponseComputersList, error)
GetComputers retrieves all computers
func (*Client) GetComputersFileVaultInventory ¶
func (c *Client) GetComputersFileVaultInventory(sort_filter string) (*FileVaultInventoryList, error)
GetComputersFileVaultInventory retrieves all computer inventory filevault information.
func (*Client) GetComputersInventory ¶
func (c *Client) GetComputersInventory(sort_filter string) (*ResponseComputerInventoryList, error)
GetComputersInventory retrieves all computer inventory information with optional sorting and section filters.
func (*Client) GetConditionalAccessDeviceComplianceFeatureEnablement ¶
func (c *Client) GetConditionalAccessDeviceComplianceFeatureEnablement() (*ResourceConditionalAccessDeviceComplianceStatus, error)
GetConditionalAccessDeviceComplianceFeatureEnablement retrieves the enablement state of the device compliance settinfs for CA.
func (*Client) GetDefaultCloudIdentityProvider ¶
func (c *Client) GetDefaultCloudIdentityProvider() (*ResourceCloudIdpServer, error)
GetDefaultCloudIdentityProvider retrieves the default server configuration for the Cloud Identity Provider.
func (*Client) GetDefaultCloudIdentityProviderDefaultMappings ¶
func (c *Client) GetDefaultCloudIdentityProviderDefaultMappings(providerName string) (*ResponseCloudIdentityProviderDefaultMappings, error)
func (*Client) GetDepartmentByID ¶
func (c *Client) GetDepartmentByID(id string) (*ResourceDepartment, error)
GetDepartmentByID retrieves a department by ID.
func (*Client) GetDepartmentByName ¶
func (c *Client) GetDepartmentByName(name string) (*ResourceDepartment, error)
GetDepartmentByName retrieves a department by Name.
func (*Client) GetDepartments ¶
func (c *Client) GetDepartments(sort_filter string) (*ResponseDepartmentsList, error)
GetDepartments retrieves a list of all departments in list
func (*Client) GetDeviceCommunicationSettings ¶
func (c *Client) GetDeviceCommunicationSettings() (*ResourceDeviceCommunicationSettings, error)
Gets device communication settings
func (*Client) GetDeviceEnrollments ¶
func (c *Client) GetDeviceEnrollments(sort_filter string) (*ResponseDeviceEnrollmentsList, error)
GetDeviceEnrollments retrieves a paginated list of device enrollments.
func (*Client) GetDeviceScopeForComputerPrestageByID ¶
func (c *Client) GetDeviceScopeForComputerPrestageByID(id string) (*ResponseDeviceScope, error)
GetDeviceScopeForComputerPrestage retrieves the device scope for a specific computer prestage by its ID.
func (*Client) GetDirectoryBindingByID ¶
func (c *Client) GetDirectoryBindingByID(id int) (*ResponseDirectoryBinding, error)
GetDirectoryBindingByID retrieves a single directory binding by its ID.
func (*Client) GetDirectoryBindingByName ¶
func (c *Client) GetDirectoryBindingByName(name string) (*ResponseDirectoryBinding, error)
GetDirectoryBindingByName retrieves a single directory binding by its name.
func (*Client) GetDirectoryBindings ¶
func (c *Client) GetDirectoryBindings() (*ResponseDirectoryBindingsList, error)
GetDirectoryBindings retrieves a serialized list of directory bindings.
func (*Client) GetDiskEncryptionConfigurationByID ¶
func (c *Client) GetDiskEncryptionConfigurationByID(id int) (*ResourceDiskEncryptionConfiguration, error)
GetDiskEncryptionConfigurationByID retrieves a single disk encryption configuration by its ID.
func (*Client) GetDiskEncryptionConfigurationByName ¶
func (c *Client) GetDiskEncryptionConfigurationByName(name string) (*ResourceDiskEncryptionConfiguration, error)
GetDiskEncryptionConfigurationByName retrieves a disk encryption configuration by its name.
func (*Client) GetDiskEncryptionConfigurations ¶
func (c *Client) GetDiskEncryptionConfigurations() (*ResponseDiskEncryptionConfigurationsList, error)
GetDiskEncryptionConfigurations retrieves a serialized list of disk encryption configurations.
func (*Client) GetDistributionPointByID ¶
func (c *Client) GetDistributionPointByID(id int) (*ResourceFileShareDistributionPoint, error)
GetDistributionPointByID retrieves a single distribution point by its ID.
func (*Client) GetDistributionPointByName ¶
func (c *Client) GetDistributionPointByName(name string) (*ResourceFileShareDistributionPoint, error)
GetDistributionPointByName retrieves a single distribution point by its name.
func (*Client) GetDistributionPoints ¶
func (c *Client) GetDistributionPoints() (*ResponseDistributionPointsList, error)
GetDistributionPoints retrieves a serialized list of distribution points.
func (*Client) GetDockItemByID ¶
func (c *Client) GetDockItemByID(id int) (*ResourceDockItem, error)
GetDockItemsByID retrieves a single dock item by its ID.
func (*Client) GetDockItemByName ¶
func (c *Client) GetDockItemByName(name string) (*ResourceDockItem, error)
GetDockItemsByName retrieves a single dock item by its name.
func (*Client) GetDockItems ¶
func (c *Client) GetDockItems() (*ResponseDockItemsList, error)
GetDockItems retrieves a serialized list of dock items.
func (*Client) GetEbookByID ¶
func (c *Client) GetEbookByID(id int) (*ResourceEbooks, error)
GetEbooksByID retrieves a single ebook by its ID.
func (*Client) GetEbookByName ¶
func (c *Client) GetEbookByName(name string) (*ResourceEbooks, error)
GetEbooksByName retrieves a single ebook by its name.
func (*Client) GetEbookByNameAndDataSubset ¶
func (c *Client) GetEbookByNameAndDataSubset(name, subset string) (*ResourceEbooks, error)
GetEbooksByNameAndDataSubset retrieves a specific subset of an ebook by its name.
func (*Client) GetEbooks ¶
func (c *Client) GetEbooks() (*ResponseEbooksList, error)
GetEbooks retrieves a serialized list of ebooks.
func (*Client) GetEnrollmentCustomizationByID ¶
func (c *Client) GetEnrollmentCustomizationByID(id string) (*ResourceEnrollmentCustomization, error)
Returns single ResourceEnrollmentCustomization object matching given id
func (*Client) GetEnrollmentCustomizations ¶
func (c *Client) GetEnrollmentCustomizations(sort_filter string) (*ResponseEnrollmentCustomizationList, error)
Returns paginated list of Enrollment Customization
func (*Client) GetGSXConnectionInformation ¶
func (c *Client) GetGSXConnectionInformation() (*ResourceGSXConnection, error)
GetGSXConnectionInformation gets the GSX connection settings
func (*Client) GetIBeaconByID ¶
func (c *Client) GetIBeaconByID(id int) (*ResourceIBeacons, error)
GetIBeaconByID fetches the details of a specific iBeacon by its ID. It returns the iBeacon's ID, name, UUID, major, and minor values.
func (*Client) GetIBeaconByName ¶
func (c *Client) GetIBeaconByName(name string) (*ResourceIBeacons, error)
GetIBeaconByName fetches the details of a specific iBeacon by its name. It returns the iBeacon's ID, name, UUID, major, and minor values.
func (*Client) GetIBeacons ¶
func (c *Client) GetIBeacons() (*ResponseIBeaconsList, error)
GetIBeacons retrieves a list of all iBeacons registered in Jamf Pro.
func (*Client) GetJCDS2Files ¶
func (c *Client) GetJCDS2Files() (*ResponseJCDS2List, error)
GetJCDS2Files fetches a file list from Jamf Cloud Distribution Service
func (*Client) GetJamfAPIPrivileges ¶
func (c *Client) GetJamfAPIPrivileges() (*ResourceApiRolePrivilegesList, error)
GetJamfAPIPrivileges fetches a list of Jamf API role privileges
func (*Client) GetJamfAPIPrivilegesByName ¶
func (c *Client) GetJamfAPIPrivilegesByName(name string, limit int) (*ResourceApiRolePrivilegesList, error)
GetJamfAPIPrivilegesByName fetches a list of Jamf API role privileges by name
func (*Client) GetJamfAPIRoles ¶
func (c *Client) GetJamfAPIRoles(sort_filter string) (*ResponseApiRolesList, error)
GetJamfAPIRoles fetches a list of Jamf API roles
func (*Client) GetJamfApiRoleByID ¶
func (c *Client) GetJamfApiRoleByID(id string) (*ResourceAPIRole, error)
GetJamfApiRolesByID fetches a Jamf API role by its ID.
func (*Client) GetJamfApiRoleByName ¶
func (c *Client) GetJamfApiRoleByName(name string) (*ResourceAPIRole, error)
GetJamfApiRolesNameById fetches a Jamf API role by its display name and then retrieves its details using its ID.
func (*Client) GetJamfProInformation ¶
func (c *Client) GetJamfProInformation() (*ResponseJamfProInformation, error)
func (*Client) GetJamfProServerUrlSettings ¶
func (c *Client) GetJamfProServerUrlSettings() (*ResourceJamfProServerURL, error)
Returns ResourceJamfProServerURL
func (*Client) GetJamfProVersion ¶
func (c *Client) GetJamfProVersion() (*ResponseJamfProVersion, error)
func (*Client) GetJamfProtectIntegrationSettings ¶
func (c *Client) GetJamfProtectIntegrationSettings() (*ResourceJamfProtectIntegrationSettings, error)
func (*Client) GetLDAPServerByID ¶
func (c *Client) GetLDAPServerByID(id int) (*ResourceLDAPServers, error)
GetLDAPServerByID retrieves the details of a specific LDAP server by its ID.
func (*Client) GetLDAPServerByIDAndGroupDataSubset ¶
func (c *Client) GetLDAPServerByIDAndGroupDataSubset(id int, group string) (*ResourceLDAPServers, error)
GetLDAPServerByIDAndGroupDataSubset retrieves information about matching groups for a specific LDAP server by its ID.
func (*Client) GetLDAPServerByIDAndUserDataSubset ¶
func (c *Client) GetLDAPServerByIDAndUserDataSubset(id int, user string) (*ResourceLDAPServers, error)
GetLDAPServerByIDAndUserDataSubset retrieves information about matching users for a specific LDAP server by its ID.
func (*Client) GetLDAPServerByIDAndUserMembershipInGroupDataSubset ¶
func (c *Client) GetLDAPServerByIDAndUserMembershipInGroupDataSubset(id int, group, user string) (*ResourceLDAPServers, error)
GetLDAPServerByIDAndUserMembershipInGroupDataSubset retrieves information about user membership in a group for an LDAP server specified by its ID.
func (*Client) GetLDAPServerByName ¶
func (c *Client) GetLDAPServerByName(name string) (*ResourceLDAPServers, error)
GetLDAPServerByName retrieves the details of a specific LDAP server by its name.
func (*Client) GetLDAPServerByNameAndGroupDataSubset ¶
func (c *Client) GetLDAPServerByNameAndGroupDataSubset(name, group string) (*ResourceLDAPServers, error)
GetLDAPServerByNameAndGroupDataSubset retrieves information about groups for a specific LDAP server specified by its name.
func (*Client) GetLDAPServerByNameAndUserDataSubset ¶
func (c *Client) GetLDAPServerByNameAndUserDataSubset(name, user string) (*ResourceLDAPServers, error)
GetLDAPServerByNameAndUserDataSubset retrieves information about matching users for a specific LDAP server specified by its name.
func (*Client) GetLDAPServerByNameAndUserMembershipInGroupDataSubset ¶
func (c *Client) GetLDAPServerByNameAndUserMembershipInGroupDataSubset(name, group, user string) (*ResourceLDAPServers, error)
GetLDAPServerByNameAndUserMembershipInGroupDataSubset retrieves information about user membership in a group for a specific LDAP server by its name.
func (*Client) GetLDAPServers ¶
func (c *Client) GetLDAPServers() (*ResponseLDAPServersList, error)
GetLDAPServers retrieves a serialized list of LDAP servers.
func (*Client) GetLicensedSoftware ¶
func (c *Client) GetLicensedSoftware() (*ResponseLicensedSoftwareList, error)
GetLicensedSoftware retrieves a serialized list of licensed software.
func (*Client) GetLicensedSoftwareByID ¶
func (c *Client) GetLicensedSoftwareByID(id int) (*ResourceLicensedSoftware, error)
GetLicensedSoftwareByID retrieves details of a specific licensed software by its ID.
func (*Client) GetLicensedSoftwareByName ¶
func (c *Client) GetLicensedSoftwareByName(name string) (*ResourceLicensedSoftware, error)
GetLicensedSoftwareByName retrieves details of a specific licensed software by its name.
func (*Client) GetMacApplicationByID ¶
func (c *Client) GetMacApplicationByID(id int) (*ResourceMacApplications, error)
GetMacApplicationByID retrieves a single Mac application by its ID.
func (*Client) GetMacApplicationByIDAndDataSubset ¶
func (c *Client) GetMacApplicationByIDAndDataSubset(id int, subset string) (*ResourceMacApplications, error)
GetMacApplicationByNameAndDataSubset retrieves a specific Mac Application by its ID and filters by a specific data subset. Subset values can be General, Scope, SelfService, VPPCodes and VPP.
func (*Client) GetMacApplicationByName ¶
func (c *Client) GetMacApplicationByName(name string) (*ResourceMacApplications, error)
GetMacApplicationByName retrieves a single Mac application by its name.
func (*Client) GetMacApplicationByNameAndDataSubset ¶
func (c *Client) GetMacApplicationByNameAndDataSubset(name, subset string) (*ResourceMacApplications, error)
GetMacApplicationByNameAndDataSubset retrieves a specific Mac Application by its name and filters by a specific data subset. Subset values can be General, Scope, SelfService, VPPCodes and VPP.
func (*Client) GetMacApplications ¶
func (c *Client) GetMacApplications() (*ResponseMacApplicationsList, error)
GetDockItems retrieves a serialized list of vpp mac applications.
func (*Client) GetMacOSConfigurationProfileByID ¶
func (c *Client) GetMacOSConfigurationProfileByID(id int) (*ResourceMacOSConfigurationProfile, error)
GetMacOSConfigurationProfileByID fetches a specific macOS Configuration Profile by its ID from the Jamf Pro server.
func (*Client) GetMacOSConfigurationProfileByName ¶
func (c *Client) GetMacOSConfigurationProfileByName(name string) (*ResourceMacOSConfigurationProfile, error)
GetMacOSConfigurationProfileByName fetches a specific macOS Configuration Profile by its name from the Jamf Pro server.
func (*Client) GetMacOSConfigurationProfileByNameByID ¶
func (c *Client) GetMacOSConfigurationProfileByNameByID(name string) (*ResourceMacOSConfigurationProfile, error)
GetMacOSConfigurationProfileByNameByID retrieves the details of a macOS Configuration Profile by its name.
func (*Client) GetMacOSConfigurationProfiles ¶
func (c *Client) GetMacOSConfigurationProfiles() (*ResponseMacOSConfigurationProfileList, error)
GetMacOSConfigurationProfiles fetches a list of all macOS Configuration Profiles from the Jamf Pro server.
func (*Client) GetMobileDeviceApplicationByAppBundleID ¶
func (c *Client) GetMobileDeviceApplicationByAppBundleID(id string) (*ResourceMobileDeviceApplication, error)
GetMobileDeviceApplicationByAppBundleID fetches a specific mobile device application by its bundle ID from the Jamf Pro server.
func (*Client) GetMobileDeviceApplicationByAppBundleIDAndVersion ¶
func (c *Client) GetMobileDeviceApplicationByAppBundleIDAndVersion(id string, version string) (*ResourceMobileDeviceApplication, error)
GetMobileDeviceApplicationByAppBundleIDAndVersion fetches a specific mobile device application by its bundle ID and version from the Jamf Pro server.
func (*Client) GetMobileDeviceApplicationByID ¶
func (c *Client) GetMobileDeviceApplicationByID(id int) (*ResourceMobileDeviceApplication, error)
GetMobileDeviceApplicationByID fetches a specific mobile device application by its ID from the Jamf Pro server.
func (*Client) GetMobileDeviceApplicationByIDAndDataSubset ¶
func (c *Client) GetMobileDeviceApplicationByIDAndDataSubset(id int, subset string) (*ResourceMobileDeviceApplication, error)
GetMobileDeviceApplicationByIDAndDataSubset fetches a specific mobile device application by its ID and a specified data subset from the Jamf Pro server.
func (*Client) GetMobileDeviceApplicationByName ¶
func (c *Client) GetMobileDeviceApplicationByName(name string) (*ResourceMobileDeviceApplication, error)
GetMobileDeviceApplicationByName fetches a specific mobile device application by its name from the Jamf Pro server.
func (*Client) GetMobileDeviceApplicationByNameAndDataSubset ¶
func (c *Client) GetMobileDeviceApplicationByNameAndDataSubset(name string, subset string) (*ResourceMobileDeviceApplication, error)
GetMobileDeviceApplicationByNameAndDataSubset fetches a specific mobile device application by its name and a specified data subset from the Jamf Pro server.
func (*Client) GetMobileDeviceApplications ¶
func (c *Client) GetMobileDeviceApplications() (*ResponseMobileDeviceApplicationsList, error)
GetMobileDeviceApplications retrieves a serialized list of mobile device applications.
func (*Client) GetMobileDeviceByID ¶
func (c *Client) GetMobileDeviceByID(id int) (*ResourceMobileDevice, error)
GetMobileDeviceByID retrieves a specific mobile device by its ID.
func (*Client) GetMobileDeviceByIDAndDataSubset ¶
func (c *Client) GetMobileDeviceByIDAndDataSubset(id int, subset string) (*ResourceMobileDevice, error)
GetMobileDeviceByIDAndDataSubset retrieves a specific subset of data for a mobile device by its ID.
func (*Client) GetMobileDeviceByName ¶
func (c *Client) GetMobileDeviceByName(name string) (*ResourceMobileDevice, error)
GetMobileDeviceByName retrieves a specific mobile device by its name.
func (*Client) GetMobileDeviceByNameAndDataSubset ¶
func (c *Client) GetMobileDeviceByNameAndDataSubset(name, subset string) (*ResourceMobileDevice, error)
GetMobileDeviceByNameAndDataSubset retrieves a specific subset of data for a mobile device by its name.
func (*Client) GetMobileDeviceConfigurationProfileByID ¶
func (c *Client) GetMobileDeviceConfigurationProfileByID(id int) (*ResourceMobileDeviceConfigurationProfile, error)
GetMobileDeviceConfigurationProfileByID fetches a specific mobile device configuration profile by its ID.
func (*Client) GetMobileDeviceConfigurationProfileByIDWithSubset ¶
func (c *Client) GetMobileDeviceConfigurationProfileByIDWithSubset(id int, subset string) (*ResourceMobileDeviceConfigurationProfile, error)
GetMobileDeviceConfigurationProfileByIDBySubset fetches a specific mobile device configuration profile by its ID and a specified subset.
func (*Client) GetMobileDeviceConfigurationProfileByName ¶
func (c *Client) GetMobileDeviceConfigurationProfileByName(name string) (*ResourceMobileDeviceConfigurationProfile, error)
GetMobileDeviceConfigurationProfileByName fetches a specific mobile device configuration profile by its name.
func (*Client) GetMobileDeviceConfigurationProfileByNameWithSubset ¶
func (c *Client) GetMobileDeviceConfigurationProfileByNameWithSubset(name string, subset string) (*ResourceMobileDeviceConfigurationProfile, error)
GetMobileDeviceConfigurationProfileByNameBySubset fetches a specific mobile device configuration profile by its name and a specified subset.
func (*Client) GetMobileDeviceConfigurationProfiles ¶
func (c *Client) GetMobileDeviceConfigurationProfiles() (*ResponseMobileDeviceConfigurationProfilesList, error)
GetMobileDeviceConfigurationProfiles retrieves a serialized list of mobile device configuration profiles.
func (*Client) GetMobileDeviceEnrollmentProfileByID ¶
func (c *Client) GetMobileDeviceEnrollmentProfileByID(id int) (*ResourceMobileDeviceEnrollmentProfile, error)
GetMobileDeviceEnrollmentProfileByID fetches a specific mobile device enrollment profile by its ID.
func (*Client) GetMobileDeviceEnrollmentProfileByIDWithSubset ¶
func (c *Client) GetMobileDeviceEnrollmentProfileByIDWithSubset(id int, subset string) (*ResourceMobileDeviceEnrollmentProfile, error)
GetMobileDeviceEnrollmentProfileByIDBySubset fetches a specific mobile device configuration profile by its ID and a specified subset.
func (*Client) GetMobileDeviceEnrollmentProfileByName ¶
func (c *Client) GetMobileDeviceEnrollmentProfileByName(name string) (*ResourceMobileDeviceEnrollmentProfile, error)
GetMobileDeviceEnrollmentProfileByName fetches a specific mobile device enrollment profile by its name.
func (*Client) GetMobileDeviceEnrollmentProfileByNameWithSubset ¶
func (c *Client) GetMobileDeviceEnrollmentProfileByNameWithSubset(name string, subset string) (*ResourceMobileDeviceEnrollmentProfile, error)
GetMobileDeviceEnrollmentProfileByNameBySubset fetches a specific mobile device configuration profile by its name and a specified subset.
func (*Client) GetMobileDeviceEnrollmentProfiles ¶
func (c *Client) GetMobileDeviceEnrollmentProfiles() (*ResponseMobileDeviceEnrollmentProfilesList, error)
GetMobileDeviceEnrollmentProfiles retrieves a serialized list of mobile device enrollment profiles.
func (*Client) GetMobileDeviceGroupByID ¶
func (c *Client) GetMobileDeviceGroupByID(id int) (*ResourceMobileDeviceGroup, error)
GetMobileDeviceGroupsByID retrieves a single mobile device group by its ID.
func (*Client) GetMobileDeviceGroupByName ¶
func (c *Client) GetMobileDeviceGroupByName(name string) (*ResourceMobileDeviceGroup, error)
GetMobileDeviceGroupsByName retrieves a single mobile device group by its name.
func (*Client) GetMobileDeviceGroups ¶
func (c *Client) GetMobileDeviceGroups() (*ResponseMobileDeviceGroupsList, error)
GetMobileDeviceGroups retrieves a serialized list of mobile device groups.
func (*Client) GetMobileDevicePrestageByID ¶
func (c *Client) GetMobileDevicePrestageByID(id string) (*ResourceMobileDevicePrestage, error)
GetMobileDevicePrestageByID retrieves a single mobile prestage from the supplied ID
func (*Client) GetMobileDevicePrestages ¶
func (c *Client) GetMobileDevicePrestages(sort_filter string) (*ResponseMobileDevicePrestagesList, error)
GetMobileDevicePrestages retrieves a list of all mobile prestages
func (*Client) GetMobileDeviceProvisioningProfileByID ¶
func (c *Client) GetMobileDeviceProvisioningProfileByID(id int) (*ResourceMobileDeviceProvisioningProfile, error)
GetMobileDeviceProvisioningProfileByID fetches a specific mobile device provisioning profile by its ID.
func (*Client) GetMobileDeviceProvisioningProfileByName ¶
func (c *Client) GetMobileDeviceProvisioningProfileByName(name string) (*ResourceMobileDeviceProvisioningProfile, error)
GetMobileDeviceProvisioningProfileByName fetches a specific mobile device provisioning profile by its name.
func (*Client) GetMobileDeviceProvisioningProfileByUUID ¶
func (c *Client) GetMobileDeviceProvisioningProfileByUUID(uuid string) (*ResourceMobileDeviceProvisioningProfile, error)
GetMobileDeviceProvisioningProfileByUUID fetches a specific mobile device provisioning profile by its UUID.
func (*Client) GetMobileDeviceProvisioningProfiles ¶
func (c *Client) GetMobileDeviceProvisioningProfiles() (*ResponseMobileDeviceProvisioningProfilesList, error)
GetMobileDeviceProvisioningProfiles retrieves a serialized list of mobile device provisioning profiles.
func (*Client) GetMobileDevices ¶
func (c *Client) GetMobileDevices() (*ResponseMobileDeviceList, error)
GetMobileDevices retrieves a list of all mobile devices.
func (*Client) GetMobileExtensionAttributeByID ¶
func (c *Client) GetMobileExtensionAttributeByID(id int) (*ResourceMobileExtensionAttribute, error)
GetMobileExtensionAttributeByID fetches a specific mobile extension attribute by its ID.
func (*Client) GetMobileExtensionAttributeByName ¶
func (c *Client) GetMobileExtensionAttributeByName(name string) (*ResourceMobileExtensionAttribute, error)
GetMobileExtensionAttributeByName fetches a specific mobile extension attribute by its name.
func (*Client) GetMobileExtensionAttributes ¶
func (c *Client) GetMobileExtensionAttributes() (*ResponseMobileDeviceExtensionAttributesList, error)
GetMobileExtensionAttributes retrieves a serialized list of mobile device extension attributes.
func (*Client) GetNetworkSegmentByID ¶
func (c *Client) GetNetworkSegmentByID(id int) (*ResourceNetworkSegment, error)
GetNetworkSegmentByID retrieves a specific network segment by its ID.
func (*Client) GetNetworkSegmentByName ¶
func (c *Client) GetNetworkSegmentByName(name string) (*ResourceNetworkSegment, error)
GetNetworkSegmentByName retrieves a specific network segment by its name.
func (*Client) GetNetworkSegments ¶
func (c *Client) GetNetworkSegments() (*ResponseNetworkSegmentList, error)
GetNetworkSegments retrieves a list of network segments.
func (*Client) GetPackageInfoByApplicationV1 ¶
func (c *Client) GetPackageInfoByApplicationV1(application string) (*ResponsePackageListV1, error)
GetPackageInfoByApplicationV1 Returns a list of package info from the v1 api
func (*Client) GetPackageInfoByApplicationV2 ¶
func (c *Client) GetPackageInfoByApplicationV2(application string) (*ResponsePackageV2, error)
GetPackageInfoByApplicationV1 Returns a list of package info from the v2 api with more info
func (*Client) GetPatchPoliciesByID ¶
func (c *Client) GetPatchPoliciesByID(id int) (*ResourcePatchPolicies, error)
GetPatchPoliciesByID retrieves the details of a patch policy by its ID.
func (*Client) GetPatchPolicyByIDAndDataSubset ¶
func (c *Client) GetPatchPolicyByIDAndDataSubset(id int, subset string) (*ResourcePatchPolicies, error)
GetPatchPolicyByIDAndDataSubset retrieves a specific subset of data for a patch policy by its ID.
func (*Client) GetPatchSoftwareTitleConfigurationById ¶
func (c *Client) GetPatchSoftwareTitleConfigurationById(id string) (*ResourcePatchSoftwareTitleConfiguration, error)
GetPatchSoftwareTitleConfigurationById retrieves a singular PatchSoftwareTitleConfiguration from a given ID
func (*Client) GetPatchSoftwareTitleConfigurationByName ¶
func (c *Client) GetPatchSoftwareTitleConfigurationByName(name string) (*ResourcePatchSoftwareTitleConfiguration, error)
GetPatchSoftwareTitleConfigurationByName retrieves a department by Name.
func (*Client) GetPatchSoftwareTitleConfigurations ¶
func (c *Client) GetPatchSoftwareTitleConfigurations() (*ResponsePatchSoftwareTitleConfigurationList, error)
GetPatchSoftwareTitleConfigurations retrieves list of PatchSoftwareTitleConfigurations
func (*Client) GetPolicies ¶
func (c *Client) GetPolicies() (*ResponsePoliciesList, error)
GetPolicies retrieves a list of all policies.
func (*Client) GetPoliciesByType ¶
func (c *Client) GetPoliciesByType(createdBy string) (*ResponsePoliciesList, error)
GetPoliciesByType retrieves policies by the type of entity that created them. The createdBy param can be either the value 'casper' which refers to Casper Remote. Or the value 'jss', which refers to policies created in the GUI or via the API.
func (*Client) GetPolicyByCategory ¶
func (c *Client) GetPolicyByCategory(category string) (*ResponsePoliciesList, error)
GetPolicyByCategory retrieves policies by their category.
func (*Client) GetPolicyByID ¶
func (c *Client) GetPolicyByID(id int) (*ResourcePolicy, error)
GetPolicyByID retrieves the details of a policy by its ID.
func (*Client) GetPolicyByName ¶
func (c *Client) GetPolicyByName(name string) (*ResourcePolicy, error)
GetPolicyByName retrieves a policy by its name.
func (*Client) GetPrinterByID ¶
func (c *Client) GetPrinterByID(id int) (*ResourcePrinter, error)
GetPrinterByID fetches a specific printer by its ID.
func (*Client) GetPrinterByName ¶
func (c *Client) GetPrinterByName(name string) (*ResourcePrinter, error)
GetPrinterByName fetches a specific printer by its name.
func (*Client) GetPrinters ¶
func (c *Client) GetPrinters() (*ResponsePrintersList, error)
GetPrinters retrieves a serialized list of printers.
func (*Client) GetProfileByInvitation ¶
func (c *Client) GetProfileByInvitation(invitation string) (*ResourceMobileDeviceEnrollmentProfile, error)
GetProfileByInvitation fetches a specific mobile device enrollment profile by its invitation.
func (*Client) GetRemovableMACAddressByID ¶
func (c *Client) GetRemovableMACAddressByID(id int) (*ResourceRemovableMacAddress, error)
GetRemovableMACAddressByID retrieves the details of a removable MAC address by its ID.
func (*Client) GetRemovableMACAddressByName ¶
func (c *Client) GetRemovableMACAddressByName(name string) (*ResourceRemovableMacAddress, error)
GetRemovableMACAddressByName retrieves the details of a removable MAC address by its name.
func (*Client) GetRemovableMACAddresses ¶
func (c *Client) GetRemovableMACAddresses() (*ResponseRemovableMacAddressesList, error)
GetRemovableMACAddresses retrieves a list of all removable MAC addresses.
func (*Client) GetRestrictedSoftwareByID ¶
func (c *Client) GetRestrictedSoftwareByID(id int) (*ResourceRestrictedSoftware, error)
GetRestrictedSoftwareByID fetches the details of a specific restricted software entry by its ID.
func (*Client) GetRestrictedSoftwareByName ¶
func (c *Client) GetRestrictedSoftwareByName(name string) (*ResourceRestrictedSoftware, error)
GetRestrictedSoftwareByName retrieves the details of a specific restricted software entry by its name.
func (*Client) GetRestrictedSoftwares ¶
func (c *Client) GetRestrictedSoftwares() (*ResponseRestrictedSoftwaresList, error)
GetRestrictedSoftwares retrieves a list of all restricted software.
func (*Client) GetSMTPServerInformation ¶
func (c *Client) GetSMTPServerInformation() (*ResourceSMTPServer, error)
GetSMTPServerInformation gets the SMTP server settings
func (*Client) GetSSOFailoverSettings ¶
func (c *Client) GetSSOFailoverSettings() (*ResponseSSOFailover, error)
GetSSOFailoverSettings fetches SSO failover settings from Jamf Pro
func (*Client) GetScriptByID ¶
func (c *Client) GetScriptByID(id string) (*ResourceScript, error)
Retrieves script from provided ID & returns ResourceScript
func (*Client) GetScriptByName ¶
func (c *Client) GetScriptByName(name string) (*ResourceScript, error)
Retrieves script by Name by leveraging GetScripts(), returns ResourceScript
func (*Client) GetScripts ¶
func (c *Client) GetScripts(sort_filter string) (*ResponseScriptsList, error)
Gets full list of scripts & handles pagination
func (*Client) GetSelfServiceBrandingMacOS ¶
func (c *Client) GetSelfServiceBrandingMacOS(sort_filter string) (*ResponseSelfServiceBrandingList, error)
GetSelfServiceBrandingMacOS retrieves the list of self-service branding configurations for macOS.
func (*Client) GetSelfServiceBrandingMacOSByID ¶
func (c *Client) GetSelfServiceBrandingMacOSByID(id string) (*ResourceSelfServiceBrandingDetail, error)
GetSelfServiceBrandingMacOSByID retrieves a specific self-service branding configuration for macOS by ID.
func (*Client) GetSelfServiceBrandingMacOSByName ¶
func (c *Client) GetSelfServiceBrandingMacOSByName(name string) (*ResourceSelfServiceBrandingDetail, error)
GetSelfServiceBrandingMacOSByNameByID retrieves a specific self-service branding configuration for macOS by its name.
func (*Client) GetSiteByID ¶
func (c *Client) GetSiteByID(id int) (*SharedResourceSite, error)
GetSiteByID retrieves a site by its ID.
func (*Client) GetSiteByName ¶
func (c *Client) GetSiteByName(name string) (*SharedResourceSite, error)
GetSiteByName retrieves a site by its name.
func (*Client) GetSites ¶
func (c *Client) GetSites() (*ResponseSitesList, error)
GetSites gets a list of all sites
func (*Client) GetSoftwareUpdateServerByID ¶
func (c *Client) GetSoftwareUpdateServerByID(id int) (*ResourceSoftwareUpdateServer, error)
GetSoftwareUpdateServersByID retrieves a specific software update server by its ID.
func (*Client) GetSoftwareUpdateServerByName ¶
func (c *Client) GetSoftwareUpdateServerByName(name string) (*ResourceSoftwareUpdateServer, error)
GetSoftwareUpdateServersByName retrieves a specific software update server by its name.
func (*Client) GetSoftwareUpdateServers ¶
func (c *Client) GetSoftwareUpdateServers() (*ResponseSoftwareUpdateServersList, error)
GetSoftwareUpdateServers retrieves a list of all software update servers.
func (*Client) GetSsoEnrollmentCustomizationDependencies ¶
func (c *Client) GetSsoEnrollmentCustomizationDependencies() (*ResponseSsoSubsetEnrollmentCustomizationDependencyList, error)
GetSsoEnrollmentCustomizationDependencies shows which enrollment customizations are dependent on which sso settings // NOTE I think?
func (*Client) GetSsoSettings ¶
func (c *Client) GetSsoSettings() (*ResourceSsoSettings, error)
GetSsoSettings retrieves current Jamf Sso settings
func (*Client) GetUserByEmail ¶
func (c *Client) GetUserByEmail(email string) (*ResourceUser, error)
GetUserByEmail retrieves the details of a user by their email.
func (*Client) GetUserByID ¶
func (c *Client) GetUserByID(id int) (*ResourceUser, error)
GetUserByID retrieves the details of a user by their ID.
func (*Client) GetUserByName ¶
func (c *Client) GetUserByName(name string) (*ResourceUser, error)
GetUserByName retrieves the details of a user by their name.
func (*Client) GetUserExtensionAttributeByID ¶
func (c *Client) GetUserExtensionAttributeByID(id int) (*ResourceUserExtensionAttribute, error)
GetUserExtensionAttributeByID retrieves a user extension attribute by its ID.
func (*Client) GetUserExtensionAttributeByName ¶
func (c *Client) GetUserExtensionAttributeByName(name string) (*ResourceUserExtensionAttribute, error)
GetUserExtensionAttributeByName retrieves a user extension attribute by its name.
func (*Client) GetUserExtensionAttributes ¶
func (c *Client) GetUserExtensionAttributes() (*ResponseUserExtensionAttributesList, error)
GetUserExtensionAttributes retrieves a list of all user extension attributes.
func (*Client) GetUserGroupByID ¶
func (c *Client) GetUserGroupByID(id int) (*ResourceUserGroup, error)
GetUserGroupsByID retrieves the details of a user group by its ID.
func (*Client) GetUserGroupByName ¶
func (c *Client) GetUserGroupByName(name string) (*ResourceUserGroup, error)
GetUserGroupsByName retrieves the details of a user group by its name.
func (*Client) GetUserGroups ¶
func (c *Client) GetUserGroups() (*ResponseUserGroupsList, error)
GetUserGroups retrieves a list of all user groups.
func (*Client) GetUsers ¶
func (c *Client) GetUsers() (*ResponseUsersList, error)
GetUsers retrieves a list of all users.
func (*Client) GetVPPAccountByID ¶
func (c *Client) GetVPPAccountByID(id int) (*ResourceVPPAccount, error)
GetVPPAccountByID retrieves a specific VPP account by its ID.
func (*Client) GetVPPAccounts ¶
func (c *Client) GetVPPAccounts() (*ResponseVPPAccountsList, error)
GetVPPAccounts retrieves a list of all VPP accounts.
func (*Client) GetVPPAssignmentByID ¶
func (c *Client) GetVPPAssignmentByID(id int) (*ResourceVPPAssignment, error)
GetVPPAssignmentByID fetches a VPP assignment by its ID
func (*Client) GetVPPAssignments ¶
func (c *Client) GetVPPAssignments() (*ResponseVPPAssignmentsList, error)
GetVPPAssignments fetches a list of VPP assignments
func (*Client) GetVolumePurchaseLocations ¶
func (c *Client) GetVolumePurchaseLocations(sort_filter string) (*ResponseVolumePurchasingList, error)
GetVolumePurchaseLocations retrieves all volume purchasing locations with optional sorting and filtering.
func (*Client) GetVolumePurchasingContentForLocationByID ¶
func (c *Client) GetVolumePurchasingContentForLocationByID(id string, sort []string, filter string) (*ResponseVolumePurchasingContentList, error)
GetVolumePurchasingContentForLocationByID retrieves the content for a specific volume purchasing location by its ID.
func (*Client) GetVolumePurchasingLocationByID ¶
func (c *Client) GetVolumePurchasingLocationByID(id string) (*ResourceVolumePurchasingLocation, error)
GetVolumePurchasingLocationByID retrieves a specific volume purchasing location by its ID.
func (*Client) GetVolumePurchasingSubscriptionByID ¶
func (c *Client) GetVolumePurchasingSubscriptionByID(id string) (*ResourceVolumePurchasingSubscription, error)
GetVolumePurchasingSubscriptionByID retrieves a single volume purchasing subscription by its ID
func (*Client) GetVolumePurchasingSubscriptionByName ¶
func (c *Client) GetVolumePurchasingSubscriptionByName(name string) (*ResourceVolumePurchasingSubscription, error)
GetVolumePurchasingSubscriptionByNameByID fetches a volume purchasing subscription by its display name and retrieves its details using its ID.
func (*Client) GetVolumePurchasingSubscriptions ¶
func (c *Client) GetVolumePurchasingSubscriptions(sort_filter string) (*ResponseVolumePurchasingSubscriptionsList, error)
GetVolumePurchasingSubscriptions retrieves all volume purchasing subscriptions
func (*Client) GetWebhookByID ¶
func (c *Client) GetWebhookByID(id int) (*ResourceWebhook, error)
GetWebhookByID retrieves a specific webhook by its ID.
func (*Client) GetWebhookByName ¶
func (c *Client) GetWebhookByName(name string) (*ResourceWebhook, error)
GetWebhookByName retrieves a specific webhook by its name.
func (*Client) GetWebhooks ¶
func (c *Client) GetWebhooks() (*ResponseWebhooksList, error)
GetWebhooks retrieves a list of all webhooks.
func (*Client) InitializeCSATokenExchange ¶
func (c *Client) InitializeCSATokenExchange(username, password string) (*ResourceCSATokenExchange, error)
func (*Client) RefreshCSATokenExchange ¶
func (c *Client) RefreshCSATokenExchange(username, password string) (*ResourceCSATokenExchange, error)
func (*Client) RefreshClientCredentialsByApiRoleID ¶
func (c *Client) RefreshClientCredentialsByApiRoleID(id string) (*ResourceClientCredentials, error)
RefreshClientCredentialsByApiRoleID creates new client credentials for an API integration by its ID
func (*Client) UpdateADUESessionTokenSettings ¶
func (c *Client) UpdateADUESessionTokenSettings(updatedSettings ResourceADUETokenSettings) (*ResourceADUETokenSettings, error)
func (*Client) UpdateAccountByID ¶
func (c *Client) UpdateAccountByID(id int, account *ResourceAccount) (*ResponseAccountCreatedAndUpdated, error)
UpdateAccountByID updates an Account using its ID
func (*Client) UpdateAccountByName ¶
func (c *Client) UpdateAccountByName(name string, account *ResourceAccount) (*ResponseAccountCreatedAndUpdated, error)
UpdateAccountByName updates an Account using its name.
func (*Client) UpdateAccountGroupByID ¶
func (c *Client) UpdateAccountGroupByID(id int, accountGroup *ResourceAccountGroup) (*ResourceAccountGroup, error)
UpdateAccountGroupByID updates an Account Group using its ID
func (*Client) UpdateAccountGroupByName ¶
func (c *Client) UpdateAccountGroupByName(name string, accountGroup *ResourceAccountGroup) (*ResourceAccountGroup, error)
UpdateAccountGroupByName updates an Account Group using its name.
func (*Client) UpdateAccountPreferences ¶
func (c *Client) UpdateAccountPreferences(updatedSettings ResourceAccountPreferences) (*ResourceAccountPreferences, error)
UpdateAccountPreferences updates the jamf pro account settings.
func (*Client) UpdateActivationCode ¶
UpdateActivationCode updates the activation code.
func (*Client) UpdateAdvancedComputerSearchByID ¶
func (c *Client) UpdateAdvancedComputerSearchByID(id int, search *ResourceAdvancedComputerSearch) (*ResponseAdvancedComputerSearchCreatedAndUpdated, error)
UpdateAdvancedComputerSearchByID updates an existing advanced computer search by its ID.
func (*Client) UpdateAdvancedComputerSearchByName ¶
func (c *Client) UpdateAdvancedComputerSearchByName(name string, search *ResourceAdvancedComputerSearch) (*ResponseAdvancedComputerSearchCreatedAndUpdated, error)
UpdateAdvancedComputerSearchByName updates an existing advanced computer search by its name.
func (*Client) UpdateAdvancedMobileDeviceSearchByID ¶
func (c *Client) UpdateAdvancedMobileDeviceSearchByID(id int, search *ResourceAdvancedMobileDeviceSearch) (*ResponseAdvancedMobileDeviceSearchCreatedAndUpdated, error)
UpdateAdvancedMobileDeviceSearchByID updates an existing advanced mobile device search by its ID.
func (*Client) UpdateAdvancedMobileDeviceSearchByName ¶
func (c *Client) UpdateAdvancedMobileDeviceSearchByName(name string, search *ResourceAdvancedMobileDeviceSearch) (*ResponseAdvancedMobileDeviceSearchCreatedAndUpdated, error)
UpdateAdvancedMobileDeviceSearchByName updates an existing advanced mobile device search by its name.
func (*Client) UpdateAdvancedUserSearchByID ¶
func (c *Client) UpdateAdvancedUserSearchByID(id int, search *ResourceAdvancedUserSearch) (*ResourceAdvancedUserSearchCreatedAndUpdated, error)
UpdateAdvancedUserSearchByID updates an existing advanced user search by its ID.
func (*Client) UpdateAdvancedUserSearchByName ¶
func (c *Client) UpdateAdvancedUserSearchByName(name string, search *ResourceAdvancedUserSearch) (*ResourceAdvancedUserSearchCreatedAndUpdated, error)
UpdateAdvancedUserSearchByName updates an existing advanced user search by its name.
func (*Client) UpdateApiIntegrationByID ¶
func (c *Client) UpdateApiIntegrationByID(id int, integrationUpdate *ResourceApiIntegration) (*ResourceApiIntegration, error)
UpdateApiIntegrationByID updates an API integration by its ID
func (*Client) UpdateApiIntegrationByName ¶
func (c *Client) UpdateApiIntegrationByName(name string, integrationUpdate *ResourceApiIntegration) (*ResourceApiIntegration, error)
UpdateApiIntegrationByName updates an API integration based on its display name
func (*Client) UpdateBYOProfileByID ¶
func (c *Client) UpdateBYOProfileByID(id int, profile *ResourceBYOProfile) (*ResponceBYOProfileCreatedAndUpdated, error)
UpdateBYOProfileByID updates an existing BYO profile by its ID.
func (*Client) UpdateBYOProfileByName ¶
func (c *Client) UpdateBYOProfileByName(name string, profile *ResourceBYOProfile) (*ResponceBYOProfileCreatedAndUpdated, error)
UpdateBYOProfileByName updates a BYO profile by its name.
func (*Client) UpdateBuildingByID ¶
func (c *Client) UpdateBuildingByID(id string, buildingUpdate *ResourceBuilding) (*ResourceBuilding, error)
UpdateBuildingByID updates a building's information in Jamf Pro by its ID.
func (*Client) UpdateBuildingByName ¶
func (c *Client) UpdateBuildingByName(name string, buildingUpdate *ResourceBuilding) (*ResourceBuilding, error)
UpdateBuildingByNameByID updates a building's information in Jamf Pro by its name.
func (*Client) UpdateCacheSettings ¶
func (c *Client) UpdateCacheSettings(cacheSettingsUpdate *ResourceCacheSettings) (*ResourceCacheSettings, error)
UpdateCacheSettings updates the cache settings.
func (*Client) UpdateCategoryByID ¶
func (c *Client) UpdateCategoryByID(id string, categoryUpdate *ResourceCategory) (*ResourceCategory, error)
UpdateCategoryByID updates an existing category by its ID
func (*Client) UpdateCategoryByName ¶
func (c *Client) UpdateCategoryByName(name string, categoryUpdate *ResourceCategory) (*ResourceCategory, error)
UpdateCategoryByNameByID updates a category by its name and then updates its details using its ID.
func (*Client) UpdateClassByID ¶
func (c *Client) UpdateClassByID(id int, class *ResourceClass) error
UpdateClassByID updates an existing class with the given ID.
func (*Client) UpdateClassByName ¶
func (c *Client) UpdateClassByName(name string, class *ResourceClass) error
UpdateClassByName updates an existing class with the given name.
func (*Client) UpdateClientCheckinSettings ¶
func (c *Client) UpdateClientCheckinSettings(settingsUpdate ResourceClientCheckinSettings) (*ResourceClientCheckinSettings, error)
func (*Client) UpdateCloudIdentityProviderByID ¶
func (c *Client) UpdateCloudIdentityProviderByID(id string, cloudIdPUpdate *ResourceCloudIdp) (*ResourceCloudIdp, error)
UpdateCloudIdentityProviderById updates an existing Cloud Identity Provider by its ID.
func (*Client) UpdateComputerByID ¶
func (c *Client) UpdateComputerByID(id int, computer ResponseComputer) (*ResponseComputer, error)
UpdateComputerByID updates the details of a computer by its ID.
func (*Client) UpdateComputerByName ¶
func (c *Client) UpdateComputerByName(name string, computer ResponseComputer) (*ResponseComputer, error)
UpdateComputerByName updates the details of a computer by its name.
func (*Client) UpdateComputerCheckinInformation ¶
func (c *Client) UpdateComputerCheckinInformation(settings *ResourceComputerCheckin) error
UpdateComputerCheckinInformation updates the jamf pro computer check-in settings
func (*Client) UpdateComputerExtensionAttributeByID ¶
func (c *Client) UpdateComputerExtensionAttributeByID(id int, attribute *ResourceComputerExtensionAttribute) (*ResourceComputerExtensionAttribute, error)
UpdateComputerExtensionAttributeByID updates an existing computer extension attribute by its ID.
func (*Client) UpdateComputerExtensionAttributeByName ¶
func (c *Client) UpdateComputerExtensionAttributeByName(name string, attribute *ResourceComputerExtensionAttribute) (*ResourceComputerExtensionAttribute, error)
UpdateComputerExtensionAttributeByName updates a computer extension attribute by its name.
func (*Client) UpdateComputerGroupByID ¶
func (c *Client) UpdateComputerGroupByID(id int, group *ResourceComputerGroup) (*ResourceComputerGroup, error)
UpdateComputerGroupByID updates an existing computer group by its ID.
func (*Client) UpdateComputerGroupByName ¶
func (c *Client) UpdateComputerGroupByName(name string, group *ResourceComputerGroup) (*ResourceComputerGroup, error)
UpdateComputerGroupByName updates a computer group by its name.
func (*Client) UpdateComputerInventoryByID ¶
func (c *Client) UpdateComputerInventoryByID(id string, inventoryUpdate *ResourceComputerInventory) (*ResourceComputerInventory, error)
UpdateComputerInventoryByID updates a specific computer's inventory information by its ID.
func (*Client) UpdateComputerInventoryCollectionSettings ¶
func (c *Client) UpdateComputerInventoryCollectionSettings(settingsUpdate *ResourceComputerInventoryCollectionSettings) (*ResourceComputerInventoryCollectionSettings, error)
UpdateComputerInventoryCollectionSettings updates the computer inventory collection settings.
func (*Client) UpdateComputerPrestageByID ¶
func (c *Client) UpdateComputerPrestageByID(id string, prestageUpdate *ResourceComputerPrestage) (*ResourceComputerPrestage, error)
UpdateComputerPrestageByID updates a computer prestage by its ID.
func (*Client) UpdateComputerPrestageByName ¶
func (c *Client) UpdateComputerPrestageByName(name string, prestageUpdate *ResourceComputerPrestage) (*ResourceComputerPrestage, error)
UpdateComputerPrestageByNameByID updates a computer prestage based on its display name.
func (*Client) UpdateDepartmentByID ¶
func (c *Client) UpdateDepartmentByID(id string, departmentUpdate *ResourceDepartment) (*ResourceDepartment, error)
UpdateDepartmentByID Updates department by resource ID
func (*Client) UpdateDepartmentByName ¶
func (c *Client) UpdateDepartmentByName(targetName string, departmentUpdate *ResourceDepartment) (*ResourceDepartment, error)
UpdateDepartmentByName Updates department by resource name
func (*Client) UpdateDeviceCommunicationSettings ¶
func (c *Client) UpdateDeviceCommunicationSettings(updatedSettings ResourceDeviceCommunicationSettings) (*ResourceDeviceCommunicationSettings, error)
Updates device communication settings
func (*Client) UpdateDirectoryBindingByID ¶
func (c *Client) UpdateDirectoryBindingByID(id int, binding *ResponseDirectoryBinding) (*ResponseDirectoryBinding, error)
UpdateDirectoryBindingByID updates a directory binding by its ID.
func (*Client) UpdateDirectoryBindingByName ¶
func (c *Client) UpdateDirectoryBindingByName(name string, binding *ResponseDirectoryBinding) (*ResponseDirectoryBinding, error)
UpdateDirectoryBindingByName updates a directory binding by its name.
func (*Client) UpdateDiskEncryptionConfigurationByID ¶
func (c *Client) UpdateDiskEncryptionConfigurationByID(id int, config *ResourceDiskEncryptionConfiguration) (*ResponseDiskEncryptionConfigurationCreatedAndUpdated, error)
UpdateDiskEncryptionConfigurationByID updates a disk encryption configuration by its ID.
func (*Client) UpdateDiskEncryptionConfigurationByName ¶
func (c *Client) UpdateDiskEncryptionConfigurationByName(name string, config *ResourceDiskEncryptionConfiguration) (*ResourceDiskEncryptionConfiguration, error)
UpdateDiskEncryptionConfigurationByName updates a disk encryption configuration by its name.
func (*Client) UpdateDistributionPointByID ¶
func (c *Client) UpdateDistributionPointByID(id int, dp *ResourceFileShareDistributionPoint) (*ResourceFileShareDistributionPoint, error)
UpdateDistributionPointByID updates a distribution point by its ID.
func (*Client) UpdateDistributionPointByName ¶
func (c *Client) UpdateDistributionPointByName(name string, dp *ResourceFileShareDistributionPoint) (*ResourceFileShareDistributionPoint, error)
UpdateDistributionPointByName updates a distribution point by its name.
func (*Client) UpdateDockItemByID ¶
func (c *Client) UpdateDockItemByID(id int, dockItem *ResourceDockItem) (*ResourceDockItem, error)
UpdateDockItemByID updates a dock item by its ID.
func (*Client) UpdateDockItemByName ¶
func (c *Client) UpdateDockItemByName(name string, dockItem *ResourceDockItem) (*ResourceDockItem, error)
UpdateDockItemByName updates a dock item by its name.
func (*Client) UpdateEbookByID ¶
func (c *Client) UpdateEbookByID(id int, ebook ResourceEbooks) (*ResourceEbooks, error)
UpdateEbookByID updates an existing ebook by its ID.
func (*Client) UpdateEbookByName ¶
func (c *Client) UpdateEbookByName(name string, ebook ResourceEbooks) (*ResourceEbooks, error)
UpdateEbookByName updates an existing ebook by its name.
func (*Client) UpdateEnrollmentCustomizationByID ¶
func (c *Client) UpdateEnrollmentCustomizationByID(id string, updatedCustomization ResourceEnrollmentCustomization) (*ResourceEnrollmentCustomization, error)
Updates resource enrollment customization by id
func (*Client) UpdateFailoverUrl ¶
func (c *Client) UpdateFailoverUrl() (*ResponseSSOFailover, error)
UpdateFailoverUrl regenerates the failover URL by changing the failover key to a new one and returns the new failover settings.
func (*Client) UpdateGSXConnectionInformation ¶
func (c *Client) UpdateGSXConnectionInformation(settings *ResourceGSXConnection) error
UpdateGSXConnectionInformation updates the GSX connection settings
func (*Client) UpdateIBeaconByID ¶
func (c *Client) UpdateIBeaconByID(id int, beacon *ResourceIBeacons) (*ResourceIBeacons, error)
UpdateIBeaconByID updates an existing iBeacon by its ID in Jamf Pro.
func (*Client) UpdateIBeaconByName ¶
func (c *Client) UpdateIBeaconByName(name string, beacon *ResourceIBeacons) (*ResourceIBeacons, error)
UpdateIBeaconByName updates an existing iBeacon by its name in Jamf Pro.
func (*Client) UpdateJamfApiRoleByID ¶
func (c *Client) UpdateJamfApiRoleByID(id string, roleUpdate *ResourceAPIRole) (*ResourceAPIRole, error)
UpdateJamfApiRoleByID updates a Jamf API role by its ID
func (*Client) UpdateJamfApiRoleByName ¶
func (c *Client) UpdateJamfApiRoleByName(name string, roleUpdate *ResourceAPIRole) (*ResourceAPIRole, error)
UpdateJamfApiRoleByName updates a Jamf API role based on its display name
func (*Client) UpdateJamfProServerUrlSettings ¶
func (c *Client) UpdateJamfProServerUrlSettings(updatedSettings ResourceJamfProServerURL) (*ResourceJamfProServerURL, error)
Updates Jamf Pro Server URL settings
func (*Client) UpdateJamfProtectIntegrationSettings ¶
func (c *Client) UpdateJamfProtectIntegrationSettings(updatedSettings ResourceJamfProtectIntegrationSettings) (*ResourceJamfProtectIntegrationSettings, error)
func (*Client) UpdateLDAPServerByID ¶
func (c *Client) UpdateLDAPServerByID(id int, ldapServer *ResourceLDAPServers) (*ResourceLDAPServers, error)
UpdateLDAPServerByID updates an existing LDAP server identified by its ID.
func (*Client) UpdateLDAPServerByName ¶
func (c *Client) UpdateLDAPServerByName(name string, ldapServer *ResourceLDAPServers) (*ResourceLDAPServers, error)
UpdateLDAPServerByName updates an existing LDAP server identified by its name.
func (*Client) UpdateLicensedSoftwareByID ¶
func (c *Client) UpdateLicensedSoftwareByID(id int, licensedSoftware *ResourceLicensedSoftware) (*ResourceLicensedSoftware, error)
UpdateLicensedSoftwareByID updates an existing licensed software item by its ID.
func (*Client) UpdateLicensedSoftwareByName ¶
func (c *Client) UpdateLicensedSoftwareByName(name string, licensedSoftware *ResourceLicensedSoftware) (*ResourceLicensedSoftware, error)
UpdateLicensedSoftwareByName updates an existing licensed software item by its name.
func (*Client) UpdateMacApplicationByID ¶
func (c *Client) UpdateMacApplicationByID(id int, macApp ResourceMacApplications) (*ResourceMacApplications, error)
UpdateMacApplicationByID updates an existing Mac Application by its ID.
func (*Client) UpdateMacApplicationByName ¶
func (c *Client) UpdateMacApplicationByName(name string, macApp ResourceMacApplications) (*ResourceMacApplications, error)
UpdateMacApplicationByName updates an existing Mac Application by its name.
func (*Client) UpdateMacOSConfigurationProfileByID ¶
func (c *Client) UpdateMacOSConfigurationProfileByID(id int, profile *ResourceMacOSConfigurationProfile) (int, error)
UpdateMacOSConfigurationProfileByID updates an existing macOS Configuration Profile by its ID on the Jamf Pro server and returns the ID of the updated profile.
func (*Client) UpdateMacOSConfigurationProfileByName ¶
func (c *Client) UpdateMacOSConfigurationProfileByName(name string, profile *ResourceMacOSConfigurationProfile) (int, error)
UpdateMacOSConfigurationProfileByName updates an existing macOS Configuration Profile by its name on the Jamf Pro server and returns the ID of the updated profile.
func (*Client) UpdateMobileDeviceApplicationByApplicationBundleID ¶
func (c *Client) UpdateMobileDeviceApplicationByApplicationBundleID(id string, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
UpdateMobileDeviceApplicationByApplicationBundleID updates a mobile device application by its bundle ID on the Jamf Pro server.
func (*Client) UpdateMobileDeviceApplicationByID ¶
func (c *Client) UpdateMobileDeviceApplicationByID(id int, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
UpdateMobileDeviceApplicationByID updates a mobile device application by its ID on the Jamf Pro server.
func (*Client) UpdateMobileDeviceApplicationByIDAndAppVersion ¶
func (c *Client) UpdateMobileDeviceApplicationByIDAndAppVersion(id int, version string, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
UpdateMobileDeviceApplicationByIDAndAppVersion updates a mobile device application by its ID and application version on the Jamf Pro server.
func (*Client) UpdateMobileDeviceApplicationByName ¶
func (c *Client) UpdateMobileDeviceApplicationByName(name string, app *ResourceMobileDeviceApplication) (*ResourceMobileDeviceApplication, error)
UpdateMobileDeviceApplicationByName updates a mobile device application by its name on the Jamf Pro server.
func (*Client) UpdateMobileDeviceByID ¶
func (c *Client) UpdateMobileDeviceByID(id int, attribute *ResourceMobileDevice) (*ResourceMobileDevice, error)
UpdateMobileDeviceByID updates a mobile device by its ID.
func (*Client) UpdateMobileDeviceByName ¶
func (c *Client) UpdateMobileDeviceByName(name string, attribute *ResourceMobileDevice) (*ResourceMobileDevice, error)
UpdateMobileDeviceByName updates a mobile device by its name.
func (*Client) UpdateMobileDeviceConfigurationProfileByID ¶
func (c *Client) UpdateMobileDeviceConfigurationProfileByID(id int, profile *ResourceMobileDeviceConfigurationProfile) (*ResourceMobileDeviceConfigurationProfile, error)
UpdateMobileDeviceConfigurationProfileByID updates a mobile device configuration profile by its ID on the Jamf Pro server.
func (*Client) UpdateMobileDeviceConfigurationProfileByName ¶
func (c *Client) UpdateMobileDeviceConfigurationProfileByName(name string, profile *ResourceMobileDeviceConfigurationProfile) (*ResourceMobileDeviceConfigurationProfile, error)
UpdateMobileDeviceConfigurationProfileByName updates a mobile device configuration profile by its name on the Jamf Pro server.
func (*Client) UpdateMobileDeviceEnrollmentProfileByID ¶
func (c *Client) UpdateMobileDeviceEnrollmentProfileByID(id int, profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
UpdateMobileDeviceEnrollmentProfileByID updates a mobile device enrollment profile by its ID.
func (*Client) UpdateMobileDeviceEnrollmentProfileByInvitation ¶
func (c *Client) UpdateMobileDeviceEnrollmentProfileByInvitation(invitation string, profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
UpdateMobileDeviceEnrollmentProfileByInvitation updates a mobile device enrollment profile by its invitation.
func (*Client) UpdateMobileDeviceEnrollmentProfileByName ¶
func (c *Client) UpdateMobileDeviceEnrollmentProfileByName(name string, profile *ResourceMobileDeviceEnrollmentProfile) (*ResourceMobileDeviceEnrollmentProfile, error)
UpdateMobileDeviceEnrollmentProfileByName updates a mobile device enrollment profile by its name.
func (*Client) UpdateMobileDeviceGroupByID ¶
func (c *Client) UpdateMobileDeviceGroupByID(id int, group *ResourceMobileDeviceGroup) (*ResourceMobileDeviceGroup, error)
UpdateMobileDeviceGroupByID updates a mobile device group by its ID.
func (*Client) UpdateMobileDeviceGroupByName ¶
func (c *Client) UpdateMobileDeviceGroupByName(name string, group *ResourceMobileDeviceGroup) (*ResourceMobileDeviceGroup, error)
UpdateMobileDeviceGroupByName updates a mobile device group by its name.
func (*Client) UpdateMobileDeviceProvisioningProfileByID ¶
func (c *Client) UpdateMobileDeviceProvisioningProfileByID(id int, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
UpdateMobileDeviceProvisioningProfileByID updates a mobile device provisioning profile by its ID.
func (*Client) UpdateMobileDeviceProvisioningProfileByName ¶
func (c *Client) UpdateMobileDeviceProvisioningProfileByName(name string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
UpdateMobileDeviceProvisioningProfileByName updates a mobile device provisioning profile by its name.
func (*Client) UpdateMobileDeviceProvisioningProfileByUUID ¶
func (c *Client) UpdateMobileDeviceProvisioningProfileByUUID(uuid string, profile *ResourceMobileDeviceProvisioningProfile) (*ResourceMobileDeviceProvisioningProfile, error)
UpdateMobileDeviceProvisioningProfileByUUID updates a mobile device provisioning profile by its UUID.
func (*Client) UpdateMobileExtensionAttributeByID ¶
func (c *Client) UpdateMobileExtensionAttributeByID(id int, attribute *ResourceMobileExtensionAttribute) (*ResourceMobileExtensionAttribute, error)
UpdateMobileExtensionAttributeByID updates a mobile extension attribute by its ID.
func (*Client) UpdateMobileExtensionAttributeByName ¶
func (c *Client) UpdateMobileExtensionAttributeByName(name string, attribute *ResourceMobileExtensionAttribute) (*ResourceMobileExtensionAttribute, error)
UpdateMobileExtensionAttributeByName updates a mobile extension attribute by its name.
func (*Client) UpdateNetworkSegmentByID ¶
func (c *Client) UpdateNetworkSegmentByID(id int, segment *ResourceNetworkSegment) (*ResourceNetworkSegment, error)
UpdateNetworkSegmentByID updates a specific network segment by its ID.
func (*Client) UpdateNetworkSegmentByName ¶
func (c *Client) UpdateNetworkSegmentByName(name string, segment *ResourceNetworkSegment) (*ResourceNetworkSegment, error)
UpdateNetworkSegmentByName updates a specific network segment by its name.
func (*Client) UpdatePatchPolicy ¶
func (c *Client) UpdatePatchPolicy(policy *ResourcePatchPolicies, softwareTitleConfigID int) (*ResourcePatchPolicies, error)
UpdatePatchPolicy creates a new patch policy.
func (*Client) UpdatePatchSoftwareTitleConfigurationById ¶
func (c *Client) UpdatePatchSoftwareTitleConfigurationById(id string, updatedConfiguration ResourcePatchSoftwareTitleConfiguration) (*ResponsePatchSoftwareTitleConfigurationCreate, error)
UpdatePatchSoftwareTitleConfigurationById Updates a single PatchSoftwareTitleConfiguration with given ID
func (*Client) UpdatePolicyByID ¶
func (c *Client) UpdatePolicyByID(id int, policy *ResourcePolicy) (*ResourcePolicyCreateAndUpdate, error)
UpdatePolicyByID updates an existing policy by its ID.
func (*Client) UpdatePolicyByName ¶
func (c *Client) UpdatePolicyByName(name string, policy *ResourcePolicy) (*ResourcePolicyCreateAndUpdate, error)
UpdatePolicyByName updates an existing policy by its name.
func (*Client) UpdatePrinterByID ¶
func (c *Client) UpdatePrinterByID(id int, printer *ResourcePrinter) (*ResponsePrinterCreateAndUpdate, error)
UpdatePrinterByID updates a printer by its ID.
func (*Client) UpdatePrinterByName ¶
func (c *Client) UpdatePrinterByName(name string, printer *ResourcePrinter) (*ResponsePrinterCreateAndUpdate, error)
UpdatePrinterByName updates a printer by its name.
func (*Client) UpdateRemovableMACAddressByID ¶
func (c *Client) UpdateRemovableMACAddressByID(id int, macAddress *ResourceRemovableMacAddress) (*ResourceRemovableMacAddress, error)
UpdateRemovableMACAddressByID updates an existing removable MAC address by its ID.
func (*Client) UpdateRemovableMACAddressByName ¶
func (c *Client) UpdateRemovableMACAddressByName(name string, macAddress *ResourceRemovableMacAddress) (*ResourceRemovableMacAddress, error)
UpdateRemovableMACAddressByName updates an existing removable MAC address by its name.
func (*Client) UpdateRestrictedSoftwareByID ¶
func (c *Client) UpdateRestrictedSoftwareByID(id int, restrictedSoftware *ResourceRestrictedSoftware) error
UpdateRestrictedSoftwareByID updates an existing restricted software entry by its ID.
func (*Client) UpdateRestrictedSoftwareByName ¶
func (c *Client) UpdateRestrictedSoftwareByName(name string, restrictedSoftware *ResourceRestrictedSoftware) error
UpdateRestrictedSoftwareByName updates an existing restricted software entry by its name.
func (*Client) UpdateSMTPServerInformation ¶
func (c *Client) UpdateSMTPServerInformation(settings *ResourceSMTPServer) error
UpdateSMTPServerInformation updates the SMTP server settings
func (*Client) UpdateScriptByID ¶
func (c *Client) UpdateScriptByID(id string, scriptUpdate *ResourceScript) (*ResourceScript, error)
Updates script from provided ResourceScript - only updates provided keys
func (*Client) UpdateScriptByName ¶
func (c *Client) UpdateScriptByName(name string, scriptUpdate *ResourceScript) (*ResourceScript, error)
Leverages UpdateScriptByID and GetScripts to update script from provided ResourceScript
func (*Client) UpdateSelfServiceBrandingMacOSByID ¶
func (c *Client) UpdateSelfServiceBrandingMacOSByID(id string, brandingUpdate *ResourceSelfServiceBrandingDetail) (*ResourceSelfServiceBrandingDetail, error)
UpdateSelfServiceBrandingMacOSByID updates an existing self-service branding configuration for macOS.
func (*Client) UpdateSelfServiceBrandingMacOSByName ¶
func (c *Client) UpdateSelfServiceBrandingMacOSByName(name string, brandingUpdate *ResourceSelfServiceBrandingDetail) (*ResourceSelfServiceBrandingDetail, error)
UpdateSelfServiceBrandingMacOSByName updates a self-service branding configuration for macOS by name.
func (*Client) UpdateSiteByID ¶
func (c *Client) UpdateSiteByID(id int, site *SharedResourceSite) (*SharedResourceSite, error)
UpdateSiteByID updates an existing site by its ID.
func (*Client) UpdateSiteByName ¶
func (c *Client) UpdateSiteByName(name string, site *SharedResourceSite) (*SharedResourceSite, error)
UpdateSiteByName updates an existing site by its name.
func (*Client) UpdateSoftwareUpdateServerByID ¶
func (c *Client) UpdateSoftwareUpdateServerByID(id int, server *ResourceSoftwareUpdateServer) (*ResourceSoftwareUpdateServer, error)
UpdateSoftwareUpdateServerByID updates a software update server by its ID.
func (*Client) UpdateSoftwareUpdateServerByName ¶
func (c *Client) UpdateSoftwareUpdateServerByName(name string, server *ResourceSoftwareUpdateServer) (*ResourceSoftwareUpdateServer, error)
UpdateSoftwareUpdateServerByName updates a software update server by its name.
func (*Client) UpdateSsoSettings ¶
func (c *Client) UpdateSsoSettings(updatedSettings ResourceSsoSettings) (*ResourceSsoSettings, error)
UpdateSsoSettings Updates SSO Settings with ResourceSsoSettings struct data
func (*Client) UpdateUserByEmail ¶
func (c *Client) UpdateUserByEmail(email string, updatedUser *ResourceUser) (*ResourceUser, error)
UpdateUserByEmail updates a user's details by their email.
func (*Client) UpdateUserByID ¶
func (c *Client) UpdateUserByID(id int, updatedUser *ResourceUser) (*ResourceUser, error)
UpdateUserByID updates a user's details by their ID.
func (*Client) UpdateUserByName ¶
func (c *Client) UpdateUserByName(name string, updatedUser *ResourceUser) (*ResourceUser, error)
UpdateUserByName updates a user's details by their name.
func (*Client) UpdateUserExtensionAttributeByID ¶
func (c *Client) UpdateUserExtensionAttributeByID(id int, attribute *ResourceUserExtensionAttribute) (*ResourceUserExtensionAttribute, error)
UpdateUserExtensionAttributeByID updates a user extension attribute by its ID.
func (*Client) UpdateUserExtensionAttributeByName ¶
func (c *Client) UpdateUserExtensionAttributeByName(name string, attribute *ResourceUserExtensionAttribute) (*ResourceUserExtensionAttribute, error)
UpdateUserExtensionAttributeByName updates a user extension attribute by its name.
func (*Client) UpdateUserGroupByID ¶
func (c *Client) UpdateUserGroupByID(id int, userGroup *ResourceUserGroup) (*ResourceUserGroup, error)
UpdateUserGroupByID updates an existing user group by its ID.
func (*Client) UpdateUserGroupByName ¶
func (c *Client) UpdateUserGroupByName(name string, userGroup *ResourceUserGroup) (*ResourceUserGroup, error)
UpdateUserGroupByName updates an existing user group by its name.
func (*Client) UpdateVPPAccountByID ¶
func (c *Client) UpdateVPPAccountByID(id int, account *ResourceVPPAccount) (*ResourceVPPAccount, error)
UpdateVPPAccount updates an existing VPP account.
func (*Client) UpdateVPPAssignmentByID ¶
func (c *Client) UpdateVPPAssignmentByID(id int, assignment *ResourceVPPAssignment) error
UpdateVPPAssignmentByID updates a VPP assignment by its ID
func (*Client) UpdateVolumePurchasingLocationByID ¶
func (c *Client) UpdateVolumePurchasingLocationByID(id string) (*ResourceVolumePurchasingLocation, error)
UpdateVolumePurchasingLocationByID updates a specific volume purchasing location by its ID.
func (*Client) UpdateVolumePurchasingSubscriptionByID ¶
func (c *Client) UpdateVolumePurchasingSubscriptionByID(id string, subscription *ResourceVolumePurchasingSubscription) (*ResourceVolumePurchasingSubscription, error)
UpdateVolumePurchasingSubscriptionByID updates a volume purchasing subscription by its ID
func (*Client) UpdateVolumePurchasingSubscriptionByName ¶
func (c *Client) UpdateVolumePurchasingSubscriptionByName(name string, updateData *ResourceVolumePurchasingSubscription) (*ResourceVolumePurchasingSubscription, error)
UpdateVolumePurchasingSubscriptionByNameByID updates a volume purchasing subscription by its display name
func (*Client) UpdateWebhookByID ¶
func (c *Client) UpdateWebhookByID(id int, webhook *ResourceWebhook) (*ResourceWebhook, error)
UpdateWebhookByID updates a specific webhook by its ID.
func (*Client) UpdateWebhookByName ¶
func (c *Client) UpdateWebhookByName(name string, webhook *ResourceWebhook) (*ResourceWebhook, error)
UpdateWebhookByName updates a specific webhook by its name.
func (*Client) UploadAttachmentAndAssignToComputerByID ¶
func (c *Client) UploadAttachmentAndAssignToComputerByID(id, filePath string) (*ResponseUploadAttachment, error)
UploadAttachmentAndAssignToComputerByID uploads a file attachment to a computer by computer ID.
func (*Client) UploadIcon ¶
func (c *Client) UploadIcon(filePath string) (*ResponseUploadIcon, error)
UploadIcon uploads an icon file to Jamf Pro and returns the icon URL and ID.
func (*Client) ValidateCloudLdapKeystore ¶
func (c *Client) ValidateCloudLdapKeystore(payload PayloadCloudLdapVerifyKeystore) (*ResponseCloudLdapVerifyKeystore, error)
type CloudIdentityProviderDefaultMappingsSubsetGroupMappings ¶
type CloudIdentityProviderDefaultMappingsSubsetGroupMappings struct { ObjectClassLimitation string `json:"objectClassLimitation"` ObjectClasses string `json:"objectClasses"` SearchBase string `json:"searchBase"` SearchScope string `json:"searchScope"` GroupID string `json:"groupID"` GroupName string `json:"groupName"` GroupUuid string `json:"groupUuid"` }
type CloudIdentityProviderDefaultMappingsSubsetMembershipMappings ¶
type CloudIdentityProviderDefaultMappingsSubsetMembershipMappings struct {
GroupMembershipMapping string `json:"memberOf"`
}
type CloudIdentityProviderDefaultMappingsSubsetUserMappings ¶
type CloudIdentityProviderDefaultMappingsSubsetUserMappings struct { ObjectClassLimitation string `json:"objectClassLimitation"` ObjectClasses string `json:"objectClasses"` SearchBase string `json:"searchBase"` SearchScope string `json:"searchScope"` AdditionalSearchBase string `json:"additionalSearchBase"` UserID string `json:"userID"` Username string `json:"username"` RealName string `json:"realName"` EmailAddress string `json:"emailAddress"` Department string `json:"department"` Building string `json:"building"` Room string `json:"room"` Phone string `json:"phone"` Position string `json:"position"` UserUuid string `json:"userUuid"` }
type CloudIdpListItem ¶
type CloudIdpServerSubsetCloudIdpServerMappings ¶
type CloudIdpServerSubsetCloudIdpServerMappings struct { UserId string `json:"userId"` UserName string `json:"userName"` RealName string `json:"realName"` Email string `json:"email"` Department string `json:"department"` Building string `json:"building"` Room string `json:"room"` Phone string `json:"phone"` Position string `json:"position"` GroupId string `json:"groupId"` GroupName string `json:"groupName"` }
type ComputerContainerPeripherals ¶
type ComputerContainerPeripherals struct { Size int `xml:"size" json:"size"` Peripherals []ComputerSubsetPeripherals `xml:"peripheral" json:"peripherals"` }
type ComputerGroupListItem ¶
type ComputerGroupSubsetComputer ¶
type ComputerGroupSubsetComputer struct { ID int `json:"id,omitempty" xml:"id,omitempty"` Name string `json:"name,omitempty" xml:"name,omitempty"` SerialNumber string `json:"serial_number,omitempty" xml:"serial_number,omitempty"` MacAddress string `json:"mac_address,omitempty" xml:"mac_address,omitempty"` AltMacAddress string `json:"alt_mac_address,omitempty" xml:"alt_mac_address,omitempty"` }
type ComputerInventoryCollectionSettingsSubsetPreferences ¶
type ComputerInventoryCollectionSettingsSubsetPreferences struct { MonitorApplicationUsage bool `json:"monitorApplicationUsage"` IncludeFonts bool `json:"includeFonts"` IncludePlugins bool `json:"includePlugins"` IncludePackages bool `json:"includePackages"` IncludeSoftwareUpdates bool `json:"includeSoftwareUpdates"` IncludeSoftwareId bool `json:"includeSoftwareId"` IncludeAccounts bool `json:"includeAccounts"` CalculateSizes bool `json:"calculateSizes"` IncludeHiddenAccounts bool `json:"includeHiddenAccounts"` IncludePrinters bool `json:"includePrinters"` IncludeServices bool `json:"includeServices"` CollectSyncedMobileDeviceInfo bool `json:"collectSyncedMobileDeviceInfo"` UpdateLdapInfoOnComputerInventorySubmissions bool `json:"updateLdapInfoOnComputerInventorySubmissions"` MonitorBeacons bool `json:"monitorBeacons"` AllowChangingUserAndLocation bool `json:"allowChangingUserAndLocation"` UseUnixUserPaths bool `json:"useUnixUserPaths"` CollectUnmanagedCertificates bool `json:"collectUnmanagedCertificates"` }
type ComputerInventorySubsetApplication ¶
type ComputerInventorySubsetApplication struct { Name string `json:"name"` Path string `json:"path"` Version string `json:"version"` MacAppStore bool `json:"macAppStore"` SizeMegabytes int `json:"sizeMegabytes"` BundleId string `json:"bundleId"` UpdateAvailable bool `json:"updateAvailable"` ExternalVersionId string `json:"externalVersionId"` }
type ComputerInventorySubsetBootPartitionEncryptionDetails ¶
type ComputerInventorySubsetBootPartitionEncryptionDetails struct { PartitionName string `json:"partitionName"` PartitionFileVault2State string `json:"partitionFileVault2State"` PartitionFileVault2Percent int `json:"partitionFileVault2Percent"` }
BootPartitionEncryptionDetails represents the details of disk encryption.
type ComputerInventorySubsetCertificate ¶
type ComputerInventorySubsetCertificate struct { CommonName string `json:"commonName"` Identity bool `json:"identity"` ExpirationDate string `json:"expirationDate"` Username string `json:"username"` LifecycleStatus string `json:"lifecycleStatus"` CertificateStatus string `json:"certificateStatus"` SubjectName string `json:"subjectName"` SerialNumber string `json:"serialNumber"` Sha1Fingerprint string `json:"sha1Fingerprint"` IssuedDate string `json:"issuedDate"` }
type ComputerInventorySubsetContentCaching ¶
type ComputerInventorySubsetContentCaching struct { ComputerContentCachingInformationId string `json:"computerContentCachingInformationId"` Parents []ComputerInventorySubsetContentCachingParent `json:"parents"` Alerts []ComputerInventorySubsetContentCachingAlert `json:"alerts"` // Corrected to slice Activated bool `json:"activated"` Active bool `json:"active"` ActualCacheBytesUsed int `json:"actualCacheBytesUsed"` CacheDetails []ComputerInventorySubsetContentCachingCacheDetail `json:"cacheDetails"` CacheBytesFree int `json:"cacheBytesFree"` CacheBytesLimit int `json:"cacheBytesLimit"` CacheStatus string `json:"cacheStatus"` CacheBytesUsed int `json:"cacheBytesUsed"` DataMigrationCompleted bool `json:"dataMigrationCompleted"` DataMigrationProgressPercentage int `json:"dataMigrationProgressPercentage"` DataMigrationError ComputerInventorySubsetContentCachingDataMigrationError `json:"dataMigrationError"` MaxCachePressureLast1HourPercentage int `json:"maxCachePressureLast1HourPercentage"` PersonalCacheBytesFree int `json:"personalCacheBytesFree"` PersonalCacheBytesLimit int `json:"personalCacheBytesLimit"` PersonalCacheBytesUsed int `json:"personalCacheBytesUsed"` Port int `json:"port"` PublicAddress string `json:"publicAddress"` RegistrationError string `json:"registrationError"` RegistrationResponseCode int `json:"registrationResponseCode"` RegistrationStarted string `json:"registrationStarted"` RegistrationStatus string `json:"registrationStatus"` RestrictedMedia bool `json:"restrictedMedia"` ServerGuid string `json:"serverGuid"` StartupStatus string `json:"startupStatus"` TetheratorStatus string `json:"tetheratorStatus"` TotalBytesAreSince string `json:"totalBytesAreSince"` TotalBytesDropped int64 `json:"totalBytesDropped"` TotalBytesImported int64 `json:"totalBytesImported"` TotalBytesReturnedToChildren int64 `json:"totalBytesReturnedToChildren"` TotalBytesReturnedToClients int64 `json:"totalBytesReturnedToClients"` TotalBytesReturnedToPeers int64 `json:"totalBytesReturnedToPeers"` TotalBytesStoredFromOrigin int64 `json:"totalBytesStoredFromOrigin"` TotalBytesStoredFromParents int64 `json:"totalBytesStoredFromParents"` TotalBytesStoredFromPeers int64 `json:"totalBytesStoredFromPeers"` }
type ComputerInventorySubsetContentCachingAlert ¶
type ComputerInventorySubsetContentCachingAlert struct { ContentCachingParentAlertId string `json:"contentCachingParentAlertId"` Addresses []string `json:"addresses"` ClassName string `json:"className"` PostDate string `json:"postDate"` }
ContentCachingAlert represents an alert in the content caching details.
type ComputerInventorySubsetContentCachingDataMigrationError ¶
type ComputerInventorySubsetContentCachingDataMigrationError struct { Code int `json:"code"` Domain string `json:"domain"` UserInfo []ComputerInventorySubsetContentCachingDataMigrationErrorUserInfo `json:"userInfo"` }
type ComputerInventorySubsetContentCachingParent ¶
type ComputerInventorySubsetContentCachingParent struct { ContentCachingParentId string `json:"contentCachingParentId"` Address string `json:"address"` Alerts ComputerInventorySubsetContentCachingAlert `json:"alerts"` // Changed from slice to struct Details ComputerInventorySubsetContentCachingParentDetails `json:"details"` Guid string `json:"guid"` Healthy bool `json:"healthy"` Port int `json:"port"` Version string `json:"version"` }
type ComputerInventorySubsetContentCachingParentDetails ¶
type ComputerInventorySubsetContentCachingParentDetails struct { ContentCachingParentDetailsId string `json:"contentCachingParentDetailsId"` AcPower bool `json:"acPower"` CacheSizeBytes int64 `json:"cacheSizeBytes"` Capabilities ComputerInventorySubsetContentCachingParentDetailsCapabilities `json:"capabilities"` Portable bool `json:"portable"` LocalNetwork []ComputerInventorySubsetContentCachingParentDetailsLocalNetwork `json:"localNetwork"` }
type ComputerInventorySubsetContentCachingParentDetailsCapabilities ¶
type ComputerInventorySubsetContentCachingParentDetailsCapabilities struct { ContentCachingParentCapabilitiesId string `json:"contentCachingParentCapabilitiesId"` Imports bool `json:"imports"` Namespaces bool `json:"namespaces"` PersonalContent bool `json:"personalContent"` QueryParameters bool `json:"queryParameters"` Prioritization bool `json:"prioritization"` }
type ComputerInventorySubsetDiskEncryption ¶
type ComputerInventorySubsetDiskEncryption struct { BootPartitionEncryptionDetails ComputerInventorySubsetBootPartitionEncryptionDetails `json:"bootPartitionEncryptionDetails"` IndividualRecoveryKeyValidityStatus string `json:"individualRecoveryKeyValidityStatus"` InstitutionalRecoveryKeyPresent bool `json:"institutionalRecoveryKeyPresent"` DiskEncryptionConfigurationName string `json:"diskEncryptionConfigurationName"` FileVault2EnabledUserNames []string `json:"fileVault2EnabledUserNames"` FileVault2EligibilityMessage string `json:"fileVault2EligibilityMessage"` }
type ComputerInventorySubsetExtensionAttribute ¶
type ComputerInventorySubsetExtensionAttribute struct { DefinitionId string `json:"definitionId"` Name string `json:"name"` Description string `json:"description"` Enabled bool `json:"enabled"` MultiValue bool `json:"multiValue"` Values []string `json:"values"` DataType string `json:"dataType"` Options []string `json:"options"` InputType string `json:"inputType"` }
ExtensionAttribute represents a generic extension attribute.
type ComputerInventorySubsetGeneral ¶
type ComputerInventorySubsetGeneral struct { Name string `json:"name"` LastIpAddress string `json:"lastIpAddress"` LastReportedIp string `json:"lastReportedIp"` JamfBinaryVersion string `json:"jamfBinaryVersion"` Platform string `json:"platform"` Barcode1 string `json:"barcode1"` Barcode2 string `json:"barcode2"` AssetTag string `json:"assetTag"` RemoteManagement ComputerInventorySubsetGeneralRemoteManagement `json:"remoteManagement"` Supervised bool `json:"supervised"` MdmCapable ComputerInventorySubsetGeneralMdmCapable `json:"mdmCapable"` ReportDate string `json:"reportDate"` LastContactTime string `json:"lastContactTime"` LastCloudBackupDate string `json:"lastCloudBackupDate"` LastEnrolledDate string `json:"lastEnrolledDate"` MdmProfileExpiration string `json:"mdmProfileExpiration"` InitialEntryDate string `json:"initialEntryDate"` DistributionPoint string `json:"distributionPoint"` EnrollmentMethod ComputerInventorySubsetGeneralEnrollmentMethod `json:"enrollmentMethod"` Site SharedResourceSiteProAPI `json:"site"` ItunesStoreAccountActive bool `json:"itunesStoreAccountActive"` EnrolledViaAutomatedDeviceEnrollment bool `json:"enrolledViaAutomatedDeviceEnrollment"` UserApprovedMdm bool `json:"userApprovedMdm"` DeclarativeDeviceManagementEnabled bool `json:"declarativeDeviceManagementEnabled"` ExtensionAttributes []ComputerInventorySubsetExtensionAttribute `json:"extensionAttributes"` ManagementId string `json:"managementId"` }
type ComputerInventorySubsetHardware ¶
type ComputerInventorySubsetHardware struct { Make string `json:"make"` Model string `json:"model"` ModelIdentifier string `json:"modelIdentifier"` SerialNumber string `json:"serialNumber"` ProcessorSpeedMhz int `json:"processorSpeedMhz"` ProcessorCount int `json:"processorCount"` CoreCount int `json:"coreCount"` ProcessorType string `json:"processorType"` ProcessorArchitecture string `json:"processorArchitecture"` BusSpeedMhz int `json:"busSpeedMhz"` CacheSizeKilobytes int `json:"cacheSizeKilobytes"` NetworkAdapterType string `json:"networkAdapterType"` MacAddress string `json:"macAddress"` AltNetworkAdapterType string `json:"altNetworkAdapterType"` AltMacAddress string `json:"altMacAddress"` TotalRamMegabytes int `json:"totalRamMegabytes"` OpenRamSlots int `json:"openRamSlots"` BatteryCapacityPercent int `json:"batteryCapacityPercent"` SmcVersion string `json:"smcVersion"` NicSpeed string `json:"nicSpeed"` OpticalDrive string `json:"opticalDrive"` BootRom string `json:"bootRom"` BleCapable bool `json:"bleCapable"` SupportsIosAppInstalls bool `json:"supportsIosAppInstalls"` AppleSilicon bool `json:"appleSilicon"` ExtensionAttributes []ComputerInventorySubsetExtensionAttribute `json:"extensionAttributes"` }
type ComputerInventorySubsetIBeacon ¶
type ComputerInventorySubsetIBeacon struct {
Name string `json:"name"`
}
type ComputerInventorySubsetLocalUserAccount ¶
type ComputerInventorySubsetLocalUserAccount struct { UID string `json:"uid"` UserGuid string `json:"userGuid"` Username string `json:"username"` FullName string `json:"fullName"` Admin bool `json:"admin"` HomeDirectory string `json:"homeDirectory"` HomeDirectorySizeMb int `json:"homeDirectorySizeMb"` FileVault2Enabled bool `json:"fileVault2Enabled"` UserAccountType string `json:"userAccountType"` PasswordMinLength int `json:"passwordMinLength"` PasswordMaxAge int `json:"passwordMaxAge"` PasswordMinComplexCharacters int `json:"passwordMinComplexCharacters"` PasswordHistoryDepth int `json:"passwordHistoryDepth"` PasswordRequireAlphanumeric bool `json:"passwordRequireAlphanumeric"` ComputerAzureActiveDirectoryId string `json:"computerAzureActiveDirectoryId"` UserAzureActiveDirectoryId string `json:"userAzureActiveDirectoryId"` AzureActiveDirectoryId string `json:"azureActiveDirectoryId"` }
type ComputerInventorySubsetOperatingSystem ¶
type ComputerInventorySubsetOperatingSystem struct { Name string `json:"name"` Version string `json:"version"` Build string `json:"build"` SupplementalBuildVersion string `json:"supplementalBuildVersion"` RapidSecurityResponse string `json:"rapidSecurityResponse"` ActiveDirectoryStatus string `json:"activeDirectoryStatus"` FileVault2Status string `json:"fileVault2Status"` SoftwareUpdateDeviceId string `json:"softwareUpdateDeviceId"` ExtensionAttributes []ComputerInventorySubsetExtensionAttribute `json:"extensionAttributes"` }
type ComputerInventorySubsetPurchasing ¶
type ComputerInventorySubsetPurchasing struct { Leased bool `json:"leased"` Purchased bool `json:"purchased"` PoNumber string `json:"poNumber"` PoDate string `json:"poDate"` Vendor string `json:"vendor"` WarrantyDate string `json:"warrantyDate"` AppleCareId string `json:"appleCareId"` LeaseDate string `json:"leaseDate"` PurchasePrice string `json:"purchasePrice"` LifeExpectancy int `json:"lifeExpectancy"` PurchasingAccount string `json:"purchasingAccount"` PurchasingContact string `json:"purchasingContact"` ExtensionAttributes []ComputerInventorySubsetExtensionAttribute `json:"extensionAttributes"` }
type ComputerInventorySubsetSecurity ¶
type ComputerInventorySubsetSecurity struct { SipStatus string `json:"sipStatus"` GatekeeperStatus string `json:"gatekeeperStatus"` XprotectVersion string `json:"xprotectVersion"` AutoLoginDisabled bool `json:"autoLoginDisabled"` RemoteDesktopEnabled bool `json:"remoteDesktopEnabled"` ActivationLockEnabled bool `json:"activationLockEnabled"` RecoveryLockEnabled bool `json:"recoveryLockEnabled"` FirewallEnabled bool `json:"firewallEnabled"` SecureBootLevel string `json:"secureBootLevel"` ExternalBootLevel string `json:"externalBootLevel"` BootstrapTokenAllowed bool `json:"bootstrapTokenAllowed"` }
type ComputerInventorySubsetService ¶
type ComputerInventorySubsetService struct {
Name string `json:"name"`
}
type ComputerInventorySubsetStorage ¶
type ComputerInventorySubsetStorage struct { BootDriveAvailableSpaceMegabytes int `json:"bootDriveAvailableSpaceMegabytes"` Disks []ComputerInventorySubsetStorageDisk `json:"disks"` }
type ComputerInventorySubsetStorageDisk ¶
type ComputerInventorySubsetStorageDisk struct { ID string `json:"id"` Device string `json:"device"` Model string `json:"model"` Revision string `json:"revision"` SerialNumber string `json:"serialNumber"` SizeMegabytes int `json:"sizeMegabytes"` SmartStatus string `json:"smartStatus"` Type string `json:"type"` Partitions []ComputerInventorySubsetStorageDiskPartition `json:"partitions"` }
type ComputerInventorySubsetStorageDiskPartition ¶
type ComputerInventorySubsetStorageDiskPartition struct { Name string `json:"name"` SizeMegabytes int `json:"sizeMegabytes"` AvailableMegabytes int `json:"availableMegabytes"` PartitionType string `json:"partitionType"` PercentUsed int `json:"percentUsed"` FileVault2State string `json:"fileVault2State"` FileVault2ProgressPercent int `json:"fileVault2ProgressPercent"` LvmManaged bool `json:"lvmManaged"` }
type ComputerInventorySubsetUserAndLocation ¶
type ComputerInventorySubsetUserAndLocation struct { Username string `json:"username"` Realname string `json:"realname"` Email string `json:"email"` Position string `json:"position"` Phone string `json:"phone"` DepartmentId string `json:"departmentId"` BuildingId string `json:"buildingId"` Room string `json:"room"` ExtensionAttributes []ComputerInventorySubsetExtensionAttribute `json:"extensionAttributes"` }
type ComputerInvitationListItem ¶
type ComputerInvitationListItem struct { ID int `xml:"id,omitempty"` Invitation int64 `xml:"invitation,omitempty"` InvitationType string `xml:"invitation_type,omitempty"` ExpirationDate string `xml:"expiration_date,omitempty"` ExpirationDateUTC string `xml:"expiration_date_utc,omitempty"` ExpirationDateEpoch int64 `xml:"expiration_date_epoch,omitempty"` }
type ComputerPrestageSubsetAccountSettings ¶
type ComputerPrestageSubsetAccountSettings struct { ID string `json:"id"` PayloadConfigured bool `json:"payloadConfigured"` LocalAdminAccountEnabled bool `json:"localAdminAccountEnabled"` AdminUsername string `json:"adminUsername"` AdminPassword string `json:"adminPassword"` HiddenAdminAccount bool `json:"hiddenAdminAccount"` LocalUserManaged bool `json:"localUserManaged"` UserAccountType string `json:"userAccountType"` VersionLock int `json:"versionLock"` PrefillPrimaryAccountInfoFeatureEnabled bool `json:"prefillPrimaryAccountInfoFeatureEnabled"` PrefillType string `json:"prefillType"` PrefillAccountFullName string `json:"prefillAccountFullName"` PrefillAccountUserName string `json:"prefillAccountUserName"` PreventPrefillInfoFromModification bool `json:"preventPrefillInfoFromModification"` }
type ComputerPrestageSubsetLocationInformation ¶
type ComputerPrestageSubsetLocationInformation struct { Username string `json:"username"` Realname string `json:"realname"` Phone string `json:"phone"` Email string `json:"email"` Room string `json:"room"` Position string `json:"position"` DepartmentId string `json:"departmentId"` BuildingId string `json:"buildingId"` ID string `json:"id"` VersionLock int `json:"versionLock"` }
type ComputerPrestageSubsetPurchasingInformation ¶
type ComputerPrestageSubsetPurchasingInformation struct { ID string `json:"id"` Leased bool `json:"leased"` Purchased bool `json:"purchased"` AppleCareId string `json:"appleCareId"` PONumber string `json:"poNumber"` Vendor string `json:"vendor"` PurchasePrice string `json:"purchasePrice"` LifeExpectancy int `json:"lifeExpectancy"` PurchasingAccount string `json:"purchasingAccount"` PurchasingContact string `json:"purchasingContact"` LeaseDate string `json:"leaseDate"` PODate string `json:"poDate"` WarrantyDate string `json:"warrantyDate"` VersionLock int `json:"versionLock"` }
type ComputerPrestageSubsetSkipSetupItems ¶
type ComputerPrestageSubsetSkipSetupItems struct { Biometric bool `json:"Biometric"` TermsOfAddress bool `json:"TermsOfAddress"` FileVault bool `json:"FileVault"` ICloudDiagnostics bool `json:"iCloudDiagnostics"` Diagnostics bool `json:"Diagnostics"` Accessibility bool `json:"Accessibility"` AppleID bool `json:"AppleID"` ScreenTime bool `json:"ScreenTime"` Siri bool `json:"Siri"` DisplayTone bool `json:"DisplayTone"` Restore bool `json:"Restore"` Appearance bool `json:"Appearance"` Privacy bool `json:"Privacy"` Payment bool `json:"Payment"` Registration bool `json:"Registration"` TOS bool `json:"TOS"` ICloudStorage bool `json:"iCloudStorage"` Location bool `json:"Location"` }
type ComputerSubsetCertificates ¶
type ComputerSubsetCertificates struct { CommonName string `xml:"common_name" json:"common_name"` Identity bool `xml:"identity" json:"identity"` ExpiresUtc string `xml:"expires_utc" json:"expires_utc"` ExpiresEpoch int64 `xml:"expires_epoch" json:"expires_epoch"` Name string `xml:"name" json:"name"` }
type ComputerSubsetGeneral ¶
type ComputerSubsetGeneral struct { ID int `xml:"id" json:"id"` Name string `xml:"name" json:"name"` MacAddress string `xml:"mac_address" json:"mac_address"` NetworkAdapterType string `xml:"network_adapter_type" json:"network_adapter_type"` AltMacAddress string `xml:"alt_mac_address" json:"alt_mac_address"` AltNetworkAdapterType string `xml:"alt_network_adapter_type" json:"alt_network_adapter_type"` IPAddress string `xml:"ip_address" json:"ip_address"` LastReportedIP string `xml:"last_reported_ip" json:"last_reported_ip"` SerialNumber string `xml:"serial_number" json:"serial_number"` UDID string `xml:"udid" json:"udid"` JamfVersion string `xml:"jamf_version" json:"jamf_version"` Platform string `xml:"platform" json:"platform"` Barcode1 string `xml:"barcode_1" json:"barcode_1"` Barcode2 string `xml:"barcode_2" json:"barcode_2"` AssetTag string `xml:"asset_tag" json:"asset_tag"` RemoteManagement ComputerSubsetGeneralRemoteManagement `xml:"remote_management" json:"remote_management"` MdmCapable bool `xml:"mdm_capable" json:"mdm_capable"` MdmCapableUsers ComputerSubsetGeneralMdmCapableUsers `xml:"mdm_capable_users" json:"mdm_capable_users"` MdmProfileExpirationEpoch int64 `xml:"mdm_profile_expiration_epoch" json:"mdm_profile_expiration_epoch"` MdmProfileExpirationUtc string `xml:"mdm_profile_expiration_utc" json:"mdm_profile_expiration_utc"` ManagementStatus ComputerSubsetGeneralManagementStatus `xml:"management_status" json:"management_status"` ReportDate string `xml:"report_date" json:"report_date"` ReportDateEpoch int64 `xml:"report_date_epoch" json:"report_date_epoch"` ReportDateUtc string `xml:"report_date_utc" json:"report_date_utc"` LastContactTime string `xml:"last_contact_time" json:"last_contact_time"` LastContactTimeEpoch int64 `xml:"last_contact_time_epoch" json:"last_contact_time_epoch"` LastContactTimeUtc string `xml:"last_contact_time_utc" json:"last_contact_time_utc"` InitialEntryDate string `xml:"initial_entry_date" json:"initial_entry_date"` InitialEntryDateEpoch int64 `xml:"initial_entry_date_epoch" json:"initial_entry_date_epoch"` InitialEntryDateUtc string `xml:"initial_entry_date_utc" json:"initial_entry_date_utc"` LastCloudBackupDateEpoch int64 `xml:"last_cloud_backup_date_epoch" json:"last_cloud_backup_date_epoch"` LastCloudBackupDateUtc string `xml:"last_cloud_backup_date_utc" json:"last_cloud_backup_date_utc"` LastEnrolledDateEpoch int64 `xml:"last_enrolled_date_epoch" json:"last_enrolled_date_epoch"` LastEnrolledDateUtc string `xml:"last_enrolled_date_utc" json:"last_enrolled_date_utc"` DistributionPoint string `xml:"distribution_point" json:"distribution_point"` Sus string `xml:"sus" json:"sus"` Supervised bool `xml:"supervised" json:"supervised"` Site SharedResourceSite `xml:"site" json:"site"` ItunesStoreAccountIsActive bool `xml:"itunes_store_account_is_active" json:"itunes_store_account_is_active"` }
type ComputerSubsetGeneralMdmCapableUsers ¶
type ComputerSubsetGeneralMdmCapableUsers struct {
MdmCapableUser string `xml:"mdm_capable_user" json:"mdm_capable_user"`
}
type ComputerSubsetGroupsAccounts ¶
type ComputerSubsetGroupsAccounts struct { ComputerGroupMemberships []ComputerSubsetGroupsAccountsComputerGroupMemberships `xml:"computer_group_memberships>group" json:"computer_group_memberships"` LocalAccounts []ComputerSubsetGroupsAccountsLocalAccounts `xml:"local_accounts>user" json:"local_accounts"` }
type ComputerSubsetGroupsAccountsComputerGroupMemberships ¶
type ComputerSubsetGroupsAccountsComputerGroupMemberships struct {
Group string `xml:"group" json:"group"`
}
type ComputerSubsetGroupsAccountsLocalAccounts ¶
type ComputerSubsetGroupsAccountsLocalAccounts struct { Name string `xml:"name" json:"name"` RealName string `xml:"realname" json:"realname"` UID string `xml:"uid" json:"uid"` Home string `xml:"home" json:"home"` HomeSize string `xml:"home_size" json:"home_size"` HomeSizeMb int `xml:"home_size_mb" json:"home_size_mb"` Administrator bool `xml:"administrator" json:"administrator"` FilevaultEnabled bool `xml:"filevault_enabled" json:"filevault_enabled"` }
type ComputerSubsetHardware ¶
type ComputerSubsetHardware struct { Make string `xml:"make" json:"make"` Model string `xml:"model" json:"model"` ModelIdentifier string `xml:"model_identifier" json:"model_identifier"` OsName string `xml:"os_name" json:"os_name"` OsVersion string `xml:"os_version" json:"os_version"` OsBuild string `xml:"os_build" json:"os_build"` MasterPasswordSet bool `xml:"master_password_set" json:"master_password_set"` ActiveDirectoryStatus string `xml:"active_directory_status" json:"active_directory_status"` ServicePack string `xml:"service_pack" json:"service_pack"` ProcessorType string `xml:"processor_type" json:"processor_type"` ProcessorArchitecture string `xml:"processor_architecture" json:"processor_architecture"` ProcessorSpeed int `xml:"processor_speed" json:"processor_speed"` ProcessorSpeedMhz int `xml:"processor_speed_mhz" json:"processor_speed_mhz"` NumberProcessors int `xml:"number_processors" json:"number_processors"` NumberCores int `xml:"number_cores" json:"number_cores"` TotalRam int `xml:"total_ram" json:"total_ram"` TotalRamMb int `xml:"total_ram_mb" json:"total_ram_mb"` BootRom string `xml:"boot_rom" json:"boot_rom"` BusSpeed int `xml:"bus_speed" json:"bus_speed"` BusSpeedMhz int `xml:"bus_speed_mhz" json:"bus_speed_mhz"` BatteryCapacity int `xml:"battery_capacity" json:"battery_capacity"` CacheSize int `xml:"cache_size" json:"cache_size"` CacheSizeKb int `xml:"cache_size_kb" json:"cache_size_kb"` AvailableRamSlots int `xml:"available_ram_slots" json:"available_ram_slots"` OpticalDrive string `xml:"optical_drive" json:"optical_drive"` NicSpeed string `xml:"nic_speed" json:"nic_speed"` SmcVersion string `xml:"smc_version" json:"smc_version"` BleCapable bool `xml:"ble_capable" json:"ble_capable"` SipStatus string `xml:"sip_status" json:"sip_status"` GatekeeperStatus string `xml:"gatekeeper_status" json:"gatekeeper_status"` XprotectVersion string `xml:"xprotect_version" json:"xprotect_version"` InstitutionalRecoveryKey string `xml:"institutional_recovery_key" json:"institutional_recovery_key"` DiskEncryptionConfiguration string `xml:"disk_encryption_configuration" json:"disk_encryption_configuration"` SoftwareUpdateDeviceID string `xml:"software_update_device_id,omitempty" json:"software_update_device_id,omitempty"` IsAppleSilicon bool `xml:"is_apple_silicon,omitempty" json:"is_apple_silicon,omitempty"` SupportsIosAppInstalls bool `xml:"supports_ios_app_installs,omitempty" json:"supports_ios_app_installs,omitempty"` Filevault2Users []ComputerSubsetHardwareFileVault2Users `xml:"filevault2_users>user" json:"filevault_2_users"` Storage []ComputerSubsetHardwareStorage `xml:"storage>device" json:"storage"` MappedPrinters []ComputerSubsetHardwareMappedPrinters `xml:"mapped_printers>printer" json:"mapped_printers"` }
type ComputerSubsetHardwareFileVault2Users ¶
type ComputerSubsetHardwareFileVault2Users struct {
User string `xml:"user" json:"user"`
}
type ComputerSubsetHardwareStorage ¶
type ComputerSubsetHardwareStorage struct { Disk string `xml:"disk" json:"disk"` Model string `xml:"model" json:"model"` Revision string `xml:"revision" json:"revision"` SerialNumber string `xml:"serial_number" json:"serial_number"` Size int `xml:"size" json:"size"` DriveCapacityMb int `xml:"drive_capacity_mb" json:"drive_capacity_mb"` ConnectionType string `xml:"connection_type" json:"connection_type"` SmartStatus string `xml:"smart_status" json:"smart_status"` Partitions []ComputerSubsetHardwareStoragePartitions `xml:"partition" json:"partitions"` }
type ComputerSubsetHardwareStoragePartitions ¶
type ComputerSubsetHardwareStoragePartitions struct { Name string `xml:"name" json:"name"` Size int `xml:"size" json:"size"` Type string `xml:"type" json:"type"` PartitionCapacityMb int `xml:"partition_capacity_mb" json:"partition_capacity_mb"` PercentageFull int `xml:"percentage_full" json:"percentage_full"` FilevaultStatus string `xml:"filevault_status" json:"filevault_status"` FilevaultPercent int `xml:"filevault_percent" json:"filevault_percent"` Filevault2Status string `xml:"filevault2_status" json:"filevault2_status"` Filevault2Percent int `xml:"filevault2_percent" json:"filevault2_percent"` BootDriveAvailableMb int `xml:"boot_drive_available_mb" json:"boot_drive_available_mb"` LvgUUID string `xml:"lvgUUID" json:"lvgUUID"` LvUUID string `xml:"lvUUID" json:"lvUUID"` PvUUID string `xml:"pvUUID" json:"pvUUID"` }
type ComputerSubsetLocation ¶
type ComputerSubsetLocation struct { Username string `xml:"username" json:"username"` RealName string `xml:"realname" json:"realname"` EmailAddress string `xml:"email_address" json:"email_address"` Position string `xml:"position" json:"position"` Phone string `xml:"phone" json:"phone"` PhoneNumber string `xml:"phone_number" json:"phone_number"` Department string `xml:"department" json:"department"` Building string `xml:"building" json:"building"` Room string `xml:"room" json:"room"` }
type ComputerSubsetPeripherals ¶
type ComputerSubsetPeripherals struct { ID int `xml:"id" json:"id"` BarCode1 string `xml:"bar_code_1" json:"bar_code_1"` BarCode2 string `xml:"bar_code_2" json:"bar_code_2"` Type string `xml:"type" json:"type"` Fields ComputerSubsetPeripheralsContainerFields `xml:"fields" json:"fields"` Purchasing ComputerSubsetPeripheralsPurchasing `xml:"purchasing" json:"purchasing"` Attachments []ComputerSubsetPeripheralsAttachments `xml:"attachments>attachment" json:"attachments"` }
type ComputerSubsetPeripheralsContainerFields ¶
type ComputerSubsetPeripheralsContainerFields struct {
Field []ComputerSubsetPeripheralsField `xml:"field" json:"field"`
}
type ComputerSubsetPeripheralsPurchasing ¶
type ComputerSubsetPeripheralsPurchasing struct { IsPurchased bool `xml:"is_purchased" json:"is_purchased"` IsLeased bool `xml:"is_leased" json:"is_leased"` PoNumber string `xml:"po_number" json:"po_number"` Vendor string `xml:"vendor" json:"vendor"` ApplecareID string `xml:"applecare_id" json:"applecare_id"` PurchasePrice string `xml:"purchase_price" json:"purchase_price"` PurchasingAccount string `xml:"purchasing_account" json:"purchasing_account"` PoDate string `xml:"po_date" json:"po_date"` PoDateEpoch int64 `xml:"po_date_epoch" json:"po_date_epoch"` PoDateUtc string `xml:"po_date_utc" json:"po_date_utc"` WarrantyExpires string `xml:"warranty_expires" json:"warranty_expires"` WarrantyExpiresEpoch int64 `xml:"warranty_expires_epoch" json:"warranty_expires_epoch"` WarrantyExpiresUtc string `xml:"warranty_expires_utc" json:"warranty_expires_utc"` LeaseExpires string `xml:"lease_expires" json:"lease_expires"` LeaseExpiresEpoch int64 `xml:"lease_expires_epoch" json:"lease_expires_epoch"` LeaseExpiresUtc string `xml:"lease_expires_utc" json:"lease_expires_utc"` LifeExpectancy int `xml:"life_expectancy" json:"life_expectancy"` PurchasingContact string `xml:"purchasing_contact" json:"purchasing_contact"` }
type ComputerSubsetPurchasing ¶
type ComputerSubsetPurchasing struct { IsPurchased bool `xml:"is_purchased" json:"is_purchased"` IsLeased bool `xml:"is_leased" json:"is_leased"` PoNumber string `xml:"po_number" json:"po_number"` Vendor string `xml:"vendor" json:"vendor"` ApplecareID string `xml:"applecare_id" json:"applecare_id"` PurchasePrice string `xml:"purchase_price" json:"purchase_price"` PurchasingAccount string `xml:"purchasing_account" json:"purchasing_account"` PoDate string `xml:"po_date" json:"po_date"` PoDateEpoch int64 `xml:"po_date_epoch" json:"po_date_epoch"` PoDateUtc string `xml:"po_date_utc" json:"po_date_utc"` WarrantyExpires string `xml:"warranty_expires" json:"warranty_expires"` WarrantyExpiresEpoch int64 `xml:"warranty_expires_epoch" json:"warranty_expires_epoch"` WarrantyExpiresUtc string `xml:"warranty_expires_utc" json:"warranty_expires_utc"` LeaseExpires string `xml:"lease_expires" json:"lease_expires"` LeaseExpiresEpoch int64 `xml:"lease_expires_epoch" json:"lease_expires_epoch"` LeaseExpiresUtc string `xml:"lease_expires_utc" json:"lease_expires_utc"` LifeExpectancy int `xml:"life_expectancy" json:"life_expectancy"` PurchasingContact string `xml:"purchasing_contact" json:"purchasing_contact"` OSAppleCareID string `xml:"os_applecare_id,omitempty" json:"os_applecare_id,omitempty"` OSMaintenanceExpires string `xml:"os_maintenance_expires,omitempty" json:"os_maintenance_expires,omitempty"` }
type ComputerSubsetSecurity ¶
type ComputerSubsetSecurity struct { ActivationLock bool `xml:"activation_lock" json:"activation_lock"` RecoveryLockEnabled bool `xml:"recovery_lock_enabled" json:"recovery_lock_enabled"` SecureBootLevel string `xml:"secure_boot_level" json:"secure_boot_level"` ExternalBootLevel string `xml:"external_boot_level" json:"external_boot_level"` FirewallEnabled bool `xml:"firewall_enabled" json:"firewall_enabled"` }
type ComputerSubsetSoftware ¶
type ComputerSubsetSoftware struct { UnixExecutables []string `xml:"unix_executables>string" json:"unix_executables"` LicensedSoftware []string `xml:"licensed_software>string" json:"licensed_software"` InstalledByCasper []string `xml:"installed_by_casper>package" json:"installed_by_casper"` InstalledByInstallerSwu []string `xml:"installed_by_installer_swu>package" json:"installed_by_installer_swu"` CachedByCasper []string `xml:"cached_by_casper>package" json:"cached_by_casper"` AvailableSoftwareUpdates []string `xml:"available_software_updates>name" json:"available_software_updates"` AvailableUpdates []ComputerSubsetSoftwareAvailableUpdates `xml:"available_updates>update" json:"available_updates"` RunningServices []string `xml:"running_services>name" json:"running_services"` Applications []ComputerSubsetSoftwareApplications `xml:"applications>application" json:"applications"` Fonts []ComputerSubsetSoftwareFonts `xml:"fonts>font" json:"fonts"` Plugins []ComputerSubsetSoftwarePlugins `xml:"plugins>plugin" json:"plugins"` }
type ComputersListItem ¶
type DeviceScopeSubsetAssignmentItem ¶
type DeviceScopeSubsetAssignmentItem struct { SerialNumber string `json:"serialNumber"` AssignmentDate string `json:"assignmentDate"` UserAssigned string `json:"userAssigned"` }
AssignmentItem represents the structure of each assignment within the prestage scope.
type DockItemListItem ¶
type EBookListItem ¶
type EbookSubsetGeneral ¶
type EbookSubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` Author string `xml:"author"` Version string `xml:"version"` Free bool `xml:"free"` URL string `xml:"url"` DeploymentType string `xml:"deployment_type"` FileType string `xml:"file_type"` DeployAsManaged bool `xml:"deploy_as_managed"` Category SharedResourceCategory `xml:"category"` SelfServiceIcon SharedResourceSelfServiceIcon `xml:"self_service_icon"` Site SharedResourceSite `xml:"site"` }
type EbookSubsetScope ¶
type EbookSubsetScope struct { AllComputers bool `xml:"all_computers"` AllMobileDevices bool `xml:"all_mobile_devices"` AllJSSUsers bool `xml:"all_jss_users"` Computers []EbookSubsetScopeComputer `xml:"computers>computer"` ComputerGroups []EbookSubsetScopeComputerGroup `xml:"computer_groups>computer_group"` MobileDevices []EbookSubsetScopeMobileDevice `xml:"mobile_devices>mobile_device"` MobileDeviceGroups []EbookSubsetScopeMobileDeviceGroup `xml:"mobile_device_groups>mobile_device_group"` Buildings []EbookSubsetScopeBuilding `xml:"buildings>building"` Departments []EbookSubsetScopeDepartment `xml:"departments>department"` JSSUsers []EbookSubsetScopeUser `xml:"jss_users>user"` JSSUserGroups []EbookSubsetScopeUserGroup `xml:"jss_user_groups>user_group"` Classes []EbooksSubsetScopeClass `xml:"classes>class"` Limitations EbookSubsetScopeLimitations `xml:"limitations"` Exclusions EbookSubsetScopeExclusions `xml:"exclusions"` }
type EbookSubsetScopeBuilding ¶
Building represents a building within the scope.
type EbookSubsetScopeComputer ¶
type EbookSubsetScopeComputer struct { ID int `xml:"id"` Name string `xml:"name"` UDID string `xml:"udid"` }
Computer represents a single computer within the scope.
type EbookSubsetScopeComputerGroup ¶
ComputerGroup represents a group of computers within the scope.
type EbookSubsetScopeDepartment ¶
Department represents a department within the scope.
type EbookSubsetScopeExclusions ¶
type EbookSubsetScopeExclusions struct { Computers []EbookSubsetScopeComputer `xml:"computers>computer"` ComputerGroups []EbookSubsetScopeComputerGroup `xml:"computer_groups>computer_group"` MobileDevices []EbookSubsetScopeMobileDevice `xml:"mobile_devices>mobile_device"` MobileDeviceGroups []EbookSubsetScopeMobileDeviceGroup `xml:"mobile_device_groups>mobile_device_group"` Buildings []EbookSubsetScopeBuilding `xml:"buildings>building"` Departments []EbookSubsetScopeDepartment `xml:"departments>department"` JSSUsers []EbookSubsetScopeUser `xml:"jss_users>user"` JSSUserGroups []EbookSubsetScopeUserGroup `xml:"jss_user_groups>user_group"` }
Exclusions represent any exclusions within the scope.
type EbookSubsetScopeLimitations ¶
type EbookSubsetScopeLimitations struct { NetworkSegments []struct { ID int `xml:"id"` UID string `xml:"uid,omitempty"` Name string `xml:"name"` } `xml:"network_segments>network_segment"` Users []EbookSubsetScopeUser `xml:"users>user"` UserGroups []EbookSubsetScopeUserGroup `xml:"user_groups>user_group"` }
EbooksSubsetLimitations represents any limitations within the scope.
type EbookSubsetScopeMobileDevice ¶
type EbookSubsetScopeMobileDevice struct { ID int `xml:"id"` Name string `xml:"name"` UDID string `xml:"udid"` WiFiMacAddress string `xml:"wifi_mac_address"` }
MobileDevice represents a single mobile device within the scope.
type EbookSubsetScopeMobileDeviceGroup ¶
EbooksSubsetMobileDeviceGroup represents a group of mobile devices within the scope.
type EbookSubsetScopeUser ¶
User represents a user within the scope.
type EbookSubsetScopeUserGroup ¶
UserGroup represents a group of users within the scope.
type EbookSubsetSelfService ¶
type EbookSubsetSelfService struct { SelfServiceDisplayName string `xml:"self_service_display_name"` InstallButtonText string `xml:"install_button_text"` SelfServiceDescription string `xml:"self_service_description"` ForceUsersToViewDescription bool `xml:"force_users_to_view_description"` SelfServiceIcon SharedResourceSelfServiceIcon `xml:"self_service_icon"` FeatureOnMainPage bool `xml:"feature_on_main_page"` SelfServiceCategories EbookSubsetSelfServiceCategories `xml:"self_service_categories"` Notification bool `xml:"notification"` NotificationSubject string `xml:"notification_subject"` NotificationMessage string `xml:"notification_message"` }
type EbookSubsetSelfServiceCategories ¶
type EbookSubsetSelfServiceCategories struct { Category []struct { ID int `xml:"id"` Name string `xml:"name"` } `xml:"category"` }
SelfServiceCategories represent the categories within SelfService.
type EbooksSubsetScopeClass ¶
Class represents a class within the scope.
type FileVaultInventory ¶
type FileVaultInventory struct { ComputerId string `json:"computerId"` Name string `json:"name"` PersonalRecoveryKey string `json:"personalRecoveryKey"` BootPartitionEncryptionDetails ComputerInventorySubsetBootPartitionEncryptionDetails `json:"bootPartitionEncryptionDetails"` IndividualRecoveryKeyValidityStatus string `json:"individualRecoveryKeyValidityStatus"` InstitutionalRecoveryKeyPresent bool `json:"institutionalRecoveryKeyPresent"` DiskEncryptionConfigurationName string `json:"diskEncryptionConfigurationName"` }
FileVaultInventory represents the FileVault information for a single computer.
type FileVaultInventoryList ¶
type FileVaultInventoryList struct { TotalCount int `json:"totalCount"` Results []FileVaultInventory `json:"results"` }
FileVaultInventoryList represents the paginated FileVault inventory response.
type JCDSFileListItem ¶
type JCDSUploadCredentials ¶
type JCDSUploadResponse ¶
type JCDSUploadResponse struct {
Credentials JCDSUploadCredentials `json:"Credentials"`
}
type LDAPServerContainerMapping ¶
type LDAPServerContainerMapping struct { UserMappings LDAPServerSubsetMappingUsers `xml:"user_mappings"` UserGroupMappings LDAPServerSubsetMappingUserGroups `xml:"user_group_mappings"` UserGroupMembershipMappings LDAPServerSubsetMappingUserGroupMemberships `xml:"user_group_membership_mappings"` }
type LDAPServerSubsetConnection ¶
type LDAPServerSubsetConnection struct { ID int `xml:"id"` Name string `xml:"name"` Hostname string `xml:"hostname"` ServerType string `xml:"server_type"` Port int `xml:"port"` UseSSL bool `xml:"use_ssl"` AuthenticationType string `xml:"authentication_type"` Account LDAPServerSubsetConnectionAccount `xml:"account"` OpenCloseTimeout int `xml:"open_close_timeout"` SearchTimeout int `xml:"search_timeout"` ReferralResponse string `xml:"referral_response"` UseWildcards bool `xml:"use_wildcards"` }
type LDAPServerSubsetMappingUserGroupMemberships ¶
type LDAPServerSubsetMappingUserGroupMemberships struct { UserGroupMembershipStoredIn string `xml:"user_group_membership_stored_in"` MapGroupMembershipToUserField string `xml:"map_group_membership_to_user_field"` AppendToUsername string `xml:"append_to_username"` UseDN bool `xml:"use_dn"` RecursiveLookups bool `xml:"recursive_lookups"` MapUserMembershipToGroupField bool `xml:"map_user_membership_to_group_field"` MapUserMembershipUseDN bool `xml:"map_user_membership_use_dn"` MapObjectClassToAnyOrAll string `xml:"map_object_class_to_any_or_all"` ObjectClasses string `xml:"object_classes"` SearchBase string `xml:"search_base"` SearchScope string `xml:"search_scope"` Username string `xml:"username"` GroupID string `xml:"group_id"` UserGroupMembershipUseLDAPCompare bool `xml:"user_group_membership_use_ldap_compare"` }
type LDAPServerSubsetMappingUserGroups ¶
type LDAPServerSubsetMappingUserGroups struct { MapObjectClassToAnyOrAll string `xml:"map_object_class_to_any_or_all"` ObjectClasses string `xml:"object_classes"` SearchBase string `xml:"search_base"` SearchScope string `xml:"search_scope"` MapGroupID string `xml:"map_group_id"` MapGroupName string `xml:"map_group_name"` MapGroupUUID string `xml:"map_group_uuid"` }
type LDAPServerSubsetMappingUsers ¶
type LDAPServerSubsetMappingUsers struct { MapObjectClassToAnyOrAll string `xml:"map_object_class_to_any_or_all"` ObjectClasses string `xml:"object_classes"` SearchBase string `xml:"search_base"` SearchScope string `xml:"search_scope"` MapUserID string `xml:"map_user_id"` MapUsername string `xml:"map_username"` MapRealName string `xml:"map_realname"` MapEmailAddress string `xml:"map_email_address"` AppendToEmailResults string `xml:"append_to_email_results"` MapDepartment string `xml:"map_department"` MapBuilding string `xml:"map_building"` MapRoom string `xml:"map_room"` MapTelephone string `xml:"map_telephone"` MapPosition string `xml:"map_position"` MapUserUUID string `xml:"map_user_uuid"` }
type LDAPServersListItem ¶
type LicensedSoftwareListItem ¶
type LicensedSoftwareListItem struct { }
type LicensedSoftwareSubsetGeneral ¶
type LicensedSoftwareSubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` Publisher string `xml:"publisher"` Platform string `xml:"platform"` SendEmailOnViolation bool `xml:"send_email_on_violation"` RemoveTitlesFromInventoryReports bool `xml:"remove_titles_from_inventory_reports"` ExcludeTitlesPurchasedFromAppStore bool `xml:"exclude_titles_purchased_from_app_store"` Notes string `xml:"notes"` Site SharedResourceSite `xml:"site"` }
type LicensedSoftwareSubsetLicense ¶
type LicensedSoftwareSubsetLicense struct { SerialNumber1 string `xml:"serial_number_1"` SerialNumber2 string `xml:"serial_number_2"` OrganizationName string `xml:"organization_name"` RegisteredTo string `xml:"registered_to"` LicenseType string `xml:"license_type"` LicenseCount int `xml:"license_count"` Notes string `xml:"notes"` Purchasing LicensedSoftwareSubsetLicensePurchasing `xml:"purchasing"` Attachments []LicensedSoftwareSubsetLicenseAttachments `xml:"attachments>attachment"` }
type LicensedSoftwareSubsetLicensePurchasing ¶
type LicensedSoftwareSubsetLicensePurchasing struct { IsPerpetual bool `xml:"is_perpetual"` IsAnnual bool `xml:"is_annual"` PONumber string `xml:"po_number"` Vendor string `xml:"vendor"` PurchasePrice string `xml:"purchase_price"` PurchasingAccount string `xml:"purchasing_account"` PODate string `xml:"po_date"` PODateEpoch int64 `xml:"po_date_epoch"` PODateUTC string `xml:"po_date_utc"` LicenseExpires string `xml:"license_expires"` LicenseExpiresEpoch int64 `xml:"license_expires_epoch"` LicenseExpiresUTC string `xml:"license_expires_utc"` LifeExpectancy int `xml:"life_expectancy"` PurchasingContact string `xml:"purchasing_contact"` }
type LicensedSoftwareSubsetLicenses ¶
type LicensedSoftwareSubsetLicenses struct { Size int `xml:"size"` License LicensedSoftwareSubsetLicense `xml:"license"` }
type LogLevel ¶
type LogLevel int
Logger is an interface for logging within the SDK.// LogLevel mirrors the http_client's LogLevel to maintain compatibility.
type Logger ¶
type Logger interface { SetLevel(level LogLevel) Trace(msg string, keysAndValues ...interface{}) Debug(msg string, keysAndValues ...interface{}) Info(msg string, keysAndValues ...interface{}) Warn(msg string, keysAndValues ...interface{}) Error(msg string, keysAndValues ...interface{}) Fatal(msg string, keysAndValues ...interface{}) }
Logger interface to match http_client's Logger interface.
func NewDefaultLogger ¶
func NewDefaultLogger() Logger
NewDefaultLogger returns a new default logger instance with a default log level.
type MacAppScopeExclusions ¶
type MacAppScopeExclusions struct { Buildings []MacAppSubsetScopeBuilding `xml:"buildings>building"` Departments []MacAppSubsetScopeDepartment `xml:"departments>department"` Users []MacAppSubsetScopeUser `xml:"users>user"` UserGroups []MacAppSubsetScopeUserGroup `xml:"user_groups>user_group"` NetworkSegments []MacAppSubsetScopeNetworkSegment `xml:"network_segments>network_segment"` Computers []MacAppSubsetScopeComputer `xml:"computers>computer"` ComputerGroups []MacAppSubsetScopeComputerGroup `xml:"computer_groups>computer_group"` JSSUsers []MacAppSubsetScopeUser `xml:"jss_users>user"` JSSUserGroups []MacAppSubsetScopeUserGroup `xml:"jss_user_groups>user_group"` }
type MacAppScopeLimitations ¶
type MacAppScopeLimitations struct { Users []MacAppSubsetScopeUser `xml:"users>user"` UserGroups []MacAppSubsetScopeUserGroup `xml:"user_groups>user_group"` NetworkSegments []MacAppSubsetScopeNetworkSegment `xml:"network_segments>network_segment"` }
type MacAppSubsetScopeUser ¶
type MacAppSubsetSelfService ¶
type MacAppSubsetSelfService struct { InstallButtonText string `xml:"install_button_text"` SelfServiceDescription string `xml:"self_service_description"` ForceUsersToViewDescription bool `xml:"force_users_to_view_description"` SelfServiceIcon SharedResourceSelfServiceIcon `xml:"self_service_icon"` FeatureOnMainPage bool `xml:"feature_on_main_page"` SelfServiceCategories []MacAppSubsetSelfServiceCategories `xml:"self_service_categories>category"` Notification string `xml:"notification"` NotificationSubject string `xml:"notification_subject"` NotificationMessage string `xml:"notification_message"` VPP MacAppSubsetSelfServiceVPP `xml:"vpp"` }
type MacApplicationsListItem ¶
type MacApplicationsSubsetGeneral ¶
type MacApplicationsSubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` Version string `xml:"version"` IsFree bool `xml:"is_free"` BundleID string `xml:"bundle_id"` URL string `xml:"url"` Category SharedResourceCategory `xml:"category"` Site SharedResourceSite `xml:"site"` }
type MacApplicationsSubsetScope ¶
type MacApplicationsSubsetScope struct { AllComputers bool `xml:"all_computers"` AllJSSUsers bool `xml:"all_jss_users"` Buildings []MacAppSubsetScopeBuilding `xml:"buildings>building"` Departments []MacAppSubsetScopeDepartment `xml:"departments>department"` Computers []MacAppSubsetScopeComputer `xml:"computers>computer"` ComputerGroups []MacAppSubsetScopeComputerGroup `xml:"computer_groups>computer_group"` JSSUsers []MacAppSubsetScopeUser `xml:"jss_users>user"` JSSUserGroups []MacAppSubsetScopeUserGroup `xml:"jss_user_groups>user_group"` Limitations MacAppScopeLimitations `xml:"limitations"` Exclusions MacAppScopeExclusions `xml:"exclusions"` }
type MacOSConfigurationProfileSubsetExclusions ¶
type MacOSConfigurationProfileSubsetExclusions struct { Computers []MacOSConfigurationProfileSubsetComputer `xml:"computers,omitempty"` ComputerGroups []MacOSConfigurationProfileSubsetComputerGroup `xml:"computer_groups,omitempty"` Users []MacOSConfigurationProfileSubsetUser `xml:"users,omitempty"` UserGroups []MacOSConfigurationProfileSubsetUserGroup `xml:"user_groups,omitempty"` Buildings []MacOSConfigurationProfileSubsetBuilding `xml:"buildings,omitempty"` Departments []MacOSConfigurationProfileSubsetDepartment `xml:"departments,omitempty"` NetworkSegments []MacOSConfigurationProfileSubsetNetworkSegment `xml:"network_segments,omitempty"` JSSUsers []MacOSConfigurationProfileSubsetJSSUser `xml:"jss_users,omitempty"` JSSUserGroups []MacOSConfigurationProfileSubsetJSSUserGroup `xml:"jss_user_groups,omitempty"` IBeacons []MacOSConfigurationProfileSubsetIBeacon `xml:"ibeacons,omitempty"` }
type MacOSConfigurationProfileSubsetGeneral ¶
type MacOSConfigurationProfileSubsetGeneral struct { ID int `xml:"id,omitempty"` Name string `xml:"name"` Description string `xml:"description,omitempty"` Site SharedResourceSite `xml:"site,omitempty"` Category SharedResourceCategory `xml:"category,omitempty"` DistributionMethod string `xml:"distribution_method,omitempty"` UserRemovable bool `xml:"user_removable,omitempty"` Level string `xml:"level,omitempty"` UUID string `xml:"uuid,omitempty"` RedeployOnUpdate string `xml:"redeploy_on_update,omitempty"` Payloads string `xml:"payloads,omitempty"` }
type MacOSConfigurationProfileSubsetLimitations ¶
type MacOSConfigurationProfileSubsetLimitations struct { Users []MacOSConfigurationProfileSubsetUser `xml:"users>user,omitempty"` UserGroups []MacOSConfigurationProfileSubsetUserGroup `xml:"user_groups>user_group,omitempty"` NetworkSegments []MacOSConfigurationProfileSubsetNetworkSegment `xml:"network_segments>network_segment,omitempty"` IBeacons []MacOSConfigurationProfileSubsetIBeacon `xml:"ibeacons>ibeacon,omitempty"` }
type MacOSConfigurationProfileSubsetScope ¶
type MacOSConfigurationProfileSubsetScope struct { AllComputers bool `xml:"all_computers,omitempty"` AllJSSUsers bool `xml:"all_jss_users,omitempty"` Computers []MacOSConfigurationProfileSubsetComputer `xml:"computers>computer,omitempty"` ComputerGroups []MacOSConfigurationProfileSubsetComputerGroup `xml:"computer_groups>computer_group,omitempty"` JSSUsers []MacOSConfigurationProfileSubsetJSSUser `xml:"jss_users>jss_user,omitempty"` JSSUserGroups []MacOSConfigurationProfileSubsetJSSUserGroup `xml:"jss_user_groups>jss_user_group,omitempty"` Buildings []MacOSConfigurationProfileSubsetBuilding `xml:"buildings>building,omitempty"` Departments []MacOSConfigurationProfileSubsetDepartment `xml:"departments>department,omitempty"` Limitations MacOSConfigurationProfileSubsetLimitations `xml:"limitations,omitempty"` Exclusions MacOSConfigurationProfileSubsetExclusions `xml:"exclusions,omitempty"` }
type MacOSConfigurationProfileSubsetSelfService ¶
type MacOSConfigurationProfileSubsetSelfService struct { InstallButtonText string `xml:"install_button_text,omitempty"` SelfServiceDescription string `xml:"self_service_description,omitempty"` ForceUsersToViewDescription bool `xml:"force_users_to_view_description,omitempty"` SelfServiceIcon SharedResourceSelfServiceIcon `xml:"self_service_icon,omitempty"` FeatureOnMainPage bool `xml:"feature_on_main_page,omitempty"` SelfServiceCategories MacOSConfigurationProfileSubsetSelfServiceCategories `xml:"self_service_categories,omitempty"` Notification string `xml:"notification,omitempty"` NotificationSubject string `xml:"notification_subject,omitempty"` NotificationMessage string `xml:"notification_message,omitempty"` }
type MacOSConfigurationProfileSubsetSelfServiceCategories ¶
type MacOSConfigurationProfileSubsetSelfServiceCategories struct {
Category MacOSConfigurationProfileSubsetSelfServiceCategory `xml:"category,omitempty"`
}
type MemberUser ¶
type MemberUser struct { ID int `json:"id,omitempty" xml:"id,omitempty"` Name string `json:"name,omitempty" xml:"name,omitempty"` }
New MemberUser struct
type MobileDeviceApplicationSubsetExclusion ¶
type MobileDeviceApplicationSubsetExclusion struct { MobileDevices []MobileDeviceApplicationSubsetMobileDevice `xml:"mobile_devices>mobile_device,omitempty"` Buildings []MobileDeviceApplicationSubsetBuilding `xml:"buildings>building,omitempty"` Departments []MobileDeviceApplicationSubsetDepartment `xml:"departments>department,omitempty"` MobileDeviceGroups []MobileDeviceApplicationSubsetMobileDeviceGroup `xml:"mobile_device_groups>mobile_device_group,omitempty"` JSSUsers []MobileDeviceApplicationSubsetJSSUser `xml:"jss_users>user,omitempty"` JSSUserGroups []MobileDeviceApplicationSubsetJSSUserGroup `xml:"jss_user_groups>user_group,omitempty"` }
type MobileDeviceApplicationSubsetGeneral ¶
type MobileDeviceApplicationSubsetGeneral struct { ID int `xml:"id,omitempty"` Name string `xml:"name"` DisplayName string `xml:"display_name"` Description string `xml:"description,omitempty"` BundleID string `xml:"bundle_id"` Version string `xml:"version"` InternalApp bool `xml:"internal_app,omitempty"` OsType string `xml:"os_type,omitempty"` Category SharedResourceCategory `xml:"category"` IPA MobileDeviceApplicationSubsetGeneralIPA `xml:"ipa,omitempty"` Icon MobileDeviceApplicationSubsetIcon `xml:"icon"` ProvisioningProfile int `xml:"mobile_device_provisioning_profile,omitempty"` ITunesStoreURL string `xml:"itunes_store_url,omitempty"` MakeAvailableAfterInstall bool `xml:"make_available_after_install,omitempty"` ITunesCountryRegion string `xml:"itunes_country_region,omitempty"` ITunesSyncTime int `xml:"itunes_sync_time,omitempty"` DeploymentType string `xml:"deployment_type,omitempty"` DeployAutomatically bool `xml:"deploy_automatically,omitempty"` DeployAsManagedApp bool `xml:"deploy_as_managed_app,omitempty"` RemoveAppWhenMDMProfileIsRemoved bool `xml:"remove_app_when_mdm_profile_is_removed,omitempty"` PreventBackupOfAppData bool `xml:"prevent_backup_of_app_data,omitempty"` KeepDescriptionAndIconUpToDate bool `xml:"keep_description_and_icon_up_to_date,omitempty"` Free bool `xml:"free,omitempty"` TakeOverManagement bool `xml:"take_over_management,omitempty"` HostExternally bool `xml:"host_externally,omitempty"` ExternalURL string `xml:"external_url,omitempty"` Site SharedResourceSite `xml:"site"` Scope MobileDeviceApplicationSubsetScope `xml:"scope"` SelfService MobileDeviceApplicationSubsetGeneralSelfService `xml:"self_service"` VPP MobileDeviceApplicationSubsetGeneralVPP `xml:"vpp,omitempty"` AppConfiguration MobileDeviceApplicationSubsetGeneralAppConfiguration `xml:"app_configuration,omitempty"` }
type MobileDeviceApplicationSubsetGeneralAppConfiguration ¶
type MobileDeviceApplicationSubsetGeneralAppConfiguration struct {
Preferences string `xml:"preferences,omitempty"`
}
type MobileDeviceApplicationSubsetGeneralSelfService ¶
type MobileDeviceApplicationSubsetGeneralSelfService struct { SelfServiceDescription string `xml:"self_service_description,omitempty"` SelfServiceIcon MobileDeviceApplicationSubsetIcon `xml:"self_service_icon,omitempty"` FeatureOnMainPage bool `xml:"feature_on_main_page,omitempty"` SelfServiceCategories []SharedResourceSelfServiceCategory `xml:"self_service_categories>category,omitempty"` Notification bool `xml:"notification,omitempty"` NotificationSubject string `xml:"notification_subject,omitempty"` NotificationMessage string `xml:"notification_message,omitempty"` }
type MobileDeviceApplicationSubsetLimitation ¶
type MobileDeviceApplicationSubsetLimitation struct { Users []MobileDeviceApplicationSubsetUser `xml:"users>user,omitempty"` UserGroups []MobileDeviceApplicationSubsetUserGroup `xml:"user_groups>user_group,omitempty"` NetworkSegments []MobileDeviceApplicationSubsetNetworkSegment `xml:"network_segments>network_segment,omitempty"` }
type MobileDeviceApplicationSubsetScope ¶
type MobileDeviceApplicationSubsetScope struct { AllMobileDevices bool `xml:"all_mobile_devices,omitempty"` AllJSSUsers bool `xml:"all_jss_users,omitempty"` MobileDevices []MobileDeviceApplicationSubsetMobileDevice `xml:"mobile_devices>mobile_device,omitempty"` Buildings []MobileDeviceApplicationSubsetBuilding `xml:"buildings>building,omitempty"` Departments []MobileDeviceApplicationSubsetDepartment `xml:"departments>department,omitempty"` MobileDeviceGroups []MobileDeviceApplicationSubsetMobileDeviceGroup `xml:"mobile_device_groups>mobile_device_group,omitempty"` JSSUsers []MobileDeviceApplicationSubsetJSSUser `xml:"jss_users>user,omitempty"` JSSUserGroups []MobileDeviceApplicationSubsetJSSUserGroup `xml:"jss_user_groups>user_group,omitempty"` Limitations MobileDeviceApplicationSubsetLimitation `xml:"limitations,omitempty"` Exclusions MobileDeviceApplicationSubsetExclusion `xml:"exclusions,omitempty"` }
type MobileDeviceConfigurationProfileContainerBuilding ¶
type MobileDeviceConfigurationProfileContainerBuilding struct {
Building MobileDeviceConfigurationProfileSubsetBuilding `xml:"building"`
}
type MobileDeviceConfigurationProfileContainerDepartment ¶
type MobileDeviceConfigurationProfileContainerDepartment struct {
Department MobileDeviceConfigurationProfileSubsetDepartment `xml:"department"`
}
type MobileDeviceConfigurationProfileContainerMobileDevice ¶
type MobileDeviceConfigurationProfileContainerMobileDevice struct {
MobileDevice MobileDeviceConfigurationProfileSubsetMobileDevice `xml:"mobile_device"`
}
type MobileDeviceConfigurationProfileContainerMobileDeviceGroup ¶
type MobileDeviceConfigurationProfileContainerMobileDeviceGroup struct {
MobileDeviceGroup MobileDeviceConfigurationProfileSubsetMobileDeviceGroup `xml:"mobile_device_group"`
}
type MobileDeviceConfigurationProfileSubsetExclusion ¶
type MobileDeviceConfigurationProfileSubsetExclusion struct { MobileDevices []MobileDeviceConfigurationProfileContainerMobileDevice `xml:"mobile_devices>mobile_device,omitempty"` Buildings []MobileDeviceConfigurationProfileContainerBuilding `xml:"buildings>building,omitempty"` Departments []MobileDeviceConfigurationProfileContainerDepartment `xml:"departments>department,omitempty"` MobileDeviceGroups []MobileDeviceConfigurationProfileContainerMobileDeviceGroup `xml:"mobile_device_groups>mobile_device_group,omitempty"` Users []MobileDeviceConfigurationProfileSubsetUser `xml:"users>user,omitempty"` UserGroups []MobileDeviceConfigurationProfileSubsetUserGroup `xml:"user_groups>user_group,omitempty"` NetworkSegments []MobileDeviceConfigurationProfileSubsetNetworkSegment `xml:"network_segments>network_segment,omitempty"` Ibeacons []MobileDeviceConfigurationProfileSubsetIbeacon `xml:"ibeacons>ibeacon,omitempty"` JSSUsers []MobileDeviceConfigurationProfileSubsetJSSUser `xml:"jss_users>user,omitempty"` JSSUserGroups []MobileDeviceConfigurationProfileSubsetJSSUserGroup `xml:"jss_user_groups>user_group,omitempty"` }
type MobileDeviceConfigurationProfileSubsetGeneral ¶
type MobileDeviceConfigurationProfileSubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` Description string `xml:"description,omitempty"` Level string `xml:"level,omitempty"` Site SharedResourceSite `xml:"site"` Category SharedResourceCategory `xml:"category"` UUID string `xml:"uuid,omitempty"` DeploymentMethod string `xml:"deployment_method,omitempty"` RedeployOnUpdate string `xml:"redeploy_on_update,omitempty"` RedeployDaysBeforeCertExpires int `xml:"redeploy_Dayss_before_certificate_expires,omitempty"` Payloads string `xml:"payloads,omitempty"` }
type MobileDeviceConfigurationProfileSubsetJSSUser ¶
type MobileDeviceConfigurationProfileSubsetJSSUser struct {
User MobileDeviceConfigurationProfileSubsetUser `xml:"user"`
}
type MobileDeviceConfigurationProfileSubsetJSSUserGroup ¶
type MobileDeviceConfigurationProfileSubsetJSSUserGroup struct {
UserGroup MobileDeviceConfigurationProfileSubsetUserGroup `xml:"user_group"`
}
type MobileDeviceConfigurationProfileSubsetLimitation ¶
type MobileDeviceConfigurationProfileSubsetLimitation struct { Users []MobileDeviceConfigurationProfileSubsetUser `xml:"users>user,omitempty"` UserGroups []MobileDeviceConfigurationProfileSubsetUserGroup `xml:"user_groups>user_group,omitempty"` NetworkSegments []MobileDeviceConfigurationProfileSubsetNetworkSegment `xml:"network_segments>network_segment,omitempty"` Ibeacons []MobileDeviceConfigurationProfileSubsetIbeacon `xml:"ibeacons>ibeacon,omitempty"` }
type MobileDeviceConfigurationProfileSubsetScope ¶
type MobileDeviceConfigurationProfileSubsetScope struct { AllMobileDevices bool `xml:"all_mobile_devices,omitempty"` AllJSSUsers bool `xml:"all_jss_users,omitempty"` MobileDevices []MobileDeviceConfigurationProfileSubsetMobileDevice `xml:"mobile_devices>mobile_device,omitempty"` Buildings []MobileDeviceConfigurationProfileSubsetBuilding `xml:"buildings>building,omitempty"` Departments []MobileDeviceConfigurationProfileSubsetDepartment `xml:"departments>department,omitempty"` MobileDeviceGroups []MobileDeviceConfigurationProfileSubsetMobileDeviceGroup `xml:"mobile_device_groups>mobile_device_group,omitempty"` JSSUsers []MobileDeviceConfigurationProfileSubsetJSSUser `xml:"jss_users>user,omitempty"` JSSUserGroups []MobileDeviceConfigurationProfileSubsetJSSUserGroup `xml:"jss_user_groups>user_group,omitempty"` Limitations MobileDeviceConfigurationProfileSubsetLimitation `xml:"limitations,omitempty"` Exclusions MobileDeviceConfigurationProfileSubsetExclusion `xml:"exclusions,omitempty"` }
type MobileDeviceConfigurationProfileSubsetSelfService ¶
type MobileDeviceConfigurationProfileSubsetSelfService struct { SelfServiceDescription string `xml:"self_service_description,omitempty"` SecurityName MobileDeviceConfigurationProfileSubsetSelfServiceSecurityName `xml:"security_name,omitempty"` SelfServiceIcon SharedResourceSelfServiceIcon `xml:"self_service_icon,omitempty"` FeatureOnMainPage bool `xml:"feature_on_main_page,omitempty"` SelfServiceCategories []SharedResourceSelfServiceCategories `xml:"self_service_categories>category,omitempty"` }
type MobileDeviceConfigurationProfileSubsetSelfServiceSecurityName ¶
type MobileDeviceConfigurationProfileSubsetSelfServiceSecurityName struct {
RemovalDisallowed string `xml:"removal_disallowed,omitempty"`
}
type MobileDeviceEnrollmentProfileContainerAttachments ¶
type MobileDeviceEnrollmentProfileContainerAttachments struct {
Attachment MobileDeviceEnrollmentProfileSubsetAttachments `xml:"attachment"`
}
type MobileDeviceEnrollmentProfileSubsetLocation ¶
type MobileDeviceEnrollmentProfileSubsetLocation struct { Username string `xml:"username,omitempty"` Realname string `xml:"realname,omitempty"` RealName string `xml:"real_name,omitempty"` EmailAddress string `xml:"email_address,omitempty"` Position string `xml:"position,omitempty"` Phone string `xml:"phone,omitempty"` PhoneNumber string `xml:"phone_number,omitempty"` Department string `xml:"department,omitempty"` Building string `xml:"building,omitempty"` Room int `xml:"room,omitempty"` }
type MobileDeviceEnrollmentProfileSubsetPurchasing ¶
type MobileDeviceEnrollmentProfileSubsetPurchasing struct { IsPurchased bool `xml:"is_purchased"` IsLeased bool `xml:"is_leased"` PONumber string `xml:"po_number,omitempty"` Vendor string `xml:"vendor,omitempty"` ApplecareID string `xml:"applecare_id,omitempty"` PurchasePrice string `xml:"purchase_price,omitempty"` PurchasingAccount string `xml:"purchasing_account,omitempty"` PODate string `xml:"po_date,omitempty"` PODateEpoch int64 `xml:"po_date_epoch,omitempty"` PODateUTC string `xml:"po_date_utc,omitempty"` WarrantyExpires string `xml:"warranty_expires,omitempty"` WarrantyExpiresEpoch int64 `xml:"warranty_expires_epoch,omitempty"` WarrantyExpiresUTC string `xml:"warranty_expires_utc,omitempty"` LeaseExpires string `xml:"lease_expires,omitempty"` LeaseExpiresEpoch int64 `xml:"lease_expires_epoch,omitempty"` LeaseExpiresUTC string `xml:"lease_expires_utc,omitempty"` LifeExpectancy int `xml:"life_expectancy,omitempty"` PurchasingContact string `xml:"purchasing_contact,omitempty"` }
type MobileDeviceGroupSubsetDeviceItem ¶
type MobileDeviceGroupSubsetDeviceItem struct { ID int `xml:"id"` Name string `xml:"name"` MacAddress string `xml:"mac_address,omitempty"` UDID string `xml:"udid"` WifiMacAddress string `xml:"wifi_mac_address,omitempty"` SerialNumber string `xml:"serial_number,omitempty"` }
MobileDeviceGroupDeviceItem represents a single mobile device within a group.
type MobileDeviceListItem ¶
type MobileDeviceListItem struct { ID int `xml:"id"` Name string `xml:"name"` DeviceName string `xml:"device_name"` UDID string `xml:"udid"` SerialNumber string `xml:"serial_number"` PhoneNumber string `xml:"phone_number"` WifiMacAddress string `xml:"wifi_mac_address"` Managed bool `xml:"managed"` Supervised bool `xml:"supervised"` Model string `xml:"model"` ModelIdentifier string `xml:"model_identifier"` ModelDisplay string `xml:"model_display"` Username string `xml:"username"` }
type MobileDevicePrestageSubsetLocationInformation ¶
type MobileDevicePrestageSubsetLocationInformation struct { Username string `json:"username"` Realname string `json:"realname"` Phone string `json:"phone"` Email string `json:"email"` Room string `json:"room"` Position string `json:"position"` DepartmentId string `json:"departmentId"` BuildingId string `json:"buildingId"` ID string `json:"id"` VersionLock int `json:"versionLock"` }
type MobileDevicePrestageSubsetNames ¶
type MobileDevicePrestageSubsetNames struct { AssignNamesUsing string `json:"assignNamesUsing"` PrestageDeviceNames []MobileDevicePrestageSubsetNamesName `json:"prestageDeviceNames"` DeviceNamePrefix string `json:"deviceNamePrefix"` DeviceNameSuffix string `json:"deviceNameSuffix"` SingleDeviceName string }
type MobileDevicePrestageSubsetPurchasingInformation ¶
type MobileDevicePrestageSubsetPurchasingInformation struct { ID string `json:"id"` Leased bool `json:"leased"` Purchased bool `json:"purchased"` AppleCareId string `json:"appleCareId"` PoNumber string `json:"poNumber"` Vendor string `json:"vendor"` PurchasePrice string `json:"purchasePrice"` LifeExpectancy int `json:"lifeExpectancy"` PurchasingAccount string `json:"purchasingAccount"` PurchasingContact string `json:"purchasingContact"` LeaseDate string `json:"leaseDate"` PoDate string `json:"poDate"` WarrantyDate string `json:"warrantyDate"` VersionLock int `json:"versionLock"` }
type MobileDeviceSubsetGeneral ¶
type MobileDeviceSubsetGeneral struct { ID int `xml:"id"` DisplayName string `xml:"display_name"` DeviceName string `xml:"device_name"` Name string `xml:"name"` AssetTag string `xml:"asset_tag"` LastInventoryUpdate string `xml:"last_inventory_update"` LastInventoryUpdateEpoch int64 `xml:"last_inventory_update_epoch"` LastInventoryUpdateUTC string `xml:"last_inventory_update_utc"` Capacity int `xml:"capacity"` CapacityMB int `xml:"capacity_mb"` Available int `xml:"available"` AvailableMB int `xml:"available_mb"` PercentageUsed int `xml:"percentage_used"` OSType string `xml:"os_type"` OSVersion string `xml:"os_version"` OSBuild string `xml:"os_build"` SerialNumber string `xml:"serial_number"` UDID string `xml:"udid"` InitialEntryDateEpoch int64 `xml:"initial_entry_date_epoch"` InitialEntryDateUTC string `xml:"initial_entry_date_utc"` PhoneNumber string `xml:"phone_number"` IPAddress string `xml:"ip_address"` WifiMacAddress string `xml:"wifi_mac_address"` BluetoothMacAddress string `xml:"bluetooth_mac_address"` ModemFirmware string `xml:"modem_firmware"` Model string `xml:"model"` ModelIdentifier string `xml:"model_identifier"` ModelNumber string `xml:"model_number"` ModelDisplay string `xml:"model_display"` DeviceOwnershipLevel string `xml:"device_ownership_level"` LastEnrollmentEpoch int64 `xml:"last_enrollment_epoch"` LastEnrollmentUTC string `xml:"last_enrollment_utc"` Managed bool `xml:"managed"` Supervised bool `xml:"supervised"` ExchangeActiveSyncDeviceIdentifier string `xml:"exchange_activesync_device_identifier"` Tethered string `xml:"tethered"` BatteryLevel int `xml:"battery_level"` BLECapable bool `xml:"ble_capable"` DeviceLocatorServiceEnabled bool `xml:"device_locator_service_enabled"` DoNotDisturbEnabled bool `xml:"do_not_disturb_enabled"` CloudBackupEnabled bool `xml:"cloud_backup_enabled"` LastCloudBackupDateEpoch int64 `xml:"last_cloud_backup_date_epoch"` LastCloudBackupDateUTC string `xml:"last_cloud_backup_date_utc"` LocationServicesEnabled bool `xml:"location_services_enabled"` ItunesStoreAccountIsActive bool `xml:"itunes_store_account_is_active"` LastBackupTimeEpoch int64 `xml:"last_backup_time_epoch"` LastBackupTimeUTC string `xml:"last_backup_time_utc"` }
type MobileDeviceSubsetGroup ¶
type MobileDeviceSubsetLocation ¶
type MobileDeviceSubsetLocation struct { Username string `xml:"username"` RealName string `xml:"realname"` EmailAddress string `xml:"email_address"` Position string `xml:"position"` Phone string `xml:"phone"` PhoneNumber string `xml:"phone_number"` Department string `xml:"department"` Building string `xml:"building"` Room int `xml:"room"` }
type MobileDeviceSubsetNetwork ¶
type MobileDeviceSubsetNetwork struct { HomeCarrierNetwork string `xml:"home_carrier_network"` CellularTechnology string `xml:"cellular_technology"` VoiceRoamingEnabled string `xml:"voice_roaming_enabled"` IMEI string `xml:"imei"` ICCID string `xml:"iccid"` CurrentCarrierNetwork string `xml:"current_carrier_network"` CarrierSettingsVersion int `xml:"carrier_settings_version"` CurrentMobileCountryCode int `xml:"current_mobile_country_code"` CurrentMobileNetworkCode int `xml:"current_mobile_network_code"` HomeMobileCountryCode int `xml:"home_mobile_country_code"` HomeMobileNetworkCode int `xml:"home_mobile_network_code"` DataRoamingEnabled bool `xml:"data_roaming_enabled"` PhoneNumber string `xml:"phone_number"` }
type MobileDeviceSubsetPurchasing ¶
type MobileDeviceSubsetPurchasing struct { IsPurchased bool `xml:"is_purchased"` IsLeased bool `xml:"is_leased"` PONumber string `xml:"po_number"` Vendor string `xml:"vendor"` ApplecareID string `xml:"applecare_id"` PurchasePrice string `xml:"purchase_price"` PurchasingAccount string `xml:"purchasing_account"` PODate string `xml:"po_date"` PODateEpoch int64 `xml:"po_date_epoch"` PODateUTC string `xml:"po_date_utc"` WarrantyExpires string `xml:"warranty_expires"` WarrantyExpiresEpoch int64 `xml:"warranty_expires_epoch"` WarrantyExpiresUTC string `xml:"warranty_expires_utc"` LeaseExpires string `xml:"lease_expires"` LeaseExpiresEpoch int64 `xml:"lease_expires_epoch"` LeaseExpiresUTC string `xml:"lease_expires_utc"` LifeExpectancy int `xml:"life_expectancy"` PurchasingContact string `xml:"purchasing_contact"` }
type MobileDeviceSubsetSecurity ¶
type MobileDeviceSubsetSecurity struct { DataProtection bool `xml:"data_protection"` BlockLevelEncryptionCapable bool `xml:"block_level_encryption_capable"` FileLevelEncryptionCapable bool `xml:"file_level_encryption_capable"` PasscodePresent bool `xml:"passcode_present"` PasscodeCompliant bool `xml:"passcode_compliant"` PasscodeCompliantWithProfile bool `xml:"passcode_compliant_with_profile"` PasscodeLockGracePeriodEnforced string `xml:"passcode_lock_grace_period_enforced"` HardwareEncryption string `xml:"hardware_encryption"` ActivationLockEnabled bool `xml:"activation_lock_enabled"` JailbreakDetected string `xml:"jailbreak_detected"` LostModeEnabled bool `xml:"lost_mode_enabled"` LostModeEnforced bool `xml:"lost_mode_enforced"` LostModeEnableIssuedEpoch int64 `xml:"lost_mode_enable_issued_epoch"` LostModeEnableIssuedUTC string `xml:"lost_mode_enable_issued_utc"` LostModeMessage string `xml:"lost_mode_message"` LostModePhone string `xml:"lost_mode_phone"` LostModeFootnote string `xml:"lost_mode_footnote"` LostLocationEpoch int64 `xml:"lost_location_epoch"` LostLocationUTC string `xml:"lost_location_utc"` LostLocationLatitude float64 `xml:"lost_location_latitude"` LostLocationLongitude float64 `xml:"lost_location_longitude"` LostLocationAltitude float64 `xml:"lost_location_altitude"` LostLocationSpeed float64 `xml:"lost_location_speed"` LostLocationCourse float64 `xml:"lost_location_course"` LostLocationHorizontalAccuracy float64 `xml:"lost_location_horizontal_accuracy"` LostLocationVerticalAccuracy float64 `xml:"lost_location_vertical_accuracy"` }
type MobileExtensionAttributeSubsetInputType ¶
type MobileExtensionAttributeSubsetInputType struct {
Type string `xml:"type,omitempty"`
}
type PatchPoliciesContainerGeneralKillApps ¶
type PatchPoliciesContainerGeneralKillApps struct {
KillApp PatchPoliciesSubsetGeneralKillApp `xml:"kill_app"`
}
type PatchPoliciesSubsetBuilding ¶
type PatchPoliciesSubsetBuilding struct {
Building PatchPoliciesSubsetGroup `xml:"building"`
}
PatchPoliciesSubsetBuilding represents a building in the scope.
type PatchPoliciesSubsetComputerGroup ¶
type PatchPoliciesSubsetComputerGroup struct {
ComputerGroup PatchPoliciesSubsetGroup `xml:"computer_group"`
}
PatchPoliciesSubsetComputerGroup represents a computer group in the scope.
type PatchPoliciesSubsetComputerItem ¶
type PatchPoliciesSubsetComputerItem struct { Computer struct { ID int `xml:"id"` Name string `xml:"name"` UDID string `xml:"udid"` } `xml:"computer"` }
PatchPoliciesSubsetComputerItem represents a computer in the scope.
type PatchPoliciesSubsetDepartment ¶
type PatchPoliciesSubsetDepartment struct {
Department PatchPoliciesSubsetGroup `xml:"department"`
}
PatchPoliciesSubsetDepartment represents a department in the scope.
type PatchPoliciesSubsetGeneral ¶
type PatchPoliciesSubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` Enabled bool `xml:"enabled"` TargetVersion string `xml:"target_version"` ReleaseDate string `xml:"release_date"` IncrementalUpdates bool `xml:"incremental_updates"` Reboot bool `xml:"reboot"` MinimumOS string `xml:"minimum_os"` KillApps []PatchPoliciesContainerGeneralKillApps `xml:"kill_apps>kill_app"` DistributionMethod string `xml:"distribution_method"` AllowDowngrade bool `xml:"allow_downgrade"` PatchUnknown bool `xml:"patch_unknown"` }
type PatchPoliciesSubsetGroup ¶
PatchPoliciesSubsetGroup is a general struct for group elements.
type PatchPoliciesSubsetIBeaconItem ¶
type PatchPoliciesSubsetIBeaconItem struct {
IBeacon PatchPoliciesSubsetGroup `xml:"ibeacon"`
}
PatchPoliciesSubsetIBeaconItem represents an iBeacon in limitations.
type PatchPoliciesSubsetNetworkSegmentItem ¶
type PatchPoliciesSubsetNetworkSegmentItem struct {
NetworkSegment PatchPoliciesSubsetGroup `xml:"network_segment"`
}
PatchPoliciesSubsetNetworkSegmentItem represents a network segment in limitations.
type PatchPoliciesSubsetScope ¶
type PatchPoliciesSubsetScope struct { AllComputers bool `xml:"all_computers"` Computers []PatchPoliciesSubsetComputerItem `xml:"computers>computer"` ComputerGroups []PatchPoliciesSubsetComputerGroup `xml:"computer_groups>computer_group"` Buildings []PatchPoliciesSubsetBuilding `xml:"buildings>building"` Departments []PatchPoliciesSubsetDepartment `xml:"departments>department"` Limitations PatchPoliciesSubsetScopeLimitations `xml:"limitations"` Exclusions PatchPoliciesSubsetScopeExclusions `xml:"exclusions"` }
type PatchPoliciesSubsetScopeExclusions ¶
type PatchPoliciesSubsetScopeExclusions struct { Computers []PatchPoliciesSubsetComputerItem `xml:"computers>computer"` ComputerGroups []PatchPoliciesSubsetComputerGroup `xml:"computer_groups>computer_group"` Buildings []PatchPoliciesSubsetBuilding `xml:"buildings>building"` Departments []PatchPoliciesSubsetDepartment `xml:"departments>department"` NetworkSegments []PatchPoliciesSubsetNetworkSegmentItem `xml:"network_segments>network_segment"` IBeacons []PatchPoliciesSubsetIBeaconItem `xml:"ibeacons>ibeacon"` }
type PatchPoliciesSubsetScopeLimitations ¶
type PatchPoliciesSubsetScopeLimitations struct { NetworkSegments []PatchPoliciesSubsetNetworkSegmentItem `xml:"network_segments>network_segment"` IBeacons []PatchPoliciesSubsetIBeaconItem `xml:"ibeacons>ibeacon"` }
type PatchPoliciesSubsetUserInteraction ¶
type PatchPoliciesSubsetUserInteraction struct { InstallButtonText string `xml:"install_button_text"` SelfServiceDescription string `xml:"self_service_description"` SelfServiceIcon SharedResourceSelfServiceIcon `xml:"self_service_icon"` Notifications PatchPoliciesSubsetUserInteractionNotifications `xml:"notifications"` Deadlines PatchPoliciesSubsetUserInteractionDeadlines `xml:"deadlines"` GracePeriod PatchPoliciesSubsetUserInteractionGracePeriod `xml:"grace_period"` }
type PatchPoliciesSubsetUserInteractionNotifications ¶
type PatchPoliciesSubsetUserInteractionNotifications struct { NotificationEnabled bool `xml:"notification_enabled"` NotificationType string `xml:"notification_type"` NotificationSubject string `xml:"notification_subject"` NotificationMessage string `xml:"notification_message"` Reminders PatchPoliciesSubsetUserInteractionNotificationsReminders `xml:"reminders"` }
type PolicyCategory ¶
type PolicyDataSubsetIBeacon ¶
type PolicyDataSubsetJSSUser ¶
type PolicyDataSubsetUser ¶
type PolicyItem ¶
type PolicyLimitToUsers ¶
type PolicyLimitToUsers struct {
UserGroups []string `xml:"user_groups>user_group,omitempty"`
}
type PolicySubsetAccountMaintenance ¶
type PolicySubsetAccountMaintenance struct { Accounts []PolicySubsetAccountMaintenanceAccount `xml:"accounts>account"` DirectoryBindings []PolicySubsetAccountMaintenanceDirectoryBindings `xml:"directory_bindings>binding"` ManagementAccount PolicySubsetAccountMaintenanceManagementAccount `xml:"management_account"` OpenFirmwareEfiPassword PolicySubsetAccountMaintenanceOpenFirmwareEfiPassword `xml:"open_firmware_efi_password"` }
PolicySubsetAccountMaintenance represents the account maintenance settings of a policy
type PolicySubsetAccountMaintenanceAccount ¶
type PolicySubsetAccountMaintenanceAccount struct { Action string `xml:"action"` Username string `xml:"username"` Realname string `xml:"realname"` Password string `xml:"password"` ArchiveHomeDirectory bool `xml:"archive_home_directory"` ArchiveHomeDirectoryTo string `xml:"archive_home_directory_to"` Home string `xml:"home"` Hint string `xml:"hint"` Picture string `xml:"picture"` Admin bool `xml:"admin"` FilevaultEnabled bool `xml:"filevault_enabled"` PasswordSha256 string `xml:"password_sha256"` }
type PolicySubsetDiskEncryption ¶
type PolicySubsetDiskEncryption struct { Action string `xml:"action"` DiskEncryptionConfigurationID int `xml:"disk_encryption_configuration_id"` AuthRestart bool `xml:"auth_restart"` RemediateKeyType string `xml:"remediate_key_type,omitempty"` RemediateDiskEncryptionConfigurationID int `xml:"remediate_disk_encryption_configuration_id,omitempty"` }
PolicySubsetDiskEncryption represents the disk encryption settings of a policy
type PolicySubsetDockItem ¶
type PolicySubsetDockItems ¶
type PolicySubsetDockItems struct { Size int `xml:"size"` DockItem []PolicySubsetDockItem `xml:"dock_item"` }
PolicySubsetDockItems represents the dock items settings of a policy
type PolicySubsetFilesProcesses ¶
type PolicySubsetFilesProcesses struct { SearchByPath string `xml:"search_by_path"` DeleteFile bool `xml:"delete_file"` LocateFile string `xml:"locate_file"` UpdateLocateDatabase bool `xml:"update_locate_database"` SpotlightSearch string `xml:"spotlight_search"` SearchForProcess string `xml:"search_for_process"` KillProcess bool `xml:"kill_process"` RunCommand string `xml:"run_command"` }
PolicySubsetFilesProcesses represents the files and processes settings of a policy
type PolicySubsetGeneral ¶
type PolicySubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` Enabled bool `xml:"enabled"` Trigger string `xml:"trigger,omitempty"` TriggerCheckin bool `xml:"trigger_checkin"` TriggerEnrollmentComplete bool `xml:"trigger_enrollment_complete"` TriggerLogin bool `xml:"trigger_login"` TriggerLogout bool `xml:"trigger_logout"` TriggerNetworkStateChanged bool `xml:"trigger_network_state_changed"` TriggerStartup bool `xml:"trigger_startup"` TriggerOther string `xml:"trigger_other,omitempty"` Frequency string `xml:"frequency,omitempty"` RetryEvent string `xml:"retry_event,omitempty"` RetryAttempts int `xml:"retry_attempts,omitempty"` NotifyOnEachFailedRetry bool `xml:"notify_on_each_failed_retry"` LocationUserOnly bool `xml:"location_user_only"` TargetDrive string `xml:"target_drive,omitempty"` Offline bool `xml:"offline"` Category PolicyCategory `xml:"category,omitempty"` DateTimeLimitations PolicySubsetGeneralDateTimeLimitations `xml:"date_time_limitations,omitempty"` NetworkLimitations PolicySubsetGeneralNetworkLimitations `xml:"network_limitations,omitempty"` OverrideDefaultSettings PolicySubsetGeneralOverrideSettings `xml:"override_default_settings,omitempty"` NetworkRequirements string `xml:"network_requirements,omitempty"` Site SharedResourceSite `xml:"site"` }
PolicySubsetGeneral represents the general information of a policy
type PolicySubsetGeneralDateTimeLimitations ¶
type PolicySubsetGeneralDateTimeLimitations struct { ActivationDate string `xml:"activation_date,omitempty"` ActivationDateEpoch int `xml:"activation_date_epoch,omitempty"` ActivationDateUTC string `xml:"activation_date_utc,omitempty"` ExpirationDate string `xml:"expiration_date,omitempty"` ExpirationDateEpoch int `xml:"expiration_date_epoch,omitempty"` ExpirationDateUTC string `xml:"expiration_date_utc,omitempty"` NoExecuteOn []PolicySubsetGeneralDateTimeLimitationsNoExecuteOn `xml:"no_execute_on>day,omitempty"` NoExecuteStart string `xml:"no_execute_start,omitempty"` NoExecuteEnd string `xml:"no_execute_end,omitempty"` }
type PolicySubsetGeneralDateTimeLimitationsNoExecuteOn ¶
type PolicySubsetGeneralDateTimeLimitationsNoExecuteOn struct {
Day string `xml:",chardata"`
}
type PolicySubsetMaintenance ¶
type PolicySubsetMaintenance struct { Recon bool `xml:"recon"` ResetName bool `xml:"reset_name"` InstallAllCachedPackages bool `xml:"install_all_cached_packages"` Heal bool `xml:"heal"` Prebindings bool `xml:"prebindings"` Permissions bool `xml:"permissions"` Byhost bool `xml:"byhost"` SystemCache bool `xml:"system_cache"` UserCache bool `xml:"user_cache"` Verify bool `xml:"verify"` }
PolicySubsetMaintenance represents the maintenance settings of a policy
type PolicySubsetPackageConfiguration ¶
type PolicySubsetPackageConfiguration struct { Packages []PolicySubsetPackageConfigurationPackage `xml:"packages>package"` DistributionPoint string `xml:"distribution_point"` }
PolicySubsetPackageConfiguration represents the package configuration settings of a policy
type PolicySubsetPrinter ¶
type PolicySubsetPrinters ¶
type PolicySubsetPrinters struct { Size int `xml:"size"` LeaveExistingDefault bool `xml:"leave_existing_default"` Printer []PolicySubsetPrinter `xml:"printer"` }
PolicySubsetPrinters represents the printers settings of a policy
type PolicySubsetReboot ¶
type PolicySubsetReboot struct { Message string `xml:"message"` StartupDisk string `xml:"startup_disk"` SpecifyStartup string `xml:"specify_startup"` NoUserLoggedIn string `xml:"no_user_logged_in"` UserLoggedIn string `xml:"user_logged_in"` MinutesUntilReboot int `xml:"minutes_until_reboot"` StartRebootTimerImmediately bool `xml:"start_reboot_timer_immediately"` FileVault2Reboot bool `xml:"file_vault_2_reboot"` }
PolicySubsetReboot represents the reboot settings of a policy
type PolicySubsetScope ¶
type PolicySubsetScope struct { AllComputers bool `xml:"all_computers"` AllJSSUsers bool `xml:"all_jss_users"` Computers []PolicyDataSubsetComputer `xml:"computers>computer,omitempty"` ComputerGroups []PolicyDataSubsetComputerGroup `xml:"computer_groups>computer_group,omitempty"` JSSUsers []PolicyDataSubsetJSSUser `xml:"jss_users>jss_user,omitempty"` JSSUserGroups []PolicyDataSubsetJSSUserGroup `xml:"jss_user_groups>jss_user_group,omitempty"` Buildings []PolicyDataSubsetBuilding `xml:"buildings>building,omitempty"` Departments []PolicyDataSubsetDepartment `xml:"departments>department,omitempty"` LimitToUsers PolicyLimitToUsers `xml:"limit_to_users,omitempty"` Limitations PolicySubsetScopeLimitations `xml:"limitations,omitempty"` Exclusions PolicySubsetScopeExclusions `xml:"exclusions,omitempty"` }
PolicySubsetScope represents the scope of the policy
type PolicySubsetScopeExclusions ¶
type PolicySubsetScopeExclusions struct { Computers []PolicyDataSubsetComputer `xml:"computers>computer,omitempty"` ComputerGroups []PolicyDataSubsetComputerGroup `xml:"computer_groups>computer_group,omitempty"` Users []PolicyDataSubsetUser `xml:"users>user,omitempty"` UserGroups []PolicyDataSubsetUserGroup `xml:"user_groups>user_group,omitempty"` Buildings []PolicyDataSubsetBuilding `xml:"buildings>building,omitempty"` Departments []PolicyDataSubsetDepartment `xml:"departments>department,omitempty"` NetworkSegments []PolicyDataSubsetNetworkSegment `xml:"network_segments>network_segment,omitempty"` JSSUsers []PolicyDataSubsetJSSUser `xml:"jss_users>jss_user,omitempty"` JSSUserGroups []PolicyDataSubsetJSSUserGroup `xml:"jss_user_groups>jss_user_group,omitempty"` IBeacons []PolicyDataSubsetIBeacon `xml:"ibeacons>ibeacon,omitempty"` }
type PolicySubsetScopeLimitations ¶
type PolicySubsetScopeLimitations struct { Users []PolicyDataSubsetUser `xml:"users>user,omitempty"` UserGroups []PolicyDataSubsetUserGroup `xml:"user_groups>user_group,omitempty"` NetworkSegments []PolicyDataSubsetNetworkSegment `xml:"network_segments>network_segment,omitempty"` IBeacons []PolicyDataSubsetIBeacon `xml:"ibeacons>ibeacon,omitempty"` }
type PolicySubsetScript ¶
type PolicySubsetScript struct { ID string `xml:"id,omitempty"` Name string `xml:"name,omitempty"` Priority string `xml:"priority,omitempty"` Parameter4 string `xml:"parameter4,omitempty"` Parameter5 string `xml:"parameter5,omitempty"` Parameter6 string `xml:"parameter6,omitempty"` Parameter7 string `xml:"parameter7,omitempty"` Parameter8 string `xml:"parameter8,omitempty"` Parameter9 string `xml:"parameter9,omitempty"` Parameter10 string `xml:"parameter10,omitempty"` Parameter11 string `xml:"parameter11,omitempty"` }
type PolicySubsetScripts ¶
type PolicySubsetScripts struct { Size int `xml:"size"` Script []PolicySubsetScript `xml:"script"` }
PolicySubsetScripts represents the scripts settings of a policy
type PolicySubsetSelfService ¶
type PolicySubsetSelfService struct { UseForSelfService bool `xml:"use_for_self_service"` SelfServiceDisplayName string `xml:"self_service_display_name"` InstallButtonText string `xml:"install_button_text"` ReinstallButtonText string `xml:"re_install_button_text"` SelfServiceDescription string `xml:"self_service_description"` ForceUsersToViewDescription bool `xml:"force_users_to_view_description"` SelfServiceIcon SharedResourceSelfServiceIcon `xml:"self_service_icon,omitempty"` FeatureOnMainPage bool `xml:"feature_on_main_page"` SelfServiceCategories []PolicySubsetSelfServiceCategory `xml:"self_service_categories"` Notification bool `xml:"notification,omitempty"` NotificationType string `xml:"notification_type"` NotificationSubject string `xml:"notification_subject,omitempty"` NotificationMessage string `xml:"notification_message,omitempty"` }
PolicySubsetSelfService represents the self service settings of a policy
type PolicySubsetSelfServiceCategory ¶
type PolicySubsetSelfServiceCategory struct {
Category PolicyCategory `xml:"category"`
}
type PolicySubsetUserInteraction ¶
type PolicySubsetUserInteraction struct { MessageStart string `xml:"message_start"` AllowUserToDefer bool `xml:"allow_user_to_defer"` AllowDeferralUntilUtc string `xml:"allow_deferral_until_utc"` AllowDeferralMinutes int `xml:"allow_deferral_minutes"` MessageFinish string `xml:"message_finish"` }
PolicySubsetUserInteraction represents the user interaction settings of a policy
type PrintersListItem ¶
type ResourceAPIRole ¶
type ResourceAPIRole struct { ID string `json:"id,omitempty"` DisplayName string `json:"displayName,omitempty"` Privileges []string `json:"privileges,omitempty"` }
Role represents the details of an individual API role
type ResourceAccount ¶
type ResourceAccount struct { ID int `json:"id,omitempty" xml:"id,omitempty"` Name string `json:"name,omitempty" xml:"name,omitempty"` DirectoryUser bool `json:"directory_user,omitempty" xml:"directory_user,omitempty"` FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"` Email string `json:"email,omitempty" xml:"email,omitempty"` EmailAddress string `json:"email_address,omitempty" xml:"email_address,omitempty"` Enabled string `json:"enabled,omitempty" xml:"enabled,omitempty"` LdapServer AccountSubsetLdapServer `json:"ldap_server,omitempty" xml:"ldap_server,omitempty"` ForcePasswordChange bool `json:"force_password_change,omitempty" xml:"force_password_change,omitempty"` AccessLevel string `json:"access_level,omitempty" xml:"access_level,omitempty"` Password string `json:"password,omitempty" xml:"password,omitempty"` PrivilegeSet string `json:"privilege_set,omitempty" xml:"privilege_set,omitempty"` Site SharedResourceSite `json:"site,omitempty" xml:"site,omitempty"` Privileges AccountSubsetPrivileges `json:"privileges,omitempty" xml:"privileges,omitempty"` Groups []AccountsListSubsetGroups `json:"groups,omitempty" xml:"groups>group"` }
type ResourceAccountGroup ¶
type ResourceAccountGroup struct { ID int `json:"id,omitempty" xml:"id,omitempty"` Name string `json:"name,omitempty" xml:"name,omitempty"` AccessLevel string `json:"access_level,omitempty" xml:"access_level,omitempty"` PrivilegeSet string `json:"privilege_set,omitempty" xml:"privilege_set,omitempty"` Site SharedResourceSite `json:"site,omitempty" xml:"site,omitempty"` Privileges AccountSubsetPrivileges `json:"privileges,omitempty" xml:"privileges,omitempty"` Members AccountGroupSubsetMembers `json:"members,omitempty" xml:"members>user,omitempty"` }
type ResourceAccountPreferences ¶
type ResourceAccountPreferences struct { Language string `json:"language"` DateFormat string `json:"dateFormat"` Timezone string `json:"timezone"` DisableRelativeDates bool `json:"disableRelativeDates"` DisablePageLeaveCheck bool `json:"disablePageLeaveCheck"` DisableShortcutsTooltips bool `json:"disableShortcutsTooltips"` DisableTablePagination bool `json:"disableTablePagination"` ConfigProfilesSortingMethod string `json:"configProfilesSortingMethod"` ResultsPerPage int `json:"resultsPerPage"` UserInterfaceDisplayTheme string `json:"userInterfaceDisplayTheme"` ComputerSearchMethod string `json:"computerSearchMethod"` ComputerApplicationSearchMethod string `json:"computerApplicationSearchMethod"` ComputerApplicationUsageSearchMethod string `json:"computerApplicationUsageSearchMethod"` ComputerFontSearchMethod string `json:"computerFontSearchMethod"` ComputerPluginSearchMethod string `json:"computerPluginSearchMethod"` ComputerLocalUserAccountSearchMethod string `json:"computerLocalUserAccountSearchMethod"` ComputerSoftwareUpdateSearchMethod string `json:"computerSoftwareUpdateSearchMethod"` ComputerPackageReceiptSearchMethod string `json:"computerPackageReceiptSearchMethod"` ComputerPrinterSearchMethod string `json:"computerPrinterSearchMethod"` ComputerPeripheralSearchMethod string `json:"computerPeripheralSearchMethod"` ComputerServiceSearchMethod string `json:"computerServiceSearchMethod"` MobileDeviceSearchMethod string `json:"mobileDeviceSearchMethod"` MobileDeviceAppSearchMethod string `json:"mobileDeviceAppSearchMethod"` UserSearchMethod string `json:"userSearchMethod"` UserAllContentSearchMethod string `json:"userAllContentSearchMethod"` UserMobileDeviceAppSearchMethod string `json:"userMobileDeviceAppSearchMethod"` UserMacAppStoreAppSearchMethod string `json:"userMacAppStoreAppSearchMethod"` UserEbookSearchMethod string `json:"userEbookSearchMethod"` }
type ResourceActivationCode ¶
type ResourceActivationCode struct { OrganizationName string `xml:"organization_name"` Code string `xml:"code"` }
ResponseActivationCode represents the structure of the response for an activation code.
type ResourceAdvancedComputerSearch ¶
type ResourceAdvancedComputerSearch struct { ID int `xml:"id"` Name string `xml:"name"` ViewAs string `xml:"view_as,omitempty"` Sort1 string `xml:"sort_1,omitempty"` Sort2 string `xml:"sort_2,omitempty"` Sort3 string `xml:"sort_3,omitempty"` Criteria SharedContainerCriteria `xml:"criteria,omitempty"` DisplayFields []SharedAdvancedSearchContainerDisplayField `xml:"display_fields,omitempty"` Computers []AdvancedComputerSearchContainerComputers `xml:"computer,omitempty"` Site SharedResourceSite `xml:"site,omitempty"` }
ResourceAdvancedComputerSearch represents the structure of the response for an advanced computer search.
type ResourceAdvancedMobileDeviceSearch ¶
type ResourceAdvancedMobileDeviceSearch struct { ID int `xml:"id"` Name string `xml:"name"` ViewAs string `xml:"view_as,omitempty"` Sort1 string `xml:"sort_1,omitempty"` Sort2 string `xml:"sort_2,omitempty"` Sort3 string `xml:"sort_3,omitempty"` Criteria SharedContainerCriteria `xml:"criteria,omitempty"` DisplayFields []SharedAdvancedSearchContainerDisplayField `xml:"display_fields,omitempty"` MobileDevices []AdvancedMobileSearchContainerDevices `xml:"mobile_devices,omitempty"` Site SharedResourceSite `xml:"site,omitempty"` }
ResourceAdvancedMobileDeviceSearch represents the structure of the response for an advanced mobile device search.
type ResourceAdvancedUserSearch ¶
type ResourceAdvancedUserSearch struct { ID int `xml:"id"` Name string `xml:"name,omitempty"` Criteria SharedContainerCriteria `xml:"criteria,omitempty"` Users []AdvancedUserSearchContainerUsers `xml:"users,omitempty"` DisplayFields []SharedAdvancedSearchContainerDisplayField `xml:"display_fields,omitempty"` Site SharedResourceSite `xml:"site,omitempty"` }
Structs for Advanced User Search details by ID
type ResourceAdvancedUserSearchCreatedAndUpdated ¶
type ResourceAdvancedUserSearchCreatedAndUpdated struct {
ID int `json:"id,omitempty" xml:"id,omitempty"`
}
type ResourceApiIntegration ¶
type ResourceApiIntegration struct { ID int `json:"id,omitempty"` AuthorizationScopes []string `json:"authorizationScopes,omitempty"` DisplayName string `json:"displayName,omitempty"` Enabled bool `json:"enabled,omitempty"` AccessTokenLifetimeSeconds int `json:"accessTokenLifetimeSeconds,omitempty"` AppType string `json:"appType,omitempty"` ClientID string `json:"clientId,omitempty"` }
Integration represents the details of an individual API integration
type ResourceApiRolePrivilegesList ¶
type ResourceApiRolePrivilegesList struct {
Privileges []string `json:"privileges"`
}
ResponseApiRolePrivileges represents the structure of the response for fetching API role privileges
type ResourceBYOProfile ¶
type ResourceBYOProfile struct {
General BYOProfileSubsetGeneral `xml:"general"`
}
BYOProfile represents the details of a BYO profile.
type ResourceBuilding ¶
type ResourceBuilding struct { ID string `json:"id"` Name string `json:"name"` StreetAddress1 string `json:"streetAddress1"` StreetAddress2 string `json:"streetAddress2"` City string `json:"city"` StateProvince string `json:"stateProvince"` ZipPostalCode string `json:"zipPostalCode"` Country string `json:"country"` }
ResponseBuilding represents the structure of each building item in the response.
type ResourceBuildingResourceHistory ¶
type ResourceBuildingResourceHistory struct { ID int `json:"id"` Username string `json:"username"` Date string `json:"date"` Note string `json:"note"` Details string `json:"details"` }
ResponseBuildingResourceHistory represents the structure of each resource history item in the response.
type ResourceCacheSettings ¶
type ResourceCacheSettings struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` CacheType string `json:"cacheType"` TimeToLiveSeconds int `json:"timeToLiveSeconds"` TimeToIdleSeconds int `json:"timeToIdleSeconds"` DirectoryTimeToLiveSeconds int `json:"directoryTimeToLiveSeconds,omitempty"` EhcacheMaxBytesLocalHeap string `json:"ehcacheMaxBytesLocalHeap,omitempty"` CacheUniqueId string `json:"cacheUniqueId"` Elasticache bool `json:"elasticache,omitempty"` MemcachedEndpoints []CacheSettingsSubsetMemcachedEndpoints `json:"memcachedEndpoints"` }
ResponseCacheSettings represents the JSON response for cache settings.
type ResourceCategory ¶
type ResourceClass ¶
type ResourceClass struct { ID int `xml:"id,omitempty"` Source string `xml:"source,omitempty"` Name string `xml:"name,omitempty"` Description string `xml:"description,omitempty"` Site SharedResourceSite `xml:"site"` MobileDeviceGroup ClassSubsetMobileDeviceGroup `xml:"mobile_device_group,omitempty"` Students []ClassSubsetStudent `xml:"students>student"` Teachers []ClassSubsetTeacher `xml:"teachers>teacher,omitempty"` TeacherIDs []ClassSubsetTeacherIDs `xml:"teacher_ids>id,omitempty"` StudentGroupIDs []ClassSubsetStudentGroupIDs `xml:"student_group_ids>id"` TeacherGroupIDs []ClassSubsetTeacherGroupIDs `xml:"teacher_group_ids>id"` MobileDevices []ClassSubsetMobileDevices `xml:"mobile_devices>mobile_device"` MobileDeviceGroupID []ClassSubsetMobileDeviceGroupID `xml:"mobile_device_group_id>id,omitempty"` MeetingTimes ClassContainerMeetingTimes `xml:"meeting_times,omitempty"` AppleTVs []ClassSubsetAppleTVs `xml:"apple_tvs>apple_tv,omitempty"` }
type ResourceClientCheckinSettings ¶
type ResourceClientCheckinSettings struct { CheckInFrequency int `json:"checkInFrequency"` CreateHooks bool `json:"createHooks"` HookLog bool `json:"hookLog"` HookPolicies bool `json:"hookPolicies"` CreateStartupScript bool `json:"createStartupScript"` StartupLog bool `json:"startupLog"` StartupPolicies bool `json:"startupPolicies"` StartupSsh bool `json:"startupSsh"` EnableLocalConfigurationProfiles bool `json:"enableLocalConfigurationProfiles"` }
type ResourceClientCredentials ¶
type ResourceClientCredentials struct { ClientID string `json:"clientId"` ClientSecret string `json:"clientSecret"` }
Integration represents the details of Api client credentials
type ResourceCloudIdp ¶
type ResourceCloudIdp struct { CloudIdPCommon CloudIdpListItem `json:"cloudIdPCommon"` Server ResourceCloudIdpServer `json:"server"` }
type ResourceCloudIdpServer ¶
type ResourceCloudIdpServer struct { ID string `json:"id"` TenantId string `json:"tenantId"` Enabled bool `json:"enabled"` Migrated bool `json:"migrated"` Mappings CloudIdpServerSubsetCloudIdpServerMappings `json:"mappings"` SearchTimeout int `json:"searchTimeout"` TransitiveMembershipEnabled bool `json:"transitiveMembershipEnabled"` TransitiveMembershipUserField string `json:"transitiveMembershipUserField"` TransitiveDirectoryMembershipEnabled bool `json:"transitiveDirectoryMembershipEnabled"` MembershipCalculationOptimizationEnabled bool `json:"membershipCalculationOptimizationEnabled"` Code string `json:"code"` }
type ResourceComputerCheckin ¶
type ResourceComputerCheckin struct { CheckInFrequency int `xml:"check_in_frequency"` CreateStartupScript bool `xml:"create_startup_script"` LogStartupEvent bool `xml:"log_startup_event"` CheckForPoliciesAtStartup bool `xml:"check_for_policies_at_startup"` ApplyComputerLevelManagedPrefs bool `xml:"apply_computer_level_managed_preferences"` EnsureSSHIsEnabled bool `xml:"ensure_ssh_is_enabled"` CreateLoginLogoutHooks bool `xml:"create_login_logout_hooks"` LogUsername bool `xml:"log_username"` CheckForPoliciesAtLoginLogout bool `xml:"check_for_policies_at_login_logout"` ApplyUserLevelManagedPreferences bool `xml:"apply_user_level_managed_preferences"` HideRestorePartition bool `xml:"hide_restore_partition"` PerformLoginActionsInBackground bool `xml:"perform_login_actions_in_background"` DisplayStatusToUser bool `xml:"display_status_to_user"` }
type ResourceComputerExtensionAttribute ¶
type ResourceComputerExtensionAttribute struct { ID int `xml:"id"` Name string `xml:"name"` Enabled bool `xml:"enabled,omitempty"` Description string `xml:"description,omitempty"` DataType string `xml:"data_type,omitempty"` InputType ComputerExtensionAttributeSubsetInputType `xml:"input_type"` InventoryDisplay string `xml:"inventory_display,omitempty"` ReconDisplay string `xml:"recon_display,omitempty"` }
type ResourceComputerGroup ¶
type ResourceComputerGroup struct { ID int `xml:"id"` Name string `xml:"name"` IsSmart bool `xml:"is_smart"` Site SharedResourceSite `xml:"site"` Criteria SharedContainerCriteria `xml:"criteria"` Computers []ComputerGroupSubsetComputer `xml:"computers>computer"` }
type ResourceComputerInventory ¶
type ResourceComputerInventory struct { ID string `json:"id"` UDID string `json:"udid"` General ComputerInventorySubsetGeneral `json:"general"` DiskEncryption ComputerInventorySubsetDiskEncryption `json:"diskEncryption"` Purchasing ComputerInventorySubsetPurchasing `json:"purchasing"` Applications []ComputerInventorySubsetApplication `json:"applications"` Storage ComputerInventorySubsetStorage `json:"storage"` UserAndLocation ComputerInventorySubsetUserAndLocation `json:"userAndLocation"` ConfigurationProfiles []ComputerInventorySubsetConfigurationProfile `json:"configurationProfiles"` Printers []ComputerInventorySubsetPrinter `json:"printers"` Services []ComputerInventorySubsetService `json:"services"` Hardware ComputerInventorySubsetHardware `json:"hardware"` LocalUserAccounts []ComputerInventorySubsetLocalUserAccount `json:"localUserAccounts"` Certificates []ComputerInventorySubsetCertificate `json:"certificates"` Attachments []ComputerInventorySubsetAttachment `json:"attachments"` Plugins []ComputerInventorySubsetPlugin `json:"plugins"` PackageReceipts ComputerInventorySubsetPackageReceipts `json:"packageReceipts"` Fonts []ComputerInventorySubsetFont `json:"fonts"` Security ComputerInventorySubsetSecurity `json:"security"` OperatingSystem ComputerInventorySubsetOperatingSystem `json:"operatingSystem"` LicensedSoftware []ComputerInventorySubsetLicensedSoftware `json:"licensedSoftware"` Ibeacons []ComputerInventorySubsetIBeacon `json:"ibeacons"` SoftwareUpdates []ComputerInventorySubsetSoftwareUpdate `json:"softwareUpdates"` ExtensionAttributes []ComputerInventorySubsetExtensionAttribute `json:"extensionAttributes"` ContentCaching ComputerInventorySubsetContentCaching `json:"contentCaching"` GroupMemberships []ComputerInventorySubsetGroupMembership `json:"groupMemberships"` }
ResponseComputerInventory represents an individual computer from the inventory.
type ResourceComputerInventoryCollectionSettings ¶
type ResourceComputerInventoryCollectionSettings struct { ComputerInventoryCollectionPreferences ComputerInventoryCollectionSettingsSubsetPreferences `json:"computerInventoryCollectionPreferences"` ApplicationPaths []ComputerInventoryCollectionSettingsSubsetPathItem `json:"applicationPaths"` FontPaths []ComputerInventoryCollectionSettingsSubsetPathItem `json:"fontPaths"` PluginPaths []ComputerInventoryCollectionSettingsSubsetPathItem `json:"pluginPaths"` }
type ResourceComputerInventoryCollectionSettingsCustomPath ¶
type ResourceComputerInventoryCollectionSettingsCustomPath struct { Scope string `json:"scope"` Path string `json:"path"` }
ComputerInventoryCollectionSettingsCustomPath defines the request body for creating a custom path.
type ResourceComputerInvitation ¶
type ResourceComputerInvitation struct { ID int `xml:"id,omitempty"` Invitation string `xml:"invitation,omitempty"` InvitationStatus string `xml:"invitation_status,omitempty"` InvitationType string `xml:"invitation_type,omitempty"` ExpirationDate string `xml:"expiration_date,omitempty"` ExpirationDateUTC string `xml:"expiration_date_utc,omitempty"` ExpirationDateEpoch int64 `xml:"expiration_date_epoch,omitempty"` SSHUsername string `xml:"ssh_username,omitempty"` SSHPassword string `xml:"ssh_password,omitempty"` MultipleUsersAllowed bool `xml:"multiple_users_allowed,omitempty"` TimesUsed int `xml:"times_used,omitempty"` CreateAccountIfDoesNotExist bool `xml:"create_account_if_does_not_exist,omitempty"` HideAccount bool `xml:"hide_account,omitempty"` LockDownSSH bool `xml:"lock_down_ssh,omitempty"` InvitedUserUUID string `xml:"invited_user_uuid,omitempty"` EnrollIntoSite ComputerInvitationSubsetEnrollIntoState `xml:"enroll_into_site,omitempty"` KeepExistingSiteMembership bool `xml:"keep_existing_site_membership,omitempty"` Site SharedResourceSite `xml:"site,omitempty"` }
type ResourceComputerPrestage ¶
type ResourceComputerPrestage struct { ID string `json:"id"` DisplayName string `json:"displayName"` Mandatory bool `json:"mandatory"` MDMRemovable bool `json:"mdmRemovable"` SupportPhoneNumber string `json:"supportPhoneNumber"` SupportEmailAddress string `json:"supportEmailAddress"` Department string `json:"department"` DefaultPrestage bool `json:"defaultPrestage"` EnrollmentSiteId string `json:"enrollmentSiteId"` KeepExistingSiteMembership bool `json:"keepExistingSiteMembership"` KeepExistingLocationInformation bool `json:"keepExistingLocationInformation"` RequireAuthentication bool `json:"requireAuthentication"` AuthenticationPrompt string `json:"authenticationPrompt"` PreventActivationLock bool `json:"preventActivationLock"` EnableDeviceBasedActivationLock bool `json:"enableDeviceBasedActivationLock"` DeviceEnrollmentProgramInstanceId string `json:"deviceEnrollmentProgramInstanceId"` SkipSetupItems ComputerPrestageSubsetSkipSetupItems `json:"skipSetupItems"` LocationInformation ComputerPrestageSubsetLocationInformation `json:"locationInformation"` PurchasingInformation ComputerPrestageSubsetPurchasingInformation `json:"purchasingInformation"` AnchorCertificates []string `json:"anchorCertificates"` EnrollmentCustomizationId string `json:"enrollmentCustomizationId"` Language string `json:"language"` Region string `json:"region"` AutoAdvanceSetup bool `json:"autoAdvanceSetup"` InstallProfilesDuringSetup bool `json:"installProfilesDuringSetup"` PrestageInstalledProfileIds []string `json:"prestageInstalledProfileIds"` CustomPackageIds []string `json:"customPackageIds"` CustomPackageDistributionPointId string `json:"customPackageDistributionPointId"` EnableRecoveryLock bool `json:"enableRecoveryLock"` RecoveryLockPasswordType string `json:"recoveryLockPasswordType"` RecoveryLockPassword string `json:"recoveryLockPassword"` RotateRecoveryLockPassword bool `json:"rotateRecoveryLockPassword"` ProfileUuid string `json:"profileUuid"` SiteId string `json:"siteId"` VersionLock int `json:"versionLock"` AccountSettings ComputerPrestageSubsetAccountSettings `json:"accountSettings"` }
type ResourceConditionalAccessDeviceComplianceStatus ¶
type ResourceConditionalAccessDeviceComplianceStatus struct {
}ResourceConditionalAccessDeviceComplianceStatus represents the resource object.
type ResourceDepartment ¶
type ResourceDeviceCommunicationSettings ¶
type ResourceDeviceCommunicationSettings struct { AutoRenewMobileDeviceMdmProfileWhenCaRenewed bool `json:"autoRenewMobileDeviceMdmProfileWhenCaRenewed"` AutoRenewMobileDeviceMdmProfileWhenDeviceIdentityCertExpiring bool `json:"autoRenewMobileDeviceMdmProfileWhenDeviceIdentityCertExpiring"` AutoRenewComputerMdmProfileWhenCaRenewed bool `json:"autoRenewComputerMdmProfileWhenCaRenewed"` AutoRenewComputerMdmProfileWhenDeviceIdentityCertExpiring bool `json:"autoRenewComputerMdmProfileWhenDeviceIdentityCertExpiring"` MdmProfileMobileDeviceExpirationLimitInDays int `json:"mdmProfileMobileDeviceExpirationLimitInDays"` MdmProfileComputerExpirationLimitInDays int `json:"mdmProfileComputerExpirationLimitInDays"` }
type ResourceDeviceEnrollment ¶
type ResourceDeviceEnrollment struct { ID string `json:"id"` Name string `json:"name"` SupervisionIdentityId string `json:"supervisionIdentityId"` SiteId string `json:"siteId"` ServerName string `json:"serverName"` ServerUuid string `json:"serverUuid"` AdminId string `json:"adminId"` OrgName string `json:"orgName"` OrgEmail string `json:"orgEmail"` OrgPhone string `json:"orgPhone"` OrgAddress string `json:"orgAddress"` TokenExpirationDate string `json:"tokenExpirationDate"` }
DeviceEnrollment represents a single device enrollment instance.
type ResourceDiskEncryptionConfiguration ¶
type ResourceDiskEncryptionConfiguration struct { Name string `xml:"name"` KeyType string `xml:"key_type"` FileVaultEnabledUsers string `xml:"file_vault_enabled_users"` InstitutionalRecoveryKey *DiskEncryptionConfigurationInstitutionalRecoveryKey `xml:"institutional_recovery_key,omitempty"` }
DiskEncryptionConfiguration represents the top-level XML structure for creating/updating a Disk Encryption Configuration.
type ResourceDockItem ¶
type ResourceDockItem struct { ID int `xml:"id" json:"id"` Name string `xml:"name" json:"name"` Type string `xml:"type" json:"type"` Path string `xml:"path" json:"path"` Contents string `xml:"contents" json:"contents"` }
Struct to capture the response for a single Dock Item
type ResourceEbooks ¶
type ResourceEbooks struct { General EbookSubsetGeneral `xml:"general"` Scope EbookSubsetScope `xml:"scope"` SelfService EbookSubsetSelfService `xml:"self_service"` }
ResourceEbooks represents the detailed structure of an Ebook response.
type ResourceEnrollmentCustomization ¶
type ResourceEnrollmentCustomization struct { ID string `json:"id"` SiteID string `json:"siteId"` DisplayName string `json:"displayName"` Description string `json:"description"` BrandingSettings EnrollmentCustomizationSubsetBrandingSettings `json:"enrollmentCustomizationBrandingSettings"` }
type ResourceFileShareDistributionPoint ¶
type ResourceFileShareDistributionPoint struct {}
Struct for detailed Distribution Point data
type ResourceGSXConnection ¶
type ResourceIBeacons ¶
type ResourceIBeacons struct { ID int `xml:"id"` Name string `xml:"name"` UUID string `xml:"uuid"` Major int `xml:"major,omitempty"` Minor int `xml:"minor,omitempty"` }
ResponseIBeacons represents the structure of an individual iBeacon.
type ResourceJamfProtectIntegrationSettings ¶
type ResourceJamfProtectIntegrationSettings struct { ID string `json:"id"` APIClientID string `json:"apiClientId"` APIClientName string `json:"apiClientName"` RegistrationID string `json:"registrationId"` ProtectURL string `json:"protectUrl"` LastSyncTime string `json:"lastSyncTime"` SyncStatus string `json:"syncStatus"` AutoInstall bool `json:"autoInstall"` }
type ResourceLDAPServers ¶
type ResourceLDAPServers struct { Connection LDAPServerSubsetConnection `xml:"connection"` MappingsForUsers LDAPServerContainerMapping `xml:"mappings_for_users"` }
ResourceLDAPServers represents the structure of an individual LDAP server.
type ResourceLicensedSoftware ¶
type ResourceLicensedSoftware struct { General LicensedSoftwareSubsetGeneral `xml:"general"` SoftwareDefinitions []LicensedSoftwareSubsetSoftwareDefinitions `xml:"software_definitions>definition"` FontDefinitions []LicensedSoftwareSubsetFontDefinitions `xml:"font_definitions>definition"` PluginDefinitions []LicensedSoftwareSubsetPluginDefinitions `xml:"plugin_definitions>definition"` Licenses []LicensedSoftwareSubsetLicenses `xml:"licenses>license"` }
ResourceLicensedSoftware represents the structure of a single licensed software item.
type ResourceMacApplications ¶
type ResourceMacApplications struct { General MacApplicationsSubsetGeneral `xml:"general"` Scope MacApplicationsSubsetScope `xml:"scope"` SelfService MacAppSubsetSelfService `xml:"self_service"` }
ResourceMacApplications represents the detailed structure of a Mac Application response.
type ResourceMacOSConfigurationProfile ¶
type ResourceMacOSConfigurationProfile struct { General MacOSConfigurationProfileSubsetGeneral `xml:"general"` Scope MacOSConfigurationProfileSubsetScope `xml:"scope,omitempty"` SelfService MacOSConfigurationProfileSubsetSelfService `xml:"self_service,omitempty"` }
ResourceMacOSConfigurationProfiles represents the response structure for a macOS configuration profile.
type ResourceMobileDevice ¶
type ResourceMobileDevice struct { General MobileDeviceSubsetGeneral `xml:"general"` Location MobileDeviceSubsetLocation `xml:"location"` Purchasing MobileDeviceSubsetPurchasing `xml:"purchasing"` Applications []MobileDeviceSubsetApplication `xml:"applications>application"` SecurityObject MobileDeviceSubsetSecurity `xml:"security_object"` Network MobileDeviceSubsetNetwork `xml:"network"` Certificates []MobileDeviceSubsetCertificate `xml:"certificates>certificate"` ConfigurationProfiles []MobileDeviceSubsetConfigurationProfile `xml:"configuration_profiles>configuration_profile"` ProvisioningProfiles []MobileDeviceSubsetProvisioningProfile `xml:"provisioning_profiles>mobile_device_provisioning_profile"` MobileDeviceGroups []MobileDeviceSubsetGroup `xml:"mobile_device_groups>mobile_device_group"` ExtensionAttributes []MobileDeviceSubsetExtensionAttribute `xml:"extension_attributes>extension_attribute"` }
ResourceMobileDevice represents the structure for a of a mobile device.
type ResourceMobileDeviceApplication ¶
type ResourceMobileDeviceApplication struct {
General MobileDeviceApplicationSubsetGeneral `xml:"general"`
}
ResourceMobileDeviceApplication represents the detailed structure of a single mobile device application.
type ResourceMobileDeviceConfigurationProfile ¶
type ResourceMobileDeviceConfigurationProfile struct { General MobileDeviceConfigurationProfileSubsetGeneral `xml:"general"` Scope MobileDeviceConfigurationProfileSubsetScope `xml:"scope,omitempty"` SelfService MobileDeviceConfigurationProfileSubsetSelfService `xml:"self_service,omitempty"` }
ResponseMobileDeviceConfigurationProfile represents the detailed structure of a single mobile device configuration profile.
type ResourceMobileDeviceEnrollmentProfile ¶
type ResourceMobileDeviceEnrollmentProfile struct { General MobileDeviceEnrollmentProfileSubsetGeneral `xml:"general"` Location MobileDeviceEnrollmentProfileSubsetLocation `xml:"location,omitempty"` Purchasing MobileDeviceEnrollmentProfileSubsetPurchasing `xml:"purchasing,omitempty"` Attachments []MobileDeviceEnrollmentProfileContainerAttachments `xml:"attachments,omitempty"` }
ResourceMobileDeviceEnrollmentProfile represents the response structure for a mobile device enrollment profile.
type ResourceMobileDeviceGroup ¶
type ResourceMobileDeviceGroup struct { ID int `xml:"id"` Name string `xml:"name"` IsSmart bool `xml:"is_smart"` Criteria SharedContainerCriteria `xml:"criteria,omitempty"` Site SharedResourceSite `xml:"site"` MobileDevices []MobileDeviceGroupSubsetDeviceItem `xml:"mobile_devices>mobile_device,omitempty"` MobileDeviceAdditions []MobileDeviceGroupSubsetDeviceItem `xml:"mobile_device_additions>mobile_device,omitempty"` MobileDeviceDeletions []MobileDeviceGroupSubsetDeviceItem `xml:"mobile_device_deletions>mobile_device,omitempty"` }
ResourceMobileDeviceGroup represents the response for a single mobile device group.
type ResourceMobileDevicePrestage ¶
type ResourceMobileDevicePrestage struct { DisplayName string `json:"displayName"` Mandatory bool `json:"mandatory"` MdmRemovable bool `json:"mdmRemovable"` SupportPhoneNumber string `json:"supportPhoneNumber"` SupportEmailAddress string `json:"supportEmailAddress"` Department string `json:"department"` DefaultPrestage bool `json:"defaultPrestage"` EnrollmentSiteID string `json:"enrollmentSiteId"` KeepExistingSiteMembership bool `json:"keepExistingSiteMembership"` KeepExistingLocationInformation bool `json:"keepExistingLocationInformation"` RequireAuthentication bool `json:"requireAuthentication"` AuthenticationPrompt string `json:"authenticationPrompt"` PreventActivationLock bool `json:"preventActivationLock"` EnableDeviceBasedActivationLock bool `json:"enableDeviceBasedActivationLock"` DeviceEnrollmentProgramInstanceID string `json:"deviceEnrollmentProgramInstanceId"` SkipSetupItems MobileDevicePrestageSubsetSkipSetupItems `json:"skipSetupItems"` LocationInformation MobileDevicePrestageSubsetLocationInformation `json:"locationInformation"` PurchasingInformation MobileDevicePrestageSubsetLocationInformation `json:"purchasingInformation"` AnchorCertificates []string `json:"anchorCertificates"` EnrollmentCustomizationID string `json:"enrollmentCustomizationId"` Language string `json:"language"` Region string `json:"region"` AutoAdvanceSetup bool `json:"autoAdvanceSetup"` AllowPairing bool `json:"allowPairing"` MultiUser bool `json:"multiUser"` Supervised bool `json:"supervised"` ConfigureDeviceBeforeSetupAssistant bool `json:"configureDeviceBeforeSetupAssistant"` Names MobileDevicePrestageSubsetNames `json:"names"` SendTimezone bool `json:"sendTimezone"` Timezone string `json:"timezone"` StorageQuotaSizeMegabytes int `json:"storageQuotaSizeMegabytes"` UseStorageQuotaSize bool `json:"useStorageQuotaSize"` TemporarySessionOnly bool `json:"temporarySessionOnly"` EnforceTemporarySessionTimeout bool `json:"enforceTemporarySessionTimeout"` TemporarySessionTimeout int `json:"temporarySessionTimeout"` EnforceUserSessionTimeout bool `json:"enforceUserSessionTimeout"` UserSessionTimeout int `json:"userSessionTimeout"` ID string `json:"id"` ProfileUuid string `json:"profileUuid"` SiteId string `json:"siteId"` VersionLock int `json:"versionLock"` }
type ResourceMobileDeviceProvisioningProfile ¶
type ResourceMobileDeviceProvisioningProfile struct {
General MobileDeviceProvisioningProfileSubsetGeneral `xml:"general"`
}
ResourceMobileDeviceProvisioningProfile represents the detailed structure for a mobile device provisioning profile.
type ResourceMobileExtensionAttribute ¶
type ResourceMobileExtensionAttribute struct { ID int `xml:"id"` Name string `xml:"name"` Description string `xml:"description,omitempty"` DataType string `xml:"data_type,omitempty"` InputType MobileExtensionAttributeSubsetInputType `xml:"input_type,omitempty"` InventoryDisplay string `xml:"inventory_display,omitempty"` }
ResourceMobileExtensionAttributes represents the response structure for a mobile extension attribute.
type ResourceNetworkSegment ¶
type ResourceNetworkSegment struct { ID int `json:"id" xml:"id"` Name string `json:"name" xml:"name"` StartingAddress string `json:"starting_address" xml:"starting_address"` EndingAddress string `json:"ending_address" xml:"ending_address"` DistributionServer string `json:"distribution_server,omitempty" xml:"distribution_server,omitempty"` DistributionPoint string `json:"distribution_point,omitempty" xml:"distribution_point,omitempty"` URL string `json:"url,omitempty" xml:"url,omitempty"` SWUServer string `json:"swu_server,omitempty" xml:"swu_server,omitempty"` Building string `json:"building,omitempty" xml:"building,omitempty"` Department string `json:"department,omitempty" xml:"department,omitempty"` OverrideBuildings bool `json:"override_buildings" xml:"override_buildings"` OverrideDepartments bool `json:"override_departments" xml:"override_departments"` }
ResourceNetworkSegment represents the response structure for a Network Segment.
type ResourcePatchPolicies ¶
type ResourcePatchPolicies struct { General PatchPoliciesSubsetGeneral `xml:"general"` Scope PatchPoliciesSubsetScope `xml:"scope"` UserInteraction PatchPoliciesSubsetUserInteraction `xml:"user_interaction"` SoftwareTitleConfigurationID int `xml:"software_title_configuration_id"` }
ResourcePatchPolicies represents the root element of the patch policy XML.
type ResourcePatchSoftwareTitleConfiguration ¶
type ResourcePatchSoftwareTitleConfiguration struct { DisplayName string `json:"displayName"` CategoryID string `json:"categoryId"` SiteID string `json:"siteId"` UiNotifications bool `json:"uiNotifications"` EmailNotifications bool `json:"emailNotifications"` SoftwareTitleID string `json:"softwareTitleId"` ExtensionAttributes []PatchSoftwareTitleConfigurationSubsetExtensionAttribute `json:"extensionAttributes"` SoftwareTitleName string `json:"softwareTitleName"` SoftwareTitleNameId string `json:"softwareTitleNameId"` SoftwareTitlePublisher string `json:"softwareTitlePublisher"` ID string `json:"id"` Packages []PatchSoftwareTitleConfigurationSubsetPackage `json:"packages"` }
type ResourcePolicy ¶
type ResourcePolicy struct { General PolicySubsetGeneral `xml:"general"` Scope PolicySubsetScope `xml:"scope,omitempty"` SelfService PolicySubsetSelfService `xml:"self_service"` PackageConfiguration PolicySubsetPackageConfiguration `xml:"package_configuration,omitempty"` Scripts PolicySubsetScripts `xml:"scripts,omitempty"` Printers PolicySubsetPrinters `xml:"printers"` DockItems PolicySubsetDockItems `xml:"dock_items"` AccountMaintenance PolicySubsetAccountMaintenance `xml:"account_maintenance"` Maintenance PolicySubsetMaintenance `xml:"maintenance"` FilesProcesses PolicySubsetFilesProcesses `xml:"files_processes"` UserInteraction PolicySubsetUserInteraction `xml:"user_interaction"` DiskEncryption PolicySubsetDiskEncryption `xml:"disk_encryption"` Reboot PolicySubsetReboot `xml:"reboot"` }
ResourcePolicy represents the response structure for a single policy
type ResourcePolicyCreateAndUpdate ¶
ResourcePolicyCreateAndUpdate represents the response structure for creating or updating a policy
type ResourcePrinter ¶
type ResourcePrinter struct { ID int `xml:"id"` Name string `xml:"name"` Category string `xml:"category"` URI string `xml:"uri"` CUPSName string `xml:"CUPS_name"` Location string `xml:"location"` Model string `xml:"model"` Info string `xml:"info"` Notes string `xml:"notes"` MakeDefault bool `xml:"make_default"` UseGeneric bool `xml:"use_generic"` PPD string `xml:"ppd"` PPDPath string `xml:"ppd_path"` PPDContents string `xml:"ppd_contents"` }
ResourcePrinter represents the detailed structure of a single printer.
type ResourceRestrictedSoftware ¶
type ResourceRestrictedSoftware struct { General RestrictedSoftwareSubsetGeneral `xml:"general"` Scope RestrictedSoftwareSubsetScope `xml:"scope"` }
Structs for individual Restricted Software
type ResourceSMTPServer ¶
type ResourceSMTPServer struct { Enabled bool `xml:"enabled"` Host string `xml:"host"` Port int `xml:"port"` Timeout int `xml:"timeout"` AuthorizationRequired bool `xml:"authorization_required"` Username string `xml:"username"` Password string `xml:"password"` SSL bool `xml:"ssl"` TLS bool `xml:"tls"` SendFromName string `xml:"send_from_name"` SendFromEmail string `xml:"send_from_email"` }
type ResourceScript ¶
type ResourceScript struct { ID string `json:"id"` Name string `json:"name"` CategoryName string `json:"categoryName,omitempty"` CategoryId string `json:"categoryId,omitempty"` Info string `json:"info,omitempty"` Notes string `json:"notes,omitempty"` OSRequirements string `json:"osRequirements,omitempty"` Priority string `json:"priority,omitempty"` ScriptContents string `json:"scriptContents,omitempty"` Parameter4 string `json:"parameter4,omitempty"` Parameter5 string `json:"parameter5,omitempty"` Parameter6 string `json:"parameter6,omitempty"` Parameter7 string `json:"parameter7,omitempty"` Parameter8 string `json:"parameter8,omitempty"` Parameter9 string `json:"parameter9,omitempty"` Parameter10 string `json:"parameter10,omitempty"` Parameter11 string `json:"parameter11,omitempty"` }
Struct which represents Script object JSON from Pro API
type ResourceSelfServiceBrandingDetail ¶
type ResourceSelfServiceBrandingDetail struct { ID string `json:"id"` ApplicationName string `json:"applicationName"` BrandingName string `json:"brandingName"` BrandingNameSecondary string `json:"brandingNameSecondary"` IconId int `json:"iconId"` BrandingHeaderImageId int `json:"brandingHeaderImageId"` }
SelfServiceBrandingDetail represents the details of a self-service branding configuration.
type ResourceSoftwareUpdateServer ¶
type ResourceSoftwareUpdateServer struct { ID int `xml:"id"` Name string `xml:"name"` IPAddress string `xml:"ip_address"` Port int `xml:"port"` SetSystemWide bool `xml:"set_system_wide"` }
Struct for individual Software Update Server
type ResourceSsoSettings ¶
type ResourceSsoSettings struct { SsoForEnrollmentEnabled bool `json:"ssoForEnrollmentEnabled"` SsoBypassAllowed bool `json:"ssoBypassAllowed"` SsoEnabled bool `json:"ssoEnabled"` SsoForMacOsSelfServiceEnabled bool `json:"ssoForMacOsSelfServiceEnabled"` TokenExpirationDisabled bool `json:"tokenExpirationDisabled"` UserAttributeEnabled bool `json:"userAttributeEnabled"` UserAttributeName string `json:"userAttributeName"` UserMapping string `json:"userMapping"` EnrollmentSsoForAccountDrivenEnrollmentEnabled bool `json:"enrollmentSsoForAccountDrivenEnrollmentEnabled"` EnrollmentSsoConfig SsoSettingsSubsetEnrollmentSsoConfig `json:"enrollmentSsoConfig"` GroupEnrollmentAccessEnabled bool `json:"groupEnrollmentAccessEnabled"` GroupAttributeName string `json:"groupAttributeName"` GroupRdnKey string `json:"groupRdnKey"` GroupEnrollmentAccessName string `json:"groupEnrollmentAccessName"` IdpProviderType string `json:"idpProviderType"` IdpUrl string `json:"idpUrl"` EntityId string `json:"entityId"` MetadataFileName string `json:"metadataFileName"` OtherProviderTypeName string `json:"otherProviderTypeName"` FederationMetadataFile string `json:"federationMetadataFile"` MetadataSource string `json:"metadataSource"` SessionTimeout int `json:"sessionTimeout"` }
type ResourceUser ¶
type ResourceUser struct { ID int `xml:"id"` Name string `xml:"name"` FullName string `xml:"full_name"` Email string `xml:"email"` EmailAddress string `xml:"email_address"` PhoneNumber string `xml:"phone_number"` Position string `xml:"position"` EnableCustomPhoto bool `xml:"enable_custom_photo_url"` CustomPhotoURL string `xml:"custom_photo_url"` LDAPServer UserSubsetLDAPServer `xml:"ldap_server"` ExtensionAttributes UserSubsetExtensionAttributes `xml:"extension_attributes"` Sites []SharedResourceSite `xml:"sites>site"` Links UserSubsetLinks `xml:"links"` }
type ResourceUserExtensionAttribute ¶
type ResourceUserExtensionAttribute struct { XMLName xml.Name `xml:"user_extension_attribute"` ID int `xml:"id,omitempty"` Name string `xml:"name"` Description string `xml:"description"` DataType string `xml:"data_type"` InputType ResourceUserExtensionAttributeSubsetInputType `xml:"input_type"` }
ResponseUserExtensionAttributerepresents a single user extension attribute.
type ResourceUserExtensionAttributeSubsetInputType ¶
type ResourceUserExtensionAttributeSubsetInputType struct {
Type string `xml:"type"`
}
type ResourceUserGroup ¶
type ResourceUserGroup struct { ID int `xml:"id"` Name string `xml:"name"` IsSmart bool `xml:"is_smart"` IsNotifyOnChange bool `xml:"is_notify_on_change"` Site SharedResourceSite `xml:"site"` Criteria []SharedSubsetCriteria `xml:"criteria>criterion"` Users []UserGroupSubsetUserItem `xml:"users>user"` UserAdditions []UserGroupSubsetUserItem `xml:"user_additions>user"` UserDeletions []UserGroupSubsetUserItem `xml:"user_deletions>user"` }
ResourceUserGroup represents the detailed information of a user group.
type ResourceVPPAccount ¶
type ResourceVPPAccount struct { ID int `xml:"id"` Name string `xml:"name"` Contact string `xml:"contact"` ServiceToken string `xml:"service_token"` AccountName string `xml:"account_name"` ExpirationDate string `xml:"expiration_date"` Country string `xml:"country"` AppleID string `xml:"apple_id"` Site SharedResourceSite `xml:"site"` PopulateCatalogFromVPPContent bool `xml:"populate_catalog_from_vpp_content"` NotifyDisassociation bool `xml:"notify_disassociation"` AutoRegisterManagedUsers bool `xml:"auto_register_managed_users"` }
Struct for individual VPP Account
type ResourceVPPAssignment ¶
type ResourceVPPAssignment struct { General VPPAssignmentSubsetGeneral `xml:"general"` IOSApps []VPPSubsetVPPApp `xml:"ios_apps>ios_app"` MacApps []VPPSubsetVPPApp `xml:"mac_apps>mac_app"` EBooks []VPPSubsetVPPApp `xml:"ebooks>ebook"` Scope VPPAssignmentSubsetScope `xml:"scope"` }
Structs for the detailed VPP assignment response
type ResourceVolumePurchasingLocation ¶
type ResourceVolumePurchasingLocation struct { VolumePurchasingLocationSubsetBody // I don't think this works. See exmaples/volume_purchase_locations/CreateVolumePurchasingLocation.go Content []VolumePurchasingSubsetContent `json:"content"` }
ResponseVolumePurchasingLocation represents the response structure for a single volume purchasing location.
type ResourceVolumePurchasingSubscription ¶
type ResourceVolumePurchasingSubscription struct { Id string `json:"id,omitempty"` Name string `json:"name"` Enabled bool `json:"enabled,omitempty"` Triggers []string `json:"triggers,omitempty"` LocationIds []string `json:"locationIds,omitempty"` InternalRecipients []VolumePurchasingSubscriptionSubsetInternalRecipients `json:"internalRecipients,omitempty"` ExternalRecipients []VolumePurchasingSubscriptionSubsetExternalRecipients `json:"externalRecipients,omitempty"` SiteId string `json:"siteId,omitempty"` }
type ResourceWebhook ¶
type ResourceWebhook struct { ID int `xml:"id"` Name string `xml:"name"` Enabled bool `xml:"enabled"` URL string `xml:"url"` ContentType string `xml:"content_type"` Event string `xml:"event"` ConnectionTimeout int `xml:"connection_timeout"` ReadTimeout int `xml:"read_timeout"` AuthenticationType string `xml:"authentication_type"` Username string `xml:"username"` Password string `xml:"password"` EnableDisplayFieldsForGroup bool `xml:"enable_display_fields_for_group_object"` DisplayFields []SharedAdvancedSearchContainerDisplayField `xml:"display_fields>display_field"` SmartGroupID int `xml:"smart_group_id"` }
Struct for individual Webhook
type ResponceBYOProfileCreatedAndUpdated ¶
type ResponceBYOProfileCreatedAndUpdated struct {
ID int `json:"id,omitempty" xml:"id,omitempty"`
}
type ResponseAccountCreatedAndUpdated ¶
type ResponseAccountCreatedAndUpdated struct {
ID int `json:"id,omitempty" xml:"id,omitempty"`
}
type ResponseAccountGroupCreated ¶
type ResponseAccountGroupCreated struct {
ID int `json:"id,omitempty" xml:"id,omitempty"`
}
type ResponseAccountsList ¶
type ResponseAccountsList struct { Users []AccountsListSubsetUsers `xml:"users>user,omitempty"` Groups []AccountsListSubsetGroups `xml:"groups>group,omitempty"` }
type ResponseActiveCertificateAuthority ¶
type ResponseActiveCertificateAuthority struct { SubjectX500Principal string `json:"subjectX500Principal"` IssuerX500Principal string `json:"issuerX500Principal"` SerialNumber string `json:"serialNumber"` Version int `json:"version"` NotAfter int64 `json:"notAfter"` NotBefore int64 `json:"notBefore"` Signature ActiveCertificateAuthoritySubsetSignature `json:"signature"` KeyUsage []string `json:"keyUsage"` KeyUsageExtended []string `json:"keyUsageExtended"` SHA1Fingerprint string `json:"sha1Fingerprint"` SHA256Fingerprint string `json:"sha256Fingerprint"` }
ResponseActiveCertificateAuthority represents the JSON response for the active certificate authority.
type ResponseAdvancedComputerSearchCreatedAndUpdated ¶
type ResponseAdvancedComputerSearchCreatedAndUpdated struct {
ID int `json:"id,omitempty" xml:"id,omitempty"`
}
type ResponseAdvancedComputerSearchesList ¶
type ResponseAdvancedComputerSearchesList struct { Size int `xml:"size"` AdvancedComputerSearches []AdvancedComputerSearchListItem `xml:"advanced_computer_search"` }
ResponseAdvancedComputerSearchesList represents the structure for multiple advanced computer searches.
type ResponseAdvancedMobileDeviceSearchCreatedAndUpdated ¶
type ResponseAdvancedMobileDeviceSearchCreatedAndUpdated struct {
ID int `json:"id,omitempty" xml:"id,omitempty"`
}
type ResponseAdvancedMobileDeviceSearchesList ¶
type ResponseAdvancedMobileDeviceSearchesList struct { Size int `xml:"size"` AdvancedMobileDeviceSearches []AdvancedMobileSearchListItem `xml:"advanced_mobile_device_search"` }
ResourceAdvancedMobileDeviceSearchList represents the structure for multiple advanced mobile device searches.
type ResponseAdvancedUserSearchesList ¶
type ResponseAdvancedUserSearchesList struct { Size int `xml:"size"` AdvancedUserSearch []AdvancedUserSearchListItem `xml:"advanced_user_search"` }
Response structure for the list of advanced user searches
type ResponseAllowedFileExtensionsList ¶
type ResponseAllowedFileExtensionsList struct { Size int `xml:"size"` AllowedFileExtensions []ResourceAllowedFileExtension `xml:"allowed_file_extension"` }
Response structure for the list of allowed file extensions
type ResponseApiIntegrationsList ¶
type ResponseApiIntegrationsList struct { TotalCount int `json:"totalCount"` Results []ResourceApiIntegration `json:"results"` }
ResponseApiIntegrations represents the structure of the response for fetching API integrations
type ResponseApiRolesList ¶
type ResponseApiRolesList struct { TotalCount int `json:"totalCount"` Results []ResourceAPIRole `json:"results"` }
ResponseApiRoles represents the structure of the response for fetching API roles
type ResponseBYOProfilesList ¶
type ResponseBYOProfilesList struct { Size int `xml:"size"` BYOProfiles []BYOProfileListItem `xml:"byoprofile"` }
ResponseBYOProfilesList represents the XML response for a list of BYO profiles.
type ResponseBuildingCreate ¶
ResponseBuildingCreate represents the response structure for creating a building.
type ResponseBuildingResourceHistoryList ¶
type ResponseBuildingResourceHistoryList struct { Size int `json:"totalCount"` Results []ResourceBuildingResourceHistory `json:"results"` }
ResponseBuildingResourceHistoryList represents the structure of the response for the building resource history list.
type ResponseBuildingsList ¶
type ResponseBuildingsList struct { TotalCount int `json:"totalCount"` Results []ResourceBuilding `json:"results"` }
ResponseBuildings represents the structure of the response for the buildings list.
type ResponseCategoriesList ¶
type ResponseCategoriesList struct { TotalCount int `json:"totalCount"` Results []ResourceCategory `json:"results"` }
type ResponseClassesList ¶
type ResponseClassesList struct { Size int `xml:"size"` Classes []ClassListItem `xml:"class"` }
ResponseClassesList represents the XML response for a list of classes.
type ResponseCloudIdentityProviderDefaultMappings ¶
type ResponseCloudIdentityProviderDefaultMappings struct { CloudIdentityProviderDefaultMappingsSubsetUserMappings CloudIdentityProviderDefaultMappingsSubsetUserMappings `json:"userMappings"` CloudIdentityProviderDefaultMappingsSubsetGroupMappings CloudIdentityProviderDefaultMappingsSubsetGroupMappings `json:"groupMappings"` CloudIdentityProviderDefaultMappingsSubsetMembershipMappings CloudIdentityProviderDefaultMappingsSubsetMembershipMappings `json:"membershipMappings"` }
type ResponseCloudIdpCreate ¶
ResponseCloudIDPCreate represents the response received after creating a Cloud Identity Provider.
type ResponseComputer ¶
type ResponseComputer struct { General ComputerSubsetGeneral `xml:"general" json:"general"` Location ComputerSubsetLocation `xml:"location" json:"location"` Purchasing ComputerSubsetPurchasing `xml:"purchasing" json:"purchasing"` Peripherals ComputerContainerPeripherals `xml:"peripherals" json:"peripherals"` Hardware ComputerSubsetHardware `xml:"hardware" json:"hardware"` Certificates []ComputerSubsetCertificates `xml:"certificates>certificate" json:"certificates"` Security ComputerSubsetSecurity `xml:"security" json:"security"` Software ComputerSubsetSoftware `xml:"software" json:"software"` ExtensionAttributes []ComputerSubsetExtensionAttributes `xml:"extension_attributes>extension_attribute" json:"extension_attributes"` GroupsAccounts ComputerSubsetGroupsAccounts `xml:"groups_accounts" json:"groups_accounts"` ConfigurationProfiles []ComputerSubsetConfigurationProfiles `xml:"configuration_profiles>configuration_profile" json:"configuration_profiles"` }
Response structure for computer resources
type ResponseComputerExtensionAttributesList ¶
type ResponseComputerExtensionAttributesList struct { Size int `xml:"size"` Results []ComputerExtenstionAttributeListItem `xml:"computer_extension_attribute"` }
type ResponseComputerGroupsList ¶
type ResponseComputerGroupsList struct { Size int `xml:"size"` Results []ComputerGroupListItem `xml:"computer_group"` }
type ResponseComputerInventoryList ¶
type ResponseComputerInventoryList struct { TotalCount int `json:"totalCount"` Results []ResourceComputerInventory `json:"results"` }
ResponseComputerInventoryList represents the top-level JSON response structure.
type ResponseComputerInvitationsList ¶
type ResponseComputerInvitationsList struct { Size int `xml:"size"` ComputerInvitation []ComputerInvitationListItem `xml:"computer_invitation"` }
type ResponseComputerPrestageCreate ¶
ResponseComputerPrestageCreate represents the response structure for creating a building.
type ResponseComputerPrestagesList ¶
type ResponseComputerPrestagesList struct { TotalCount *int `json:"totalCount"` Results []ResourceComputerPrestage `json:"results"` }
type ResponseComputersList ¶
type ResponseComputersList struct { TotalCount int `xml:"size"` Results []ComputersListItem `xml:"computer"` }
Response structure for the list of computers
type ResponseDepartmentsList ¶
type ResponseDepartmentsList struct { TotalCount int `json:"totalCount"` Results []ResourceDepartment `json:"results"` }
type ResponseDeviceEnrollmentsList ¶
type ResponseDeviceEnrollmentsList struct { TotalCount int `json:"totalCount"` Results []ResourceDeviceEnrollment `json:"results"` }
ResponseDeviceEnrollmentList represents the response for device enrollments list.
type ResponseDeviceScope ¶
type ResponseDeviceScope struct { PrestageId string `json:"prestageId"` Assignments []DeviceScopeSubsetAssignmentItem `json:"assignments"` VersionLock int `json:"versionLock"` }
ResponseDeviceScope represents the structure of the response for a specific computer prestage scope.
type ResponseDirectoryBinding ¶
type ResponseDirectoryBinding struct { ID int `xml:"id"` Name string `xml:"name"` Priority int `xml:"priority"` Domain string `xml:"domain"` Username string `xml:"username"` Password string `xml:"password"` ComputerOU string `xml:"computer_ou"` Type string `xml:"type"` }
Struct to capture the XML response for a single directory binding
type ResponseDirectoryBindingsList ¶
type ResponseDirectoryBindingsList struct { Size int `xml:"size"` DirectoryBinding []DirectoryBindingsListItem `xml:"directory_binding"` }
Struct to capture the XML response for directory bindings
type ResponseDiskEncryptionConfigurationCreatedAndUpdated ¶
type ResponseDiskEncryptionConfigurationCreatedAndUpdated struct {
ID int `xml:"id"`
}
type ResponseDiskEncryptionConfigurationsList ¶
type ResponseDiskEncryptionConfigurationsList struct { Size int `xml:"size"` DiskEncryptionConfiguration []DiskEncryptionConfigurationsListItem `xml:"disk_encryption_configuration"` }
Struct to capture the XML response for disk encryption configurations
type ResponseDistributionPointsList ¶
type ResponseDistributionPointsList struct { Size int `xml:"size"` DistributionPoint DistributionPointListItem `xml:"distribution_point"` }
Struct to capture the XML response for distribution points list
type ResponseDockItemsList ¶
type ResponseDockItemsList struct { Size int `xml:"size"` DockItems []DockItemListItem `xml:"dock_item"` }
Struct to capture the XML response for dock items list
type ResponseEbooksList ¶
type ResponseEbooksList struct { Size int `xml:"size"` Ebooks EBookListItem `xml:"ebook"` }
Struct to capture the XML response for ebooks list
type ResponseEnrollmentCustomizationList ¶
type ResponseEnrollmentCustomizationList struct { TotalCount int `json:"totalCount"` Results []ResourceEnrollmentCustomization }
type ResponseIBeaconsList ¶
type ResponseIBeaconsList struct { Size int `xml:"size"` IBeacons []ResourceIBeacons `xml:"ibeacon"` }
ResponseIBeaconsList represents the response structure for a list of iBeacons.
type ResponseJCDS2List ¶
type ResponseJCDS2List struct {
Files []JCDSFileListItem `json:"files" xml:"files"`
}
type ResponseJamfProInformation ¶
type ResponseJamfProInformation struct { VppTokenEnabled *bool `json:"vppTokenEnabled,omitempty"` DepAccountEnabled *bool `json:"depAccountEnabled,omitempty"` ByodEnabled *bool `json:"byodEnabled,omitempty"` UserMigrationEnabled *bool `json:"userMigrationEnabled,omitempty"` CloudDeploymentsEnabled *bool `json:"cloudDeploymentsEnabled,omitempty"` PatchEnabled *bool `json:"patchEnabled,omitempty"` SsoSamlEnabled *bool `json:"ssoSamlEnabled,omitempty"` SmtpEnabled *bool `json:"smtpEnabled,omitempty"` }
type ResponseJamfProVersion ¶
type ResponseJamfProVersion struct {
Version *string `json:"Version,omitempty"`
}
type ResponseLDAPServersList ¶
type ResponseLDAPServersList struct { Size int `xml:"size"` LDAPServers []LDAPServersListItem `xml:"ldap_server"` }
type ResponseLicensedSoftwareList ¶
type ResponseLicensedSoftwareList struct {
LicensedSoftware []LicensedSoftwareListItem `xml:"licensed_software"`
}
ResponseLicensedSoftwareList represents the response for a list of licensed software.
type ResponseMacApplicationsList ¶
type ResponseMacApplicationsList struct {
MacApplications []MacApplicationsListItem `xml:"mac_application"`
}
type ResponseMacOSConfigurationProfileCreationUpdate ¶
type ResponseMacOSConfigurationProfileCreationUpdate struct { XMLName xml.Name `xml:"os_x_configuration_profile"` ID int `xml:"id"` }
ResponseMacOSConfigurationProfileCreation represents the response structure for a new macOS configuration profile.
type ResponseMacOSConfigurationProfileList ¶
type ResponseMacOSConfigurationProfileList struct { Size int `xml:"size,omitempty"` Results []MacOSConfigurationProfileListItem `xml:"os_x_configuration_profile,omitempty"` }
ResponseMacOSConfigurationProfileList represents the response structure for a list of macOS configuration profiles.
type ResponseMobileDeviceApplicationsList ¶
type ResponseMobileDeviceApplicationsList struct {
MobileDeviceApplications []MobileDeviceApplicationsListItem `xml:"mobile_device_application"`
}
ResponseMobileDeviceApplicationsList represents the response for a list of mobile device applications.
type ResponseMobileDeviceConfigurationProfilesList ¶
type ResponseMobileDeviceConfigurationProfilesList struct {
ConfigurationProfiles []MobileDeviceConfigurationProfilesListItem `xml:"configuration_profile"`
}
ResponseMobileDeviceConfigurationProfilesList represents the response for a list of mobile device configuration profiles.
type ResponseMobileDeviceEnrollmentProfilesList ¶
type ResponseMobileDeviceEnrollmentProfilesList struct { Size int `xml:"size"` MobileDeviceEnrollmentProfile []MobileDeviceEnrollmentProfilesListItem `xml:"mobile_device_enrollment_profile"` }
ResponseMobileDeviceEnrollmentProfilesList represents the response for a list of mobile device enrollment profiles.
type ResponseMobileDeviceExtensionAttributesList ¶
type ResponseMobileDeviceExtensionAttributesList struct { Size int `xml:"size"` MobileDeviceExtensionAttribute []MobileDeviceExtensionAttributesListItem `xml:"mobile_device_extension_attribute"` }
ResponseMobileDeviceExtensionAttributesList represents the response for a list of mobile device extension attributes.
type ResponseMobileDeviceGroupsList ¶
type ResponseMobileDeviceGroupsList struct { Size int `xml:"size"` MobileDeviceGroup []MobileDeviceGroupsListItem `xml:"mobile_device_group"` }
ResponseMobileDeviceGroupsList represents the response for a list of mobile device groups.
type ResponseMobileDeviceList ¶
type ResponseMobileDeviceList struct {
MobileDevices []MobileDeviceListItem `xml:"mobile_device"`
}
ResponseMobileDevicesList represents the structure for a list of mobile devices.
type ResponseMobileDevicePrestagesList ¶
type ResponseMobileDevicePrestagesList struct { TotalCount int `json:"totalCount"` Results []ResourceMobileDevicePrestage `json:"results"` }
type ResponseMobileDeviceProvisioningProfilesList ¶
type ResponseMobileDeviceProvisioningProfilesList struct { Size int `xml:"size"` MobileDeviceProvisioningProfile []MobileDeviceProvisioningProfilesListItem `xml:"mobile_device_provisioning_profile"` }
ResponseMobileDeviceProvisioningProfilesList represents the response for a list of mobile device provisioning profiles.
type ResponseNetworkSegmentList ¶
type ResponseNetworkSegmentList struct { Size int `xml:"size"` Results []struct { ID int `xml:"id"` Name string `xml:"name"` StartingAddress string `xml:"starting_address"` EndingAddress string `xml:"ending_address"` } `xml:"network_segment"` }
ResponseNetworkSegmentList represents the response for a list of Network Segments.
type ResponsePackageInfoShared ¶
type ResponsePackageInfoShared struct {}
type ResponsePackageListV1 ¶
type ResponsePackageListV1 struct {
Results []ResponsePackageInfoShared
}
type ResponsePackageV2 ¶
type ResponsePackageV2 struct { DisplayName string `json:"displayName"` ReleaseHistoryUrl string `json:"releaseHistoryUrl"` Artifacts []ResponsePackageInfoShared }
type ResponsePatchSoftwareTitleConfigurationList ¶
type ResponsePatchSoftwareTitleConfigurationList struct {
Results []ResourcePatchSoftwareTitleConfiguration
}
type ResponsePoliciesList ¶
type ResponsePoliciesList struct { Size int `xml:"size"` Policy []PolicyItem `xml:"policy"` }
Policies List Structs
type ResponsePrinterCreateAndUpdate ¶
type ResponsePrinterCreateAndUpdate struct {
ID int `xml:"id"`
}
type ResponsePrintersList ¶
type ResponsePrintersList struct { Size int `xml:"size"` Printer []PrintersListItem `xml:"printer"` }
ResponsePrintersList represents the response for a list of printers.
type ResponseRecoveryLockPassword ¶
type ResponseRecoveryLockPassword struct {
RecoveryLockPassword string `json:"recoveryLockPassword"`
}
type ResponseRemovableMacAddressesList ¶
type ResponseRemovableMacAddressesList struct { Size int `xml:"size"` RemovableMac []ResourceRemovableMacAddress `xml:"removable_mac_address"` }
Structs for Removable MAC Addresses List
type ResponseRestrictedSoftwaresList ¶
type ResponseRestrictedSoftwaresList struct { Size int `xml:"size"` RestrictedSoftware []RestrictedSoftwareListItem `xml:"restricted_software_title"` }
Structs for Restricted Software List
type ResponseSSOFailover ¶
type ResponseScriptCreate ¶
Response format struct for create function
type ResponseScriptsList ¶
type ResponseScriptsList struct { Size int `json:"totalCount"` Results []ResourceScript `json:"results"` }
Struct for paginated response for scripts
type ResponseSelfServiceBrandingList ¶
type ResponseSelfServiceBrandingList struct { TotalCount int `json:"totalCount"` Results []ResourceSelfServiceBrandingDetail `json:"results"` }
ResponseSelfServiceBranding is the structure that holds the list of self-service branding configurations for macOS.
type ResponseSitesList ¶
type ResponseSitesList struct { Size int `xml:"size"` Site []SharedResourceSite `xml:"site"` }
type ResponseSoftwareUpdateServersList ¶
type ResponseSoftwareUpdateServersList struct { XMLName xml.Name `xml:"software_update_servers"` Size int `xml:"size"` Servers []SoftwareUpdateServersListItem `xml:"software_update_server"` }
Structs for Software Update Servers Response
type ResponseSsoSubsetEnrollmentCustomizationDependencyList ¶
type ResponseSsoSubsetEnrollmentCustomizationDependencyList struct {
Dependencies []SsoSubsetSubsetEnrollmentCustomizationDependency
}
type ResponseUploadIcon ¶
ResponseUploadIcon is the response structure for uploading icons.
type ResponseUserExtensionAttributesList ¶
type ResponseUserExtensionAttributesList struct { XMLName xml.Name `xml:"user_extension_attributes"` Size int `xml:"size"` UserExtensionAttributes []UserExtensionAttributesListItem `xml:"user_extension_attribute"` }
type ResponseUserGroupsList ¶
type ResponseUserGroupsList struct { Size int `xml:"size"` UserGroup []UserGroupsListItem `xml:"user_group"` }
ResponseUserGroupsList represents the structure for a list of user groups.
type ResponseUsersList ¶
type ResponseUsersList struct { Size int `xml:"size"` Users []UsersListItem `xml:"user"` }
type ResponseVPPAccountsList ¶
type ResponseVPPAccountsList struct { Size int `xml:"size"` Accounts []VPPAccountsListItem `xml:"vpp_account"` }
Structs for VPP Accounts Response
type ResponseVPPAssignmentsList ¶
type ResponseVPPAssignmentsList struct {
VPPAssignments []VPPAssignmentsListItem `xml:"vpp_assignment"`
}
Struct for the list of VPP assignments
type ResponseVolumePurchasingContentList ¶
type ResponseVolumePurchasingContentList struct { TotalCount int `json:"totalCount"` Results []VolumePurchasingSubsetContent `json:"results"` }
type ResponseVolumePurchasingList ¶
type ResponseVolumePurchasingList struct { TotalCount int `json:"totalCount"` Results []ResourceVolumePurchasingLocation `json:"results"` }
ResponseVolumePurchasingList represents the paginated response for volume purchasing locations.
type ResponseVolumePurchasingLocationCreate ¶
type ResponseVolumePurchasingLocationCreate struct { ID string `json:"id"` Href string `json:"href"` }
VolumePurchasingLocationCreateResponse represents the response for creating a volume purchasing location.
type ResponseVolumePurchasingSubscriptionsList ¶
type ResponseVolumePurchasingSubscriptionsList struct { TotalCount *int `json:"totalCount,omitempty"` Results []ResourceVolumePurchasingSubscription `json:"results,omitempty"` }
type ResponseWebhooksList ¶
type ResponseWebhooksList struct { Size int `xml:"size"` Webhooks []WebhooksListItem `xml:"webhook"` }
Structs for Webhooks Response
type RestrictedSoftwareSubsetGeneral ¶
type RestrictedSoftwareSubsetGeneral struct { ID int `xml:"id"` Name string `xml:"name"` ProcessName string `xml:"process_name"` MatchExactProcessName bool `xml:"match_exact_process_name"` SendNotification bool `xml:"send_notification"` KillProcess bool `xml:"kill_process"` DeleteExecutable bool `xml:"delete_executable"` DisplayMessage string `xml:"display_message"` Site SharedResourceSite `xml:"site"` }
type RestrictedSoftwareSubsetScope ¶
type RestrictedSoftwareSubsetScope struct { AllComputers bool `xml:"all_computers"` Computers []RestrictedSoftwareSubsetScopeComputer `xml:"computers>computer"` ComputerGroups []RestrictedSoftwareSubsetScopeComputerGroup `xml:"computer_groups>computer_group"` Buildings []RestrictedSoftwareSubsetScopeBuilding `xml:"buildings>building"` Departments []RestrictedSoftwareSubsetScopeDepartment `xml:"departments>department"` Exclusions RestrictedSoftwareSubsetScopeExclusions `xml:"exclusions"` }
type RestrictedSoftwareSubsetScopeExclusions ¶
type RestrictedSoftwareSubsetScopeExclusions struct { Computers []RestrictedSoftwareSubsetScopeComputer `xml:"computers>computer"` ComputerGroups []RestrictedSoftwareSubsetScopeComputerGroup `xml:"computer_groups>computer_group"` Buildings []RestrictedSoftwareSubsetScopeBuilding `xml:"buildings>building"` Departments []RestrictedSoftwareSubsetScopeDepartment `xml:"departments>department"` Users []RestrictedSoftwareSubsetScopeUser `xml:"users>user"` }
type SharedAdvancedSearchContainerDisplayField ¶
type SharedAdvancedSearchContainerDisplayField struct {}
type SharedAdvancedSearchSubsetDisplayField ¶
type SharedAdvancedSearchSubsetDisplayField struct {
}type SharedContainerCriteria ¶
type SharedContainerCriteria struct {}
type SharedResourceCategory ¶
type SharedResourceCategory struct {}
type SharedResourceSelfServiceCategories ¶
type SharedResourceSelfServiceCategories struct {
}type SharedResourceSelfServiceCategory ¶
type SharedResourceSelfServiceCategory struct {}
type SharedResourceSelfServiceIcon ¶
type SharedResourceSelfServiceIcon struct {}
type SharedResourceSite ¶
type SharedResourceSite struct {}
type SharedResourceSiteProAPI ¶
type SharedResourceSiteProAPI struct {}
type SharedSubsetCriteria ¶
type SharedSubsetCriteria struct {}
type StandardPaginatedResponse ¶
type StandardPaginatedResponse struct { Size int `json:"totalCount"` Results []interface{} `json:"results"` }
type UserGroupSubsetUserItem ¶
type UserGroupSubsetUserItem struct { ID int `xml:"id"` Username string `xml:"username"` FullName string `xml:"full_name"` PhoneNumber string `xml:"phone_number,omitempty"` EmailAddress string `xml:"email_address"` }
UserGroupUserItem represents a user of a user group.
type UserGroupsListItem ¶
type UserSubsetExtensionAttributes ¶
type UserSubsetExtensionAttributes struct {
Attributes []UserSubsetExtensionAttribute `xml:"extension_attribute"`
}
type UserSubsetLDAPServer ¶
type UserSubsetLinks ¶
type UserSubsetLinks struct { Computers []UserSubsetLinksListItem `xml:"computers>computer"` Peripherals []UserSubsetLinksListItem `xml:"peripherals>peripheral"` MobileDevices []UserSubsetLinksListItem `xml:"mobile_devices>mobile_device"` VPPAssignments []UserSubsetLinksListItem `xml:"vpp_assignments>vpp_assignment"` TotalVPPCodeCount int `xml:"total_vpp_code_count"` }
type UserSubsetLinksListItem ¶
type UsersListItem ¶
type VPPAccountsListItem ¶
type VPPAssignmentSubsetScope ¶
type VPPAssignmentSubsetScope struct { AllJSSUsers bool `xml:"all_jss_users"` JSSUsers []VPPSubsetVPPUser `xml:"jss_users>user"` JSSUserGroups []VPPSubsetVPPUserGroup `xml:"jss_user_groups>user_group"` Limitations VPPAssignmentSubsetScopeLimitations `xml:"limitations"` Exclusions VPPAssignmentSubsetScopeExclusions `xml:"exclusions"` }
type VPPAssignmentSubsetScopeExclusions ¶
type VPPAssignmentSubsetScopeExclusions struct { JSSUsers []VPPSubsetVPPUser `xml:"jss_users>user"` UserGroups []VPPSubsetVPPUserGroup `xml:"user_groups>user_group"` JSSUserGroups []VPPSubsetVPPUserGroup `xml:"jss_user_groups>user_group"` }
type VPPAssignmentSubsetScopeLimitations ¶
type VPPAssignmentSubsetScopeLimitations struct {
UserGroups []VPPSubsetVPPUserGroup `xml:"user_groups>user_group"`
}
type VPPAssignmentsListItem ¶
type VPPSubsetVPPApp ¶
type VPPSubsetVPPUser ¶
Struct for VPP user
type VPPSubsetVPPUserGroup ¶
Struct for VPP user group
type VolumePurchasingLocationSubsetBody ¶
type VolumePurchasingLocationSubsetBody struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` AppleID string `json:"appleId,omitempty"` OrganizationName string `json:"organizationName,omitempty"` TokenExpiration string `json:"tokenExpiration,omitempty"` CountryCode string `json:"countryCode,omitempty"` LocationName string `json:"locationName,omitempty"` ClientContextMismatch bool `json:"clientContextMismatch,omitempty"` AutomaticallyPopulatePurchasedContent bool `json:"automaticallyPopulatePurchasedContent,omitempty"` SendNotificationWhenNoLongerAssigned bool `json:"sendNotificationWhenNoLongerAssigned,omitempty"` AutoRegisterManagedUsers bool `json:"autoRegisterManagedUsers,omitempty"` SiteID string `json:"siteId,omitempty"` LastSyncTime string `json:"lastSyncTime,omitempty"` TotalPurchasedLicenses int `json:"totalPurchasedLicenses,omitempty"` TotalUsedLicenses int `json:"totalUsedLicenses,omitempty"` ServiceToken string `json:"serviceToken,omitempty"` }
VolumePurchasingLocation represents an individual volume purchasing location.
type VolumePurchasingSubsetContent ¶
type VolumePurchasingSubsetContent struct { Name string `json:"name"` LicenseCountTotal int `json:"licenseCountTotal"` LicenseCountInUse int `json:"licenseCountInUse"` LicenseCountReported int `json:"licenseCountReported"` IconURL string `json:"iconUrl"` DeviceTypes []string `json:"deviceTypes"` ContentType string `json:"contentType"` PricingParam string `json:"pricingParam"` AdamId string `json:"adamId"` }
VolumePurchasingContent represents the content associated with a volume purchasing location.
type WebhooksListItem ¶
Source Files
¶
- api_client.go
- classicapi_accounts.go
- classicapi_accounts_groups.go
- classicapi_activation_code.go
- classicapi_advanced_computer_searches.go
- classicapi_advanced_mobile_searches.go
- classicapi_advanced_user_searches.go
- classicapi_allowed_file_extensions.go
- classicapi_byoprofiles.go
- classicapi_classes.go
- classicapi_computer_checkin.go
- classicapi_computer_extension_attributes.go
- classicapi_computer_groups.go
- classicapi_computer_invitations.go
- classicapi_computers.go
- classicapi_directory_bindings.go
- classicapi_disk_encryption_configurations.go
- classicapi_dock_items.go
- classicapi_ebooks.go
- classicapi_file_share_distribution_points.go
- classicapi_file_uploads.go
- classicapi_gsx_connection.go
- classicapi_ibeacons.go
- classicapi_ldap_servers.go
- classicapi_licensed_software.go
- classicapi_mac_applications.go
- classicapi_macos_configuration_profiles.go
- classicapi_mobile_device_applications.go
- classicapi_mobile_device_configuration_profiles.go
- classicapi_mobile_device_enrollment_profiles.go
- classicapi_mobile_device_extension_attributes.go
- classicapi_mobile_device_groups.go
- classicapi_mobile_device_provisioning_profiles.go
- classicapi_mobile_devices.go
- classicapi_network_segments.go
- classicapi_patch_policies.go
- classicapi_policies.go
- classicapi_printers.go
- classicapi_removeable_mac_addresses.go
- classicapi_restricted_software.go
- classicapi_sites.go
- classicapi_smtp_server.go
- classicapi_software_update_servers.go
- classicapi_user_extension_attributes.go
- classicapi_usergroups.go
- classicapi_users.go
- classicapi_vpp_accounts.go
- classicapi_vpp_assignments.go
- classicapi_webhooks.go
- jamfproapi_account_preferences.go
- jamfproapi_aduetokensettings.go
- jamfproapi_api_integrations.go
- jamfproapi_api_role_privileges.go
- jamfproapi_api_roles.go
- jamfproapi_buildings.go
- jamfproapi_cache_settings.go
- jamfproapi_categories.go
- jamfproapi_certificate_authority.go
- jamfproapi_client_checkin.go
- jamfproapi_cloud_azure.go
- jamfproapi_cloud_distribution_point.go
- jamfproapi_cloud_ldap.go
- jamfproapi_cloud_ldap_keystore.go
- jamfproapi_computer_inventory_collection_settings.go
- jamfproapi_computer_inventory_detail.go
- jamfproapi_computer_prestages.go
- jamfproapi_conditional_access.go
- jamfproapi_csa.go
- jamfproapi_departments.go
- jamfproapi_device_communication_settings.go
- jamfproapi_device_enrollments.go
- jamfproapi_dock_items.go
- jamfproapi_enrollment_customizations.go
- jamfproapi_icon.go
- jamfproapi_jamf_pro_information.go
- jamfproapi_jamf_pro_server_url.go
- jamfproapi_jamf_pro_version.go
- jamfproapi_jamf_protect.go
- jamfproapi_jamf_sso_failover.go
- jamfproapi_jcds2.go
- jamfproapi_local_admin_password.go
- jamfproapi_mobile_device_groups.go
- jamfproapi_mobile_device_prestages.go
- jamfproapi_package.go
- jamfproapi_patch_software_title_configurations.go
- jamfproapi_scripts.go
- jamfproapi_self_service_branding_macos.go
- jamfproapi_smtp_server.go
- jamfproapi_sso_certificate.go
- jamfproapi_sso_settings.go
- jamfproapi_venafi.go
- jamfproapi_volume_purchasing_locations.go
- jamfproapi_volume_purchasing_subscriptions.go
- shared_constants.go
- shared_error_messages.go
- shared_logging.go
- shared_models.go
- util_pagination.go