jamfpro

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 11 Imported by: 0

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

View Source
const UriClientCheckinSettings = "/api/v3/check-in"

Variables

View Source
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 AccountSubsetLdapServer struct {
	ID   int    `json:"id,omitempty" xml:"id,omitempty"`
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

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 AccountsListSubsetUsers struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type ActiveCertificateAuthoritySubsetSignature

type ActiveCertificateAuthoritySubsetSignature struct {
	Algorithm    string `json:"algorithm"`
	AlgorithmOID string `json:"algorithmOid"`
	Value        string `json:"value"`
}

type AdvancedComputerSearchContainerComputers

type AdvancedComputerSearchContainerComputers struct {
	Size     int
	Computer AdvancedComputerSearchSubsetComputer `xml:"computers"`
}

type AdvancedComputerSearchListItem

type AdvancedComputerSearchListItem struct {
	ID   int    `json:"id,omitempty" xml:"id"`
	Name string `json:"name,omitempty" xml:"name"`
}

type AdvancedComputerSearchSubsetComputer

type AdvancedComputerSearchSubsetComputer struct {
	ID           int    `xml:"id"`
	Name         string `xml:"name"`
	UDID         string `xml:"udid,omitempty"`
	ComputerName string `xml:"Computer_Name,omitempty"`
}

type AdvancedMobileSearchContainerDevices

type AdvancedMobileSearchContainerDevices struct {
	Size   int                              `xml:"size,omitempty"`
	Device AdvancedMobileSearchSubsetDevice `xml:"mobile_device,omitempty"`
}

type AdvancedMobileSearchListItem

type AdvancedMobileSearchListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type AdvancedMobileSearchSubsetDevice

type AdvancedMobileSearchSubsetDevice struct {
	ID          int    `xml:"id,omitempty"`
	Name        string `xml:"name,omitempty"`
	UDID        string `xml:"udid,omitempty"`
	DisplayName string `xml:"Display_Name,omitempty"`
}

type AdvancedUserSearchContainerUsers

type AdvancedUserSearchContainerUsers struct {
	Size int                            `xml:"size,omitempty"`
	User []AdvancedUserSearchSubsetUser `xml:"user,omitempty"`
}

type AdvancedUserSearchListItem

type AdvancedUserSearchListItem struct {
	XMLName xml.Name `xml:"advanced_user_search"`
	ID      int      `xml:"id"`
	Name    string   `xml:"name"`
}

type AdvancedUserSearchSubsetUser

type AdvancedUserSearchSubsetUser struct {
	ID       int    `xml:"id,omitempty"`
	Name     string `xml:"name,omitempty"`
	Username string `xml:"Username,omitempty"`
}

type BYOProfileListItem

type BYOProfileListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 ClassSubsetAppleTVs struct {
	Name            string `xml:"name,omitempty"`
	UDID            string `xml:"udid,omitempty"`
	WifiMacAddress  string `xml:"wifi_mac_address,omitempty"`
	DeviceID        string `xml:"device_id,omitempty"`
	AirplayPassword string `xml:"airplay_password,omitempty"`
}

type ClassSubsetMeetingTime

type ClassSubsetMeetingTime struct {
	Days      string `xml:"days,omitempty"`
	StartTime int    `xml:"start_time,omitempty"`
	EndTime   int    `xml:"end_time,omitempty"`
}

type ClassSubsetMobileDeviceGroup

type ClassSubsetMobileDeviceGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type ClassSubsetMobileDeviceGroupID

type ClassSubsetMobileDeviceGroupID struct {
	ID int `xml:"id,omitempty"`
}

type ClassSubsetMobileDevices

type ClassSubsetMobileDevices struct {
	Name           string `xml:"name,omitempty"`
	UDID           string `xml:"udid,omitempty"`
	WifiMacAddress string `xml:"wifi_mac_address,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 NewClient added in v0.0.2

func NewClient(config http_client.Config) (*Client, error)

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

CreateAdvancedComputerSearch creates a new advanced computer search.

func (*Client) CreateAdvancedMobileDeviceSearch

CreateAdvancedMobileDeviceSearch creates a new advanced mobile device search with the given ID.

func (*Client) CreateAdvancedUserSearch

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

CreateDiskEncryptionConfiguration creates a new disk encryption configuration.

func (*Client) CreateDistributionPoint

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

func (c *Client) DeleteAccountByID(id int) error

DeleteAccountByID deletes an Account using its ID

func (*Client) DeleteAccountByName

func (c *Client) DeleteAccountByName(name string) error

DeleteAccountByName deletes an Account using its name.

func (*Client) DeleteAccountGroupByID

func (c *Client) DeleteAccountGroupByID(id int) error

DeleteAccountGroupByID deletes an Account Group using its ID.

func (*Client) DeleteAccountGroupByName

func (c *Client) DeleteAccountGroupByName(name string) error

DeleteAccountGroupByName deletes an Account Group using its name.

func (*Client) DeleteAdvancedComputerSearchByID

func (c *Client) DeleteAdvancedComputerSearchByID(id int) error

DeleteAdvancedComputerSearchByID deletes an advanced computer search by its ID.

func (*Client) DeleteAdvancedComputerSearchByName

func (c *Client) DeleteAdvancedComputerSearchByName(name string) error

DeleteAdvancedComputerSearchByName deletes an advanced computer search by its name.

func (*Client) DeleteAdvancedMobileDeviceSearchByID

func (c *Client) DeleteAdvancedMobileDeviceSearchByID(id int) error

DeleteAdvancedMobileDeviceSearchByID deletes an existing advanced mobile device search by its ID.

func (*Client) DeleteAdvancedMobileDeviceSearchByName

func (c *Client) DeleteAdvancedMobileDeviceSearchByName(name string) error

DeleteAdvancedMobileDeviceSearchByName deletes an existing advanced mobile device search by its name.

func (*Client) DeleteAdvancedUserSearchByID

func (c *Client) DeleteAdvancedUserSearchByID(id int) error

DeleteAdvancedUserSearchByID deletes an advanced user search by its ID.

func (*Client) DeleteAdvancedUserSearchByName

func (c *Client) DeleteAdvancedUserSearchByName(name string) error

DeleteAdvancedUserSearchByName deletes an advanced user search by its name.

func (*Client) DeleteAllowedFileExtensionByID

func (c *Client) DeleteAllowedFileExtensionByID(id int) error

DeleteAllowedFileExtensionByID deletes an existing allowed file extension by ID

func (*Client) DeleteAllowedFileExtensionByName

func (c *Client) DeleteAllowedFileExtensionByName(name string) error

DeleteAllowedFileExtensionByNameByID deletes an existing allowed file extension by resolving its name to an ID

func (*Client) DeleteApiIntegrationByID

func (c *Client) DeleteApiIntegrationByID(id int) error

DeleteApiIntegrationByID deletes an API integration by its ID

func (*Client) DeleteApiIntegrationByName

func (c *Client) DeleteApiIntegrationByName(name string) error

DeleteApiIntegrationByName deletes an API integration by its display name

func (*Client) DeleteAttachmentByIDAndComputerID

func (c *Client) DeleteAttachmentByIDAndComputerID(computerID, attachmentID string) error

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

func (c *Client) DeleteBYOProfileByID(id int) error

DeleteBYOProfileByID deletes a BYO profile by its ID.

func (*Client) DeleteBYOProfileByName

func (c *Client) DeleteBYOProfileByName(name string) error

DeleteBYOProfileByName deletes a BYO profile by its name.

func (*Client) DeleteBuildingByID

func (c *Client) DeleteBuildingByID(id string) error

DeleteBuildingByID deletes a building in Jamf Pro by its ID.

func (*Client) DeleteBuildingByName

func (c *Client) DeleteBuildingByName(name string) error

DeleteBuildingByNameByID deletes a building in Jamf Pro by its name.

func (*Client) DeleteCSATokenExchange

func (c *Client) DeleteCSATokenExchange() error

func (*Client) DeleteCategoryByID

func (c *Client) DeleteCategoryByID(id string) error

DeleteCategoryByID deletes a category by its ID

func (*Client) DeleteCategoryByName

func (c *Client) DeleteCategoryByName(name string) error

DeleteCategoryByNameByID deletes a category by its name after inferring its ID.

func (*Client) DeleteClassByID

func (c *Client) DeleteClassByID(id int) error

DeleteClassByID deletes an existing class with the given ID.

func (*Client) DeleteClassByName

func (c *Client) DeleteClassByName(name string) error

DeleteClassByName deletes a class by its name.

func (*Client) DeleteCloudIdentityProviderByID

func (c *Client) DeleteCloudIdentityProviderByID(id string) error

DeleteCloudIdentityProviderById deletes a Cloud Identity Provider by its ID.

func (*Client) DeleteComputerByID

func (c *Client) DeleteComputerByID(id int) error

DeleteComputerByID deletes an existing Computer by its ID

func (*Client) DeleteComputerByName

func (c *Client) DeleteComputerByName(name string) error

DeleteComputerByName deletes an existing computer by its name

func (*Client) DeleteComputerExtensionAttributeByID

func (c *Client) DeleteComputerExtensionAttributeByID(id int) error

DeleteComputerExtensionAttributeByID deletes a computer extension attribute by its ID.

func (*Client) DeleteComputerExtensionAttributeByNameByID

func (c *Client) DeleteComputerExtensionAttributeByNameByID(name string) error

DeleteComputerExtensionAttributeByNameByID deletes a computer extension attribute by its name.

func (*Client) DeleteComputerGroupByID

func (c *Client) DeleteComputerGroupByID(id int) error

DeleteComputerGroupByID deletes a computer group by its ID.

func (*Client) DeleteComputerGroupByName

func (c *Client) DeleteComputerGroupByName(name string) error

DeleteComputerGroupByName deletes a computer group by its name.

func (*Client) DeleteComputerInventoryByID

func (c *Client) DeleteComputerInventoryByID(id string) error

DeleteComputerInventoryByID deletes a computer's inventory information by its ID.

func (*Client) DeleteComputerInventoryCollectionSettingsCustomPathByID

func (c *Client) DeleteComputerInventoryCollectionSettingsCustomPathByID(id string) error

DeleteComputerInventoryCollectionSettingsCustomPathByID deletes a custom path by ID.

func (*Client) DeleteComputerInvitationByID

func (c *Client) DeleteComputerInvitationByID(id int) error

DeleteComputerInvitationByID deletes a computer invitation by its ID.

func (*Client) DeleteComputerPrestageByID

func (c *Client) DeleteComputerPrestageByID(id string) error

DeleteComputerPrestageByID deletes a computer prestage by its ID

func (*Client) DeleteComputerPrestageByName

func (c *Client) DeleteComputerPrestageByName(name string) error

DeleteComputerPrestageByNameByID deletes a computer prestage by its name.

func (*Client) DeleteDepartmentByID

func (c *Client) DeleteDepartmentByID(id string) error

DeleteDepartmentByID Deletes department with given id

func (*Client) DeleteDepartmentByName

func (c *Client) DeleteDepartmentByName(targetName string) error

DeleteDepartmentByName deletes a department with given name, leverages GetDepartmentByName

func (*Client) DeleteDirectoryBindingByID

func (c *Client) DeleteDirectoryBindingByID(id int) error

DeleteDirectoryBindingByID deletes a directory binding by its ID.

func (*Client) DeleteDirectoryBindingByName

func (c *Client) DeleteDirectoryBindingByName(name string) error

DeleteDirectoryBindingByName deletes a directory binding by its name.

func (*Client) DeleteDiskEncryptionConfigurationByID

func (c *Client) DeleteDiskEncryptionConfigurationByID(id int) error

DeleteDiskEncryptionConfigurationByID deletes a disk encryption configuration by its ID.

func (*Client) DeleteDiskEncryptionConfigurationByName

func (c *Client) DeleteDiskEncryptionConfigurationByName(name string) error

DeleteDiskEncryptionConfigurationByName deletes a disk encryption configuration by its name.

func (*Client) DeleteDistributionPointByID

func (c *Client) DeleteDistributionPointByID(id int) error

DeleteDistributionPointByID deletes a distribution point by its ID.

func (*Client) DeleteDistributionPointByName

func (c *Client) DeleteDistributionPointByName(name string) error

DeleteDistributionPointByName deletes a distribution point by its name.

func (*Client) DeleteDockItemByID

func (c *Client) DeleteDockItemByID(id int) error

DeleteDockItemsByID deletes a dock item by its ID.

func (*Client) DeleteDockItemByName

func (c *Client) DeleteDockItemByName(name string) error

DeleteDockItemsByName deletes a dock item by its name.

func (*Client) DeleteEbookByID

func (c *Client) DeleteEbookByID(id int) error

DeleteEbookByID deletes a ebook by its ID.

func (*Client) DeleteEbookByName

func (c *Client) DeleteEbookByName(name string) error

DeleteEbookByName deletes a ebook by its name.

func (*Client) DeleteEnrollmentCustomizationByID

func (c *Client) DeleteEnrollmentCustomizationByID(id string) error

Deletes resource enrollment customization by id

func (*Client) DeleteIBeaconByID

func (c *Client) DeleteIBeaconByID(id int) error

DeleteIBeaconByID deletes an iBeacon by its ID in Jamf Pro.

func (*Client) DeleteIBeaconByName

func (c *Client) DeleteIBeaconByName(name string) error

DeleteIBeaconByName deletes an iBeacon by its name in Jamf Pro.

func (*Client) DeleteJamfApiRoleByID

func (c *Client) DeleteJamfApiRoleByID(id string) error

DeleteJamfApiRoleByID deletes a Jamf API role by its ID

func (*Client) DeleteJamfApiRoleByName

func (c *Client) DeleteJamfApiRoleByName(name string) error

DeleteJamfApiRoleByName deletes a Jamf API role by its display name

func (*Client) DeleteJamfProtectIntegration

func (c *Client) DeleteJamfProtectIntegration() error

func (*Client) DeleteLDAPServerByID

func (c *Client) DeleteLDAPServerByID(id int) error

DeleteLDAPServerByID deletes an LDAP server identified by its ID.

func (*Client) DeleteLDAPServerByName

func (c *Client) DeleteLDAPServerByName(name string) error

DeleteLDAPServerByName deletes an LDAP server identified by its name.

func (*Client) DeleteLicensedSoftwareByID

func (c *Client) DeleteLicensedSoftwareByID(id int) error

DeleteLicensedSoftwareByID deletes a licensed software item by its ID.

func (*Client) DeleteLicensedSoftwareByName

func (c *Client) DeleteLicensedSoftwareByName(name string) error

DeleteLicensedSoftwareByName deletes a licensed software item by its name.

func (*Client) DeleteMacApplicationByID

func (c *Client) DeleteMacApplicationByID(id int) error

DeleteMacApplicationByID deletes a MacApplication by its ID.

func (*Client) DeleteMacApplicationByName

func (c *Client) DeleteMacApplicationByName(name string) error

DeleteMacApplicationByName deletes a MacApplication by its name.

func (*Client) DeleteMacOSConfigurationProfileByID

func (c *Client) DeleteMacOSConfigurationProfileByID(id int) error

DeleteMacOSConfigurationProfileByID deletes a macOS Configuration Profile by its ID from the Jamf Pro server.

func (*Client) DeleteMacOSConfigurationProfileByName

func (c *Client) DeleteMacOSConfigurationProfileByName(name string) error

DeleteMacOSConfigurationProfileByName deletes a macOS Configuration Profile by its name from the Jamf Pro server.

func (*Client) DeleteMobileDeviceApplicationByBundleID

func (c *Client) DeleteMobileDeviceApplicationByBundleID(id string) error

DeleteMobileDeviceApplicationByBundleID deletes a mobile device application by its bundle ID from the Jamf Pro server.

func (*Client) DeleteMobileDeviceApplicationByBundleIDAndVersion

func (c *Client) DeleteMobileDeviceApplicationByBundleIDAndVersion(id string, version string) error

DeleteMobileDeviceApplicationByBundleIDAndVersion deletes a mobile device application by its bundle ID and version from the Jamf Pro server.

func (*Client) DeleteMobileDeviceApplicationByName

func (c *Client) DeleteMobileDeviceApplicationByName(name string) error

DeleteMobileDeviceApplicationByName deletes a mobile device application by its name from the Jamf Pro server.

func (*Client) DeleteMobileDeviceApplicationpByID

func (c *Client) DeleteMobileDeviceApplicationpByID(id int) error

DeleteMobileDeviceApplicationpByID deletes a mobile device application by its ID from the Jamf Pro server.

func (*Client) DeleteMobileDeviceByID

func (c *Client) DeleteMobileDeviceByID(id int) error

DeleteMobileDeviceByID deletes a mobile device by its ID.

func (*Client) DeleteMobileDeviceByName

func (c *Client) DeleteMobileDeviceByName(name string) error

DeleteMobileDeviceByName deletes a mobile device by its name.

func (*Client) DeleteMobileDeviceConfigurationProfileByID

func (c *Client) DeleteMobileDeviceConfigurationProfileByID(id int) error

DeleteMobileDeviceConfigurationProfileByID deletes a mobile device configuration profile by its ID from the Jamf Pro server.

func (*Client) DeleteMobileDeviceConfigurationProfileByName

func (c *Client) DeleteMobileDeviceConfigurationProfileByName(name string) error

DeleteMobileDeviceConfigurationProfileByName deletes a mobile device configuration profile by its name from the Jamf Pro server.

func (*Client) DeleteMobileDeviceEnrollmentProfileByID

func (c *Client) DeleteMobileDeviceEnrollmentProfileByID(id int) error

DeleteMobileDeviceEnrollmentProfileByID deletes a mobile device enrollment profile by its ID.

func (*Client) DeleteMobileDeviceEnrollmentProfileByInvitation

func (c *Client) DeleteMobileDeviceEnrollmentProfileByInvitation(invitation string) error

DeleteMobileDeviceEnrollmentProfileByInvitation deletes a mobile device enrollment profile by its invitation.

func (*Client) DeleteMobileDeviceEnrollmentProfileByName

func (c *Client) DeleteMobileDeviceEnrollmentProfileByName(name string) error

DeleteMobileDeviceEnrollmentProfileByName deletes a mobile device enrollment profile by its name.

func (*Client) DeleteMobileDeviceGroupByID

func (c *Client) DeleteMobileDeviceGroupByID(id int) error

DeleteMobileDeviceGroupByID deletes a mobile device group by its ID.

func (*Client) DeleteMobileDeviceGroupByName

func (c *Client) DeleteMobileDeviceGroupByName(name string) error

DeleteMobileDeviceGroupByName deletes a mobile device group by its name.

func (*Client) DeleteMobileDevicePrestageByID

func (c *Client) DeleteMobileDevicePrestageByID(id string) error

DeleteMobileDevicePrestageByID a mobile prestage at the given id

func (*Client) DeleteMobileDeviceProvisioningProfileByID

func (c *Client) DeleteMobileDeviceProvisioningProfileByID(id int) error

DeleteMobileDeviceProvisioningProfileByID deletes a mobile device provisioning profile by ID

func (*Client) DeleteMobileDeviceProvisioningProfileByName

func (c *Client) DeleteMobileDeviceProvisioningProfileByName(name string) error

DeleteMobileDeviceProvisioningProfileByName deletes a mobile device provisioning profile by Name

func (*Client) DeleteMobileDeviceProvisioningProfileByUUID

func (c *Client) DeleteMobileDeviceProvisioningProfileByUUID(uuid string) error

DeleteMobileDeviceProvisioningProfileByUUID deletes a mobile device provisioning profile by UUID

func (*Client) DeleteMobileExtensionAttributeByID

func (c *Client) DeleteMobileExtensionAttributeByID(id int) error

DeleteMobileExtensionAttributeByID deletes a mobile extension attribute by its ID.

func (*Client) DeleteMobileExtensionAttributeByName

func (c *Client) DeleteMobileExtensionAttributeByName(name string) error

DeleteMobileExtensionAttributeByName deletes a mobile extension attribute by its name.

func (*Client) DeleteMultipleBuildingsByID

func (c *Client) DeleteMultipleBuildingsByID(ids []string) error

DeleteMultipleBuildingsByID deletes multiple buildings in Jamf Pro by their IDs.

func (*Client) DeleteMultipleCategoriesByID

func (c *Client) DeleteMultipleCategoriesByID(ids []string) error

DeleteMultipleCategoriesByID deletes multiple categories by their IDs

func (*Client) DeleteNetworkSegmentByID

func (c *Client) DeleteNetworkSegmentByID(id int) error

DeleteNetworkSegmentByID deletes a policy by its ID.

func (*Client) DeleteNetworkSegmentByName

func (c *Client) DeleteNetworkSegmentByName(name string) error

DeleteNetworkSegmentByName deletes a policy by its name.

func (*Client) DeletePatchPolicyByID

func (c *Client) DeletePatchPolicyByID(id int) error

DeletePatchPolicyByID deletes a patch policy by its ID.

func (*Client) DeletePatchSoftwareTitleConfigurationById

func (c *Client) DeletePatchSoftwareTitleConfigurationById(id string) error

DeletePatchSoftwareTitleConfigurationById deletes a PatchSoftwareTitleConfiguration with given ID

func (*Client) DeletePolicyByID

func (c *Client) DeletePolicyByID(id int) error

DeletePolicyByID deletes a policy by its ID.

func (*Client) DeletePolicyByName

func (c *Client) DeletePolicyByName(name string) error

DeletePolicyByName deletes a policy by its name.

func (*Client) DeletePrinterByID

func (c *Client) DeletePrinterByID(id int) error

DeletePrinterByID deletes a printer by its ID.

func (*Client) DeletePrinterByName

func (c *Client) DeletePrinterByName(name string) error

DeletePrinterByName deletes a printer by its name.

func (*Client) DeleteRemovableMACAddressByID

func (c *Client) DeleteRemovableMACAddressByID(id int) error

DeleteRemovableMACAddressByID deletes a removable MAC address by its ID.

func (*Client) DeleteRemovableMACAddressByName

func (c *Client) DeleteRemovableMACAddressByName(name string) error

DeleteRemovableMACAddressByName deletes a removable MAC address by its name.

func (*Client) DeleteRestrictedSoftwareByID

func (c *Client) DeleteRestrictedSoftwareByID(id int) error

DeleteRestrictedSoftwareByID deletes a restricted software entry by its ID.

func (*Client) DeleteRestrictedSoftwareByName

func (c *Client) DeleteRestrictedSoftwareByName(name string) error

DeleteRestrictedSoftwareByName deletes a restricted software entry by its name.

func (*Client) DeleteScriptByID

func (c *Client) DeleteScriptByID(id string) error

Deletes script with provided ID

func (*Client) DeleteScriptByName

func (c *Client) DeleteScriptByName(name string) error

Leverages DeleteScriptByID and GetScripts to delete script by Name

func (*Client) DeleteSelfServiceBrandingMacOSByID

func (c *Client) DeleteSelfServiceBrandingMacOSByID(id string) error

DeleteSelfServiceBrandingMacOSByID deletes a self-service branding configuration for macOS by ID.

func (*Client) DeleteSelfServiceBrandingMacOSByName

func (c *Client) DeleteSelfServiceBrandingMacOSByName(name string) error

DeleteSelfServiceBrandingMacOSByName deletes a self-service branding configuration for macOS by name.

func (*Client) DeleteSiteByID

func (c *Client) DeleteSiteByID(id int) error

DeleteSiteByID deletes a site by its ID.

func (*Client) DeleteSiteByName

func (c *Client) DeleteSiteByName(name string) error

DeleteSiteByName deletes a site by its name.

func (*Client) DeleteSoftwareUpdateServerByID

func (c *Client) DeleteSoftwareUpdateServerByID(id int) error

DeleteSoftwareUpdateServerByID deletes a software update server by its ID.

func (*Client) DeleteSoftwareUpdateServerByName

func (c *Client) DeleteSoftwareUpdateServerByName(name string) error

DeleteSoftwareUpdateServerByName deletes a software update server by its name.

func (*Client) DeleteUserByEmail

func (c *Client) DeleteUserByEmail(email string) error

DeleteUserByEmail deletes a user by their email.

func (*Client) DeleteUserByID

func (c *Client) DeleteUserByID(id int) error

DeleteUserByID deletes a user by their ID.

func (*Client) DeleteUserByName

func (c *Client) DeleteUserByName(name string) error

DeleteUserByName deletes a user by their name.

func (*Client) DeleteUserExtensionAttributeByID

func (c *Client) DeleteUserExtensionAttributeByID(id int) error

DeleteUserExtensionAttributeByID deletes a user extension attribute by its ID.

func (*Client) DeleteUserExtensionAttributeByName

func (c *Client) DeleteUserExtensionAttributeByName(name string) error

DeleteUserExtensionAttributeByName deletes a user extension attribute by its name.

func (*Client) DeleteUserGroupByID

func (c *Client) DeleteUserGroupByID(id int) error

DeleteUserGroupByID deletes a user group by its ID.

func (*Client) DeleteUserGroupByName

func (c *Client) DeleteUserGroupByName(name string) error

DeleteUserGroupByName deletes a user group by its name.

func (*Client) DeleteVPPAccountByID

func (c *Client) DeleteVPPAccountByID(id int) error

DeleteVPPAccountByID deletes a specific VPP account by its ID.

func (*Client) DeleteVPPAssignmentByID

func (c *Client) DeleteVPPAssignmentByID(id int) error

DeleteVPPAssignmentByID deletes a VPP assignment by its ID

func (*Client) DeleteVolumePurchasingLocationByID

func (c *Client) DeleteVolumePurchasingLocationByID(id string) error

DeleteVolumePurchasingLocationByID deletes a specific volume purchasing location by its ID.

func (*Client) DeleteVolumePurchasingSubscriptionByID

func (c *Client) DeleteVolumePurchasingSubscriptionByID(id string) error

DeleteVolumePurchasingSubscriptionByID deletes a volume purchasing subscription by its ID

func (*Client) DeleteVolumePurchasingSubscriptionByName

func (c *Client) DeleteVolumePurchasingSubscriptionByName(name string) error

DeleteVolumePurchasingSubscriptionByName finds a subscription by name and deletes it by its ID

func (*Client) DeleteWebhookByID

func (c *Client) DeleteWebhookByID(id int) error

func (*Client) DeleteWebhookByName

func (c *Client) DeleteWebhookByName(name string) error

func (*Client) DoPaginatedGet

func (c *Client) DoPaginatedGet(
	endpoint_root string,
	maxPageSize, startingPageNumber int,
	sort_filter string,
) (*StandardPaginatedResponse, error)

func (*Client) DownloadIcon

func (c *Client) DownloadIcon(iconID int, savePath string, res string, scale string) error

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

func (c *Client) UpdateActivationCode(organizationName, code string) error

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 CloudIdpListItem struct {
	DisplayName  string `json:"displayName"`
	ProviderName string `json:"providerName"`
}

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 ComputerExtensionAttributeSubsetInputType

type ComputerExtensionAttributeSubsetInputType struct {
	Type     string   `xml:"type"`
	Platform string   `xml:"platform,omitempty"`
	Script   string   `xml:"script,omitempty"`
	Choices  []string `xml:"popup_choices>choice,omitempty"`
}

type ComputerExtenstionAttributeListItem

type ComputerExtenstionAttributeListItem struct {
	ID      int    `xml:"id,omitempty"`
	Name    string `xml:"name,omitempty"`
	Enabled bool   `xml:"enabled,omitempty"`
}

type ComputerGroupListItem

type ComputerGroupListItem struct {
	ID      int    `xml:"id,omitempty"`
	Name    string `xml:"name,omitempty"`
	IsSmart bool   `xml:"is_smart,omitempty"`
}

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 ComputerInventoryCollectionSettingsSubsetPathItem

type ComputerInventoryCollectionSettingsSubsetPathItem struct {
	ID   string `json:"id"`
	Path string `json:"path"`
}

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 ComputerInventorySubsetAttachment

type ComputerInventorySubsetAttachment struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	FileType  string `json:"fileType"`
	SizeBytes int    `json:"sizeBytes"`
}

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 ComputerInventorySubsetConfigurationProfile

type ComputerInventorySubsetConfigurationProfile struct {
	ID                string `json:"id"`
	Username          string `json:"username"`
	LastInstalled     string `json:"lastInstalled"`
	Removable         bool   `json:"removable"`
	DisplayName       string `json:"displayName"`
	ProfileIdentifier string `json:"profileIdentifier"`
}

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 ComputerInventorySubsetContentCachingCacheDetail

type ComputerInventorySubsetContentCachingCacheDetail struct {
	ComputerContentCachingCacheDetailsId string `json:"computerContentCachingCacheDetailsId"`
	CategoryName                         string `json:"categoryName"`
	DiskSpaceBytesUsed                   int64  `json:"diskSpaceBytesUsed"`
}

type ComputerInventorySubsetContentCachingDataMigrationError

type ComputerInventorySubsetContentCachingDataMigrationError struct {
	Code     int                                                               `json:"code"`
	Domain   string                                                            `json:"domain"`
	UserInfo []ComputerInventorySubsetContentCachingDataMigrationErrorUserInfo `json:"userInfo"`
}

type ComputerInventorySubsetContentCachingDataMigrationErrorUserInfo

type ComputerInventorySubsetContentCachingDataMigrationErrorUserInfo struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

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"`
	SharedContent                      bool   `json:"sharedContent"`
	Prioritization                     bool   `json:"prioritization"`
}

type ComputerInventorySubsetContentCachingParentDetailsLocalNetwork

type ComputerInventorySubsetContentCachingParentDetailsLocalNetwork struct {
	ContentCachingParentLocalNetworkId string `json:"contentCachingParentLocalNetworkId"`
	Speed                              int    `json:"speed"`
	Wired                              bool   `json:"wired"`
}

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 ComputerInventorySubsetFont

type ComputerInventorySubsetFont struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Path    string `json:"path"`
}

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 ComputerInventorySubsetGeneralEnrollmentMethod

type ComputerInventorySubsetGeneralEnrollmentMethod struct {
	ID         string `json:"id"`
	ObjectName string `json:"objectName"`
	ObjectType string `json:"objectType"`
}

type ComputerInventorySubsetGeneralMdmCapable

type ComputerInventorySubsetGeneralMdmCapable struct {
	Capable      bool     `json:"capable"`
	CapableUsers []string `json:"capableUsers"`
}

type ComputerInventorySubsetGeneralRemoteManagement

type ComputerInventorySubsetGeneralRemoteManagement struct {
	Managed            bool   `json:"managed"`
	ManagementUsername string `json:"managementUsername"`
}

type ComputerInventorySubsetGroupMembership

type ComputerInventorySubsetGroupMembership struct {
	GroupId    string `json:"groupId"`
	GroupName  string `json:"groupName"`
	SmartGroup bool   `json:"smartGroup"`
}

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 ComputerInventorySubsetLicensedSoftware

type ComputerInventorySubsetLicensedSoftware struct {
	ID   string `json:"id"`
	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 ComputerInventorySubsetPackageReceipts

type ComputerInventorySubsetPackageReceipts struct {
	InstalledByJamfPro      []string `json:"installedByJamfPro"`
	InstalledByInstallerSwu []string `json:"installedByInstallerSwu"`
	Cached                  []string `json:"cached"`
}

type ComputerInventorySubsetPlugin

type ComputerInventorySubsetPlugin struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Path    string `json:"path"`
}

type ComputerInventorySubsetPrinter

type ComputerInventorySubsetPrinter struct {
	Name     string `json:"name"`
	Type     string `json:"type"`
	URI      string `json:"uri"`
	Location string `json:"location"`
}

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 ComputerInventorySubsetSoftwareUpdate

type ComputerInventorySubsetSoftwareUpdate struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	PackageName string `json:"packageName"`
}

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 ComputerInvitationSubsetEnrollIntoState

type ComputerInvitationSubsetEnrollIntoState struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,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 ComputerSubsetConfigurationProfiles

type ComputerSubsetConfigurationProfiles struct {
	ID          int    `xml:"id" json:"id"`
	Name        string `xml:"name" json:"name"`
	UUID        string `xml:"uuid" json:"uuid"`
	IsRemovable bool   `xml:"is_removable" json:"is_removable"`
}

type ComputerSubsetExtensionAttributes

type ComputerSubsetExtensionAttributes struct {
	ID    int    `xml:"id" json:"id"`
	Name  string `xml:"name" json:"name"`
	Type  string `xml:"type" json:"type"`
	Value string `xml:"value" json:"value"`
}

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 ComputerSubsetGeneralManagementStatus

type ComputerSubsetGeneralManagementStatus struct {
	EnrolledViaDep         bool `xml:"enrolled_via_dep" json:"enrolled_via_dep"`
	UserApprovedEnrollment bool `xml:"user_approved_enrollment" json:"user_approved_enrollment"`
	UserApprovedMdm        bool `xml:"user_approved_mdm" json:"user_approved_mdm"`
}

type ComputerSubsetGeneralMdmCapableUsers

type ComputerSubsetGeneralMdmCapableUsers struct {
	MdmCapableUser string `xml:"mdm_capable_user" json:"mdm_capable_user"`
}

type ComputerSubsetGeneralRemoteManagement

type ComputerSubsetGeneralRemoteManagement struct {
	Managed            bool   `xml:"managed" json:"managed"`
	ManagementUsername string `xml:"management_username" json:"management_username"`
}

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 ComputerSubsetHardwareMappedPrinters

type ComputerSubsetHardwareMappedPrinters struct {
	Name     string `xml:"name" json:"name"`
	URI      string `xml:"uri" json:"uri"`
	Type     string `xml:"type" json:"type"`
	Location string `xml:"location" json:"location"`
}

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 ComputerSubsetPeripheralsAttachments

type ComputerSubsetPeripheralsAttachments struct {
	Size     int    `xml:"size" json:"size"`
	ID       int    `xml:"id" json:"id"`
	Filename string `xml:"filename" json:"filename"`
	URI      string `xml:"uri" json:"uri"`
}

type ComputerSubsetPeripheralsContainerFields

type ComputerSubsetPeripheralsContainerFields struct {
	Field []ComputerSubsetPeripheralsField `xml:"field" json:"field"`
}

type ComputerSubsetPeripheralsField

type ComputerSubsetPeripheralsField struct {
	Name  string `xml:"name" json:"name"`
	Value string `xml:"value" json:"value"`
}

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 ComputerSubsetSoftwareApplications

type ComputerSubsetSoftwareApplications struct {
	Name    string `xml:"name" json:"name"`
	Path    string `xml:"path" json:"path"`
	Version string `xml:"version" json:"version"`
}

type ComputerSubsetSoftwareAvailableUpdates

type ComputerSubsetSoftwareAvailableUpdates struct {
	Name        string `xml:"name" json:"name"`
	PackageName string `xml:"package_name" json:"package_name"`
	Version     string `xml:"version" json:"version"`
}

type ComputerSubsetSoftwareFonts

type ComputerSubsetSoftwareFonts struct {
	Name    string `xml:"name" json:"name"`
	Path    string `xml:"path" json:"path"`
	Version string `xml:"version" json:"version"`
}

type ComputerSubsetSoftwarePlugins

type ComputerSubsetSoftwarePlugins struct {
	Name    string `xml:"name" json:"name"`
	Path    string `xml:"path" json:"path"`
	Version string `xml:"version" json:"version"`
}

type ComputersListItem

type ComputersListItem struct {
	ID   int    `xml:"id,omitempty" json:"id,omitempty"`
	Name string `xml:"name" json:"name"`
}

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 DirectoryBindingsListItem

type DirectoryBindingsListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type DiskEncryptionConfigurationInstitutionalRecoveryKey

type DiskEncryptionConfigurationInstitutionalRecoveryKey struct {
	Key             string `xml:"key"`
	CertificateType string `xml:"certificate_type"`
	Password        string `xml:"password"`
	Data            string `xml:"data"`
}

type DiskEncryptionConfigurationsListItem

type DiskEncryptionConfigurationsListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type DistributionPointListItem

type DistributionPointListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type DockItemListItem

type DockItemListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type EBookListItem

type EBookListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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

type EbookSubsetScopeBuilding struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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

type EbookSubsetScopeComputerGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

ComputerGroup represents a group of computers within the scope.

type EbookSubsetScopeDepartment

type EbookSubsetScopeDepartment struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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

type EbookSubsetScopeMobileDeviceGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

EbooksSubsetMobileDeviceGroup represents a group of mobile devices within the scope.

type EbookSubsetScopeUser

type EbookSubsetScopeUser struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

User represents a user within the scope.

type EbookSubsetScopeUserGroup

type EbookSubsetScopeUserGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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

type EbooksSubsetScopeClass struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

Class represents a class within the scope.

type EnrollmentCustomizationSubsetBrandingSettings

type EnrollmentCustomizationSubsetBrandingSettings struct {
	TextColor       string `json:"textColor"`
	ButtonColor     string `json:"buttonColor"`
	ButtonTextColor string `json:"buttonTextColor"`
	BackgroundColor string `json:"backgroundColor"`
	IconUrl         string `json:"iconUrl"`
}

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 JCDSFileListItem struct {
	FileName string `json:"fileName" xml:"fileName"`
	MD5      string `json:"md5" xml:"md5"`
}

type JCDSUploadCredentials

type JCDSUploadCredentials struct {
	AccessKeyID     string `json:"accessKeyID"`
	SecretAccessKey string `json:"secretAccessKey"`
	SessionToken    string `json:"sessionToken"`
	Region          string `json:"region"`
	BucketName      string `json:"bucketName"`
	Path            string `json:"path"`
	UUID            string `json:"uuid"`
}

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 LDAPServerSubsetConnectionAccount

type LDAPServerSubsetConnectionAccount struct {
	DistinguishedUsername string `xml:"distinguished_username"`
	Password              string `xml:"password"`
}

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 LDAPServersListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type LicensedSoftwareListItem

type LicensedSoftwareListItem struct {
}

type LicensedSoftwareSubsetFontDefinitions

type LicensedSoftwareSubsetFontDefinitions struct {
	CompareType string `xml:"compare_type"`
	Name        string `xml:"name"`
	Version     int    `xml:"version"`
}

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 LicensedSoftwareSubsetLicenseAttachments

type LicensedSoftwareSubsetLicenseAttachments struct {
	ID       int    `xml:"id"`
	Filename string `xml:"filename"`
	URI      string `xml:"uri"`
}

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 LicensedSoftwareSubsetPluginDefinitions

type LicensedSoftwareSubsetPluginDefinitions struct {
	CompareType string `xml:"compare_type"`
	Name        string `xml:"name"`
	Version     int    `xml:"version"`
}

type LicensedSoftwareSubsetSoftwareDefinitions

type LicensedSoftwareSubsetSoftwareDefinitions struct {
	CompareType string `xml:"compare_type"`
	Name        string `xml:"name"`
	Version     int    `xml:"version"`
}

type LogLevel

type LogLevel int

Logger is an interface for logging within the SDK.// LogLevel mirrors the http_client's LogLevel to maintain compatibility.

const (
	LogLevelNone LogLevel = iota
	LogLevelWarning
	LogLevelInfo
	LogLevelDebug
)

Exporting LogLevel constants matching http_client package.

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 MacAppSubsetScopeBuilding

type MacAppSubsetScopeBuilding struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MacAppSubsetScopeComputer

type MacAppSubsetScopeComputer struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
	UDID string `xml:"udid"`
}

type MacAppSubsetScopeComputerGroup

type MacAppSubsetScopeComputerGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MacAppSubsetScopeDepartment

type MacAppSubsetScopeDepartment struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MacAppSubsetScopeNetworkSegment

type MacAppSubsetScopeNetworkSegment struct {
	ID   int    `xml:"id"`
	UID  string `xml:"uid,omitempty"`
	Name string `xml:"name"`
}

type MacAppSubsetScopeUser

type MacAppSubsetScopeUser struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MacAppSubsetScopeUserGroup

type MacAppSubsetScopeUserGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 MacAppSubsetSelfServiceCategories

type MacAppSubsetSelfServiceCategories struct {
	ID        int    `xml:"id"`
	Name      string `xml:"name"`
	DisplayIn bool   `xml:"display_in"`
	FeatureIn bool   `xml:"feature_in"`
}

type MacAppSubsetSelfServiceVPP

type MacAppSubsetSelfServiceVPP struct {
	AssignVPPDeviceBasedLicenses bool `xml:"assign_vpp_device_based_licenses"`
	VPPAdminAccountID            int  `xml:"vpp_admin_account_id"`
}

type MacApplicationsListItem

type MacApplicationsListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 MacOSConfigurationProfileListItem

type MacOSConfigurationProfileListItem struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name"`
}

type MacOSConfigurationProfileSubsetBuilding

type MacOSConfigurationProfileSubsetBuilding struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MacOSConfigurationProfileSubsetComputer

type MacOSConfigurationProfileSubsetComputer struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
	UDID string `xml:"udid,omitempty"`
}

type MacOSConfigurationProfileSubsetComputerGroup

type MacOSConfigurationProfileSubsetComputerGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MacOSConfigurationProfileSubsetDepartment

type MacOSConfigurationProfileSubsetDepartment struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

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 MacOSConfigurationProfileSubsetIBeacon

type MacOSConfigurationProfileSubsetIBeacon struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MacOSConfigurationProfileSubsetJSSUser

type MacOSConfigurationProfileSubsetJSSUser struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MacOSConfigurationProfileSubsetJSSUserGroup

type MacOSConfigurationProfileSubsetJSSUserGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,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 MacOSConfigurationProfileSubsetNetworkSegment

type MacOSConfigurationProfileSubsetNetworkSegment struct {
	ID   int    `xml:"id,omitempty"`
	UID  string `xml:"uid,omitempty"`
	Name string `xml:"name,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 MacOSConfigurationProfileSubsetSelfServiceCategory

type MacOSConfigurationProfileSubsetSelfServiceCategory struct {
	ID        int    `xml:"id,omitempty"`
	Name      string `xml:"name,omitempty"`
	DisplayIn bool   `xml:"display_in,omitempty"`
	FeatureIn bool   `xml:"feature_in,omitempty"`
}

type MacOSConfigurationProfileSubsetUser

type MacOSConfigurationProfileSubsetUser struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MacOSConfigurationProfileSubsetUserGroup

type MacOSConfigurationProfileSubsetUserGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,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 MobileDeviceApplicationSubsetBuilding

type MobileDeviceApplicationSubsetBuilding struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MobileDeviceApplicationSubsetDepartment

type MobileDeviceApplicationSubsetDepartment struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

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 MobileDeviceApplicationSubsetGeneralIPA

type MobileDeviceApplicationSubsetGeneralIPA struct {
	Name string `xml:"name,omitempty"`
	URI  string `xml:"uri,omitempty"`
	Data string `xml:"data,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 MobileDeviceApplicationSubsetGeneralVPP

type MobileDeviceApplicationSubsetGeneralVPP struct {
	AssignVPPDeviceBasedLicenses bool `xml:"assign_vpp_device_based_licenses,omitempty"`
	VPPAdminAccountID            int  `xml:"vpp_admin_account_id,omitempty"`
}

type MobileDeviceApplicationSubsetIcon

type MobileDeviceApplicationSubsetIcon struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name"`
	URI  string `xml:"uri,omitempty"`
	Data string `xml:"data,omitempty"`
}

type MobileDeviceApplicationSubsetJSSUser

type MobileDeviceApplicationSubsetJSSUser struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MobileDeviceApplicationSubsetJSSUserGroup

type MobileDeviceApplicationSubsetJSSUserGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,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 MobileDeviceApplicationSubsetMobileDevice

type MobileDeviceApplicationSubsetMobileDevice struct {
	ID             int    `xml:"id,omitempty"`
	Name           string `xml:"name,omitempty"`
	UDID           string `xml:"udid,omitempty"`
	WifiMacAddress string `xml:"wifi_mac_address,omitempty"`
}

type MobileDeviceApplicationSubsetMobileDeviceGroup

type MobileDeviceApplicationSubsetMobileDeviceGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MobileDeviceApplicationSubsetNetworkSegment

type MobileDeviceApplicationSubsetNetworkSegment struct {
	ID   int    `xml:"id,omitempty"`
	UID  string `xml:"uid,omitempty"`
	Name string `xml:"name,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 MobileDeviceApplicationSubsetUser

type MobileDeviceApplicationSubsetUser struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MobileDeviceApplicationSubsetUserGroup

type MobileDeviceApplicationSubsetUserGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type MobileDeviceApplicationsListItem

type MobileDeviceApplicationsListItem struct {
	ID          int    `xml:"id"`
	Name        string `xml:"name"`
	DisplayName string `xml:"display_name"`
	BundleID    string `xml:"bundle_id"`
	Version     string `xml:"version"`
	InternalApp bool   `xml:"internal_app"`
}

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 MobileDeviceConfigurationProfileSubsetBuilding

type MobileDeviceConfigurationProfileSubsetBuilding struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MobileDeviceConfigurationProfileSubsetDepartment

type MobileDeviceConfigurationProfileSubsetDepartment struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 MobileDeviceConfigurationProfileSubsetIbeacon

type MobileDeviceConfigurationProfileSubsetIbeacon struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 MobileDeviceConfigurationProfileSubsetMobileDevice

type MobileDeviceConfigurationProfileSubsetMobileDevice struct {
	ID             int    `xml:"id"`
	Name           string `xml:"name"`
	UDID           string `xml:"udid,omitempty"`
	WifiMacAddress string `xml:"wifi_mac_address,omitempty"`
}

type MobileDeviceConfigurationProfileSubsetMobileDeviceGroup

type MobileDeviceConfigurationProfileSubsetMobileDeviceGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MobileDeviceConfigurationProfileSubsetNetworkSegment

type MobileDeviceConfigurationProfileSubsetNetworkSegment struct {
	ID   int    `xml:"id"`
	UID  string `xml:"uid,omitempty"`
	Name string `xml:"name"`
}

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 MobileDeviceConfigurationProfileSubsetUser

type MobileDeviceConfigurationProfileSubsetUser struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MobileDeviceConfigurationProfileSubsetUserGroup

type MobileDeviceConfigurationProfileSubsetUserGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MobileDeviceConfigurationProfilesListItem

type MobileDeviceConfigurationProfilesListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type MobileDeviceEnrollmentProfileContainerAttachments

type MobileDeviceEnrollmentProfileContainerAttachments struct {
	Attachment MobileDeviceEnrollmentProfileSubsetAttachments `xml:"attachment"`
}

type MobileDeviceEnrollmentProfileSubsetAttachments

type MobileDeviceEnrollmentProfileSubsetAttachments struct {
	ID       int    `xml:"id"`
	Filename string `xml:"filename"`
	URI      string `xml:"uri"`
}

type MobileDeviceEnrollmentProfileSubsetGeneral

type MobileDeviceEnrollmentProfileSubsetGeneral struct {
	ID          int    `xml:"id"`
	Name        string `xml:"name"`
	Invitation  string `xml:"invitation,omitempty"`
	UDID        string `xml:"udid,omitempty"`
	Description string `xml:"description,omitempty"`
}

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 MobileDeviceEnrollmentProfilesListItem

type MobileDeviceEnrollmentProfilesListItem struct {
	ID         int     `xml:"id"`
	Name       string  `xml:"name"`
	Invitation float64 `xml:"invitation"`
}

type MobileDeviceExtensionAttributesListItem

type MobileDeviceExtensionAttributesListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 MobileDeviceGroupsListItem

type MobileDeviceGroupsListItem struct {
	ID      int    `xml:"id"`
	Name    string `xml:"name"`
	IsSmart bool   `xml:"is_smart"`
}

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 MobileDevicePrestageSubsetNamesName

type MobileDevicePrestageSubsetNamesName struct {
	ID         string `json:"id"`
	DeviceName string `json:"deviceName"`
	Used       bool   `json:"used"`
}

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 MobileDevicePrestageSubsetSkipSetupItems

type MobileDevicePrestageSubsetSkipSetupItems struct {
	Location bool `json:"Location"`
	Privacy  bool `json:"Privacy"`
}

type MobileDeviceProvisioningProfileSubsetGeneral

type MobileDeviceProvisioningProfileSubsetGeneral struct {
	ID          int    `xml:"id"`
	Name        string `xml:"name"`
	DisplayName string `xml:"display_name"`
	UUID        string `xml:"uuid"`
}

type MobileDeviceProvisioningProfilesListItem

type MobileDeviceProvisioningProfilesListItem struct {
	ID          int    `xml:"id"`
	Name        string `xml:"name"`
	DisplayName string `xml:"display_name"`
	UUID        string `xml:"uuid"`
}

type MobileDeviceSubsetApplication

type MobileDeviceSubsetApplication struct {
	ApplicationName    string `xml:"application_name"`
	ApplicationVersion string `xml:"application_version"`
	Identifier         string `xml:"identifier"`
}

type MobileDeviceSubsetCertificate

type MobileDeviceSubsetCertificate struct {
	CommonName string `xml:"common_name"`
	Identity   bool   `xml:"identity"`
}

type MobileDeviceSubsetConfigurationProfile

type MobileDeviceSubsetConfigurationProfile struct {
	DisplayName string `xml:"display_name"`
	Version     int    `xml:"version"`
	Identifier  string `xml:"identifier"`
	UUID        string `xml:"uuid"`
}

type MobileDeviceSubsetExtensionAttribute

type MobileDeviceSubsetExtensionAttribute struct {
	ID    int    `xml:"id"`
	Name  string `xml:"name"`
	Type  string `xml:"type"`
	Value string `xml:"value"`
}

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"`
	Shared                             string `xml:"shared"`
	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 MobileDeviceSubsetGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 MobileDeviceSubsetProvisioningProfile

type MobileDeviceSubsetProvisioningProfile struct {
	DisplayName         string `xml:"display_name"`
	ExpirationDate      string `xml:"expiration_date"`
	ExpirationDateEpoch int64  `xml:"expiration_date_epoch"`
	ExpirationDateUTC   string `xml:"expiration_date_utc"`
	UUID                string `xml:"uuid"`
}

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 PatchPoliciesSubsetGeneralKillApp

type PatchPoliciesSubsetGeneralKillApp struct {
	KillAppName     string `xml:"kill_app_name"`
	KillAppBundleID string `xml:"kill_app_bundle_id"`
}

type PatchPoliciesSubsetGroup

type PatchPoliciesSubsetGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 PatchPoliciesSubsetUserInteractionDeadlines

type PatchPoliciesSubsetUserInteractionDeadlines struct {
	DeadlineEnabled bool `xml:"deadline_enabled"`
	DeadlinePeriod  int  `xml:"deadline_period"`
}

type PatchPoliciesSubsetUserInteractionGracePeriod

type PatchPoliciesSubsetUserInteractionGracePeriod struct {
	GracePeriodDuration       int    `xml:"grace_period_duration"`
	NotificationCenterSubject string `xml:"notification_center_subject"`
	Message                   string `xml:"message"`
}

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 PatchPoliciesSubsetUserInteractionNotificationsReminders

type PatchPoliciesSubsetUserInteractionNotificationsReminders struct {
	NotificationRemindersEnabled  bool `xml:"notification_reminders_enabled"`
	NotificationReminderFrequency int  `xml:"notification_reminder_frequency"`
}

type PatchSoftwareTitleConfigurationSubsetExtensionAttribute

type PatchSoftwareTitleConfigurationSubsetExtensionAttribute struct {
	Accepted bool   `json:"accepted"`
	EaID     string `json:"eaId"`
}

type PatchSoftwareTitleConfigurationSubsetPackage

type PatchSoftwareTitleConfigurationSubsetPackage struct {
	PackageId   string `json:"packageId"`
	Version     string `json:"version"`
	DisplayName string `json:"displayName"`
}

type PayloadCloudLdapVerifyKeystore

type PayloadCloudLdapVerifyKeystore struct {
	Password  string `json:"password"`
	FileBytes string `json:"fileBytes"`
	FileName  string `json:"fileName"`
}

type PolicyCategory

type PolicyCategory struct {
	ID        int    `xml:"id,omitempty"`
	Name      string `xml:"name,omitempty"`
	DisplayIn bool   `xml:"display_in"`
	FeatureIn bool   `xml:"feature_in"`
}

type PolicyDataSubsetBuilding

type PolicyDataSubsetBuilding struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyDataSubsetComputer

type PolicyDataSubsetComputer struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
	UDID string `xml:"udid,omitempty"`
}

type PolicyDataSubsetComputerGroup

type PolicyDataSubsetComputerGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyDataSubsetDepartment

type PolicyDataSubsetDepartment struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyDataSubsetIBeacon

type PolicyDataSubsetIBeacon struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyDataSubsetJSSUser

type PolicyDataSubsetJSSUser struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyDataSubsetJSSUserGroup

type PolicyDataSubsetJSSUserGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyDataSubsetNetworkSegment

type PolicyDataSubsetNetworkSegment struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
	UID  string `xml:"uid,omitempty"`
}

type PolicyDataSubsetUser

type PolicyDataSubsetUser struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyDataSubsetUserGroup

type PolicyDataSubsetUserGroup struct {
	ID   int    `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
}

type PolicyItem

type PolicyItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 PolicySubsetAccountMaintenanceDirectoryBindings

type PolicySubsetAccountMaintenanceDirectoryBindings struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type PolicySubsetAccountMaintenanceManagementAccount

type PolicySubsetAccountMaintenanceManagementAccount struct {
	Action                string `xml:"action"`
	ManagedPassword       string `xml:"managed_password"`
	ManagedPasswordLength int    `xml:"managed_password_length"`
}

type PolicySubsetAccountMaintenanceOpenFirmwareEfiPassword

type PolicySubsetAccountMaintenanceOpenFirmwareEfiPassword struct {
	OfMode           string `xml:"of_mode"`
	OfPassword       string `xml:"of_password"`
	OfPasswordSHA256 string `xml:"of_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 PolicySubsetDockItem struct {
	ID     int    `xml:"id"`
	Name   string `xml:"name"`
	Action string `xml:"action"`
}

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 PolicySubsetGeneralNetworkLimitations

type PolicySubsetGeneralNetworkLimitations struct {
	MinimumNetworkConnection string `xml:"minimum_network_connection,omitempty"`
	AnyIPAddress             bool   `xml:"any_ip_address"`
	NetworkSegments          string `xml:"network_segments"`
}

type PolicySubsetGeneralOverrideSettings

type PolicySubsetGeneralOverrideSettings struct {
	TargetDrive       string `xml:"target_drive,omitempty"`
	DistributionPoint string `xml:"distribution_point,omitempty"`
	ForceAfpSmb       bool   `xml:"force_afp_smb"`
	SUS               string `xml:"sus,omitempty"`
	NetbootServer     string `xml:"netboot_server,omitempty"`
}

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 PolicySubsetPackageConfigurationPackage

type PolicySubsetPackageConfigurationPackage struct {
	ID                int    `xml:"id,omitempty"`
	Name              string `xml:"name,omitempty"`
	Action            string `xml:"action,omitempty"`
	FillUserTemplate  bool   `xml:"fut,omitempty"`
	FillExistingUsers bool   `xml:"feu,omitempty"`
	UpdateAutorun     bool   `xml:"update_autorun,omitempty"`
}

type PolicySubsetPrinter

type PolicySubsetPrinter struct {
	ID          int    `xml:"id"`
	Name        string `xml:"name"`
	Action      string `xml:"action"`
	MakeDefault bool   `xml:"make_default"`
}

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 PrintersListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type ResourceADUETokenSettings

type ResourceADUETokenSettings struct {
	Enabled                   bool `json:"enabled"`
	ExpirationIntervalDays    int  `json:"expirationIntervalDays,omitempty"`
	ExpirationIntervalSeconds int  `json:"expirationIntervalSeconds,omitempty"`
}

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 ResourceAllowedFileExtension

type ResourceAllowedFileExtension struct {
	ID        int    `xml:"id"`
	Extension string `xml:"extension"`
}

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 ResourceCSATokenExchange

type ResourceCSATokenExchange struct {
	RefreshExpiration int      `json:"refreshExpiration"`
	Scopes            []string `json:"scopes"`
}

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 ResourceCategory struct {
	Id       string `json:"id"`
	Name     string `json:"name"`
	Priority int    `json:"priority"`
}

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 ResourceCloudDistributionPointUploadCapability

type ResourceCloudDistributionPointUploadCapability struct {
	ID   bool `json:"principalDistributionTechnology"`
	Name bool `json:"directUploadCapable"`
}

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 {
	SharedDeviceFeatureEnabled bool `json:"sharedDeviceFeatureEnabled"`
}

ResourceConditionalAccessDeviceComplianceStatus represents the resource object.

type ResourceDepartment

type ResourceDepartment struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

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 {
	ID                       int    `xml:"id"`
	Name                     string `xml:"name"`
	IPAddress                string `xml:"ipAddress"`
	IP_Address               string `xml:"ip_address"`
	IsMaster                 bool   `xml:"is_master"`
	FailoverPoint            string `xml:"failover_point"`
	FailoverPointURL         string `xml:"failover_point_url"`
	EnableLoadBalancing      bool   `xml:"enable_load_balancing"`
	LocalPath                string `xml:"local_path"`
	SSHUsername              string `xml:"ssh_username"`
	Password                 string `xml:"password"`
	ConnectionType           string `xml:"connection_type"`
	ShareName                string `xml:"share_name"`
	WorkgroupOrDomain        string `xml:"workgroup_or_domain"`
	SharePort                int    `xml:"share_port"`
	ReadOnlyUsername         string `xml:"read_only_username"`
	ReadOnlyPassword         string `xml:"read_only_password"`
	ReadWriteUsername        string `xml:"read_write_username"`
	ReadWritePassword        string `xml:"read_write_password"`
	HTTPDownloadsEnabled     bool   `xml:"http_downloads_enabled"`
	HTTPURL                  string `xml:"http_url"`
	Context                  string `xml:"context"`
	Protocol                 string `xml:"protocol"`
	Port                     int    `xml:"port"`
	NoAuthenticationRequired bool   `xml:"no_authentication_required"`
	UsernamePasswordRequired bool   `xml:"username_password_required"`
	HTTPUsername             string `xml:"http_username"`
	HTTPPassword             string `xml:"http_password"`
}

Struct for detailed Distribution Point data

type ResourceGSXConnection

type ResourceGSXConnection struct {
	Enabled       bool   `xml:"enabled"`
	Username      string `xml:"username"`
	AccountNumber int    `xml:"account_number"`
	Region        string `xml:"region"`
	URI           string `xml:"uri"`
}

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 ResourceJamfProServerURL

type ResourceJamfProServerURL struct {
	URL                    string `json:"url"`
	UnsecuredEnrollmentUrl string `json:"unsecuredEnrollmentUrl"`
}

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"`
	MaximumSharedAccounts               int                                           `json:"maximumSharedAccounts"`
	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

type ResourcePolicyCreateAndUpdate struct {
	XMLName xml.Name `xml:"policy"`
	ID      int      `xml:"id"`
}

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 ResourceRemovableMacAddress

type ResourceRemovableMacAddress struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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

type ResponseBuildingCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

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 ResponseCloudDistributionPointCreate

type ResponseCloudDistributionPointCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

type ResponseCloudIdentityProviderDefaultMappings

type ResponseCloudIdentityProviderDefaultMappings struct {
	CloudIdentityProviderDefaultMappingsSubsetUserMappings       CloudIdentityProviderDefaultMappingsSubsetUserMappings       `json:"userMappings"`
	CloudIdentityProviderDefaultMappingsSubsetGroupMappings      CloudIdentityProviderDefaultMappingsSubsetGroupMappings      `json:"groupMappings"`
	CloudIdentityProviderDefaultMappingsSubsetMembershipMappings CloudIdentityProviderDefaultMappingsSubsetMembershipMappings `json:"membershipMappings"`
}

type ResponseCloudIdpCreate

type ResponseCloudIdpCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

ResponseCloudIDPCreate represents the response received after creating a Cloud Identity Provider.

type ResponseCloudLdapVerifyKeystore

type ResponseCloudLdapVerifyKeystore struct {
	Type           string `json:"type"`
	ExpirationDate string `json:"expirationDate"`
	Subject        string `json:"subject"`
	FileName       string `json:"fileName"`
}

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

type ResponseComputerPrestageCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

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 ResponseDepartmentCreate

type ResponseDepartmentCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

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 ResponseEnrollmentCustomizationCreate

type ResponseEnrollmentCustomizationCreate struct {
	Id   string `json:"id"`
	Href string `json:"href"`
}

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 ResponseMobileDevicePrestageCreate

type ResponseMobileDevicePrestageCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

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 {
	ID       string `json:"id"`
	Filename string `json:"filename"`
	Version  string `json:"version"`
	Created  string `json:"created"`
	Url      string `json:"url"`
}

type ResponsePackageListV1

type ResponsePackageListV1 struct {
	Results []ResponsePackageInfoShared
}

type ResponsePackageV2

type ResponsePackageV2 struct {
	DisplayName       string `json:"displayName"`
	ReleaseHistoryUrl string `json:"releaseHistoryUrl"`
	Artifacts         []ResponsePackageInfoShared
}

type ResponsePatchSoftwareTitleConfigurationCreate

type ResponsePatchSoftwareTitleConfigurationCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

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 ResponseSSOFailover struct {
	FailoverURL    string `json:"failoverUrl"`
	GenerationTime int64  `json:"generationTime"`
}

type ResponseScriptCreate

type ResponseScriptCreate struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

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 ResponseUploadAttachment

type ResponseUploadAttachment struct {
	ID   string `json:"id"`
	Href string `json:"href"`
}

type ResponseUploadIcon

type ResponseUploadIcon struct {
	URL string `json:"url"`
	ID  int    `json:"id"`
}

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 RestrictedSoftwareListItem

type RestrictedSoftwareListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 RestrictedSoftwareSubsetScopeBuilding

type RestrictedSoftwareSubsetScopeBuilding struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type RestrictedSoftwareSubsetScopeComputer

type RestrictedSoftwareSubsetScopeComputer struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type RestrictedSoftwareSubsetScopeComputerGroup

type RestrictedSoftwareSubsetScopeComputerGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type RestrictedSoftwareSubsetScopeDepartment

type RestrictedSoftwareSubsetScopeDepartment struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 RestrictedSoftwareSubsetScopeUser

type RestrictedSoftwareSubsetScopeUser struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type SharedAdvancedSearchContainerDisplayField

type SharedAdvancedSearchContainerDisplayField struct {
	Size         int                                      `xml:"size"`
	DisplayField []SharedAdvancedSearchSubsetDisplayField `xml:"display_field"`
}

type SharedAdvancedSearchSubsetDisplayField

type SharedAdvancedSearchSubsetDisplayField struct {
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

type SharedContainerCriteria

type SharedContainerCriteria struct {
	Size      int                    `json:"size,omitempty" xml:"size,omitempty"`
	Criterion []SharedSubsetCriteria `json:"criterion,omitempty" xml:"criterion,omitempty"`
}

type SharedResourceCategory

type SharedResourceCategory struct {
	ID   int    `json:"id,omitempty" xml:"id,omitempty"`
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

type SharedResourceSelfServiceCategories

type SharedResourceSelfServiceCategories struct {
	Category []SharedResourceSelfServiceCategory
}

type SharedResourceSelfServiceCategory

type SharedResourceSelfServiceCategory struct {
	ID       int    `json:"id,omitempty" xml:"id,omitempty"`
	Name     string `json:"name,omitempty" xml:"name,omitempty"`
	Priority int    `json:"priority,omitempty" xml:"priority,omitempty"`
}

type SharedResourceSelfServiceIcon

type SharedResourceSelfServiceIcon struct {
	ID       int    `json:"id,omitempty" xml:"id,omitempty"`
	URI      string `json:"uri,omitempty" xml:"uri,omitempty"`
	Data     string `json:"data,omitempty" xml:"data,omitempty"`
	Filename string `json:"filename,omitempty" xml:"filename,omitempty"`
}

type SharedResourceSite

type SharedResourceSite struct {
	ID   int    `json:"id,omitempty" xml:"id,omitempty"`
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

type SharedResourceSiteProAPI

type SharedResourceSiteProAPI struct {
	ID   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type SharedSubsetCriteria

type SharedSubsetCriteria struct {
	Name         string `json:"name,omitempty" xml:"name,omitempty"`
	Priority     int    `json:"priority,omitempty" xml:"priority,omitempty"`
	AndOr        string `json:"and_or,omitempty" xml:"and_or,omitempty"`
	SearchType   string `json:"search_type,omitempty" xml:"search_type,omitempty"`
	Value        string `json:"value,omitempty" xml:"value,omitempty"`
	OpeningParen bool   `json:"opening_paren,omitempty" xml:"opening_paren,omitempty"`
	ClosingParen bool   `json:"closing_paren,omitempty" xml:"closing_paren,omitempty"`
}

type SoftwareUpdateServersListItem

type SoftwareUpdateServersListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type SsoSettingsSubsetEnrollmentSsoConfig

type SsoSettingsSubsetEnrollmentSsoConfig struct {
	Hosts          []string `json:"hosts"`
	ManagementHint string   `json:"managementHint"`
}

type SsoSubsetSubsetEnrollmentCustomizationDependency

type SsoSubsetSubsetEnrollmentCustomizationDependency struct {
	Name              string `json:"name"`
	HumanReadableName string `json:"humanReadableName"`
	Hyperlink         string `json:"hyperlink"`
}

type StandardPaginatedResponse

type StandardPaginatedResponse struct {
	Size    int           `json:"totalCount"`
	Results []interface{} `json:"results"`
}

type UploadProgressPercentage

type UploadProgressPercentage struct {
	Filename  string
	TotalSize int64
	SeenSoFar int64
}

type UserExtensionAttributesListItem

type UserExtensionAttributesListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 UserGroupsListItem struct {
	ID               int    `xml:"id"`
	Name             string `xml:"name"`
	IsSmart          bool   `xml:"is_smart"`
	IsNotifyOnChange bool   `xml:"is_notify_on_change"`
}

type UserSubsetExtensionAttribute

type UserSubsetExtensionAttribute struct {
	ID    int    `xml:"id"`
	Name  string `xml:"name"`
	Type  string `xml:"type"`
	Value string `xml:"value"`
}

type UserSubsetExtensionAttributes

type UserSubsetExtensionAttributes struct {
	Attributes []UserSubsetExtensionAttribute `xml:"extension_attribute"`
}

type UserSubsetLDAPServer

type UserSubsetLDAPServer struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}
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 UserSubsetLinksListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type UsersListItem

type UsersListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type VPPAccountsListItem

type VPPAccountsListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

type VPPAssignmentSubsetGeneral

type VPPAssignmentSubsetGeneral struct {
	ID                  int    `xml:"id"`
	Name                string `xml:"name"`
	VPPAdminAccountID   int    `xml:"vpp_admin_account_id"`
	VPPAdminAccountName string `xml:"vpp_admin_account_name"`
}

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 VPPAssignmentsListItem struct {
	ID                int    `xml:"id"`
	VPPAdminAccountID int    `xml:"vpp_admin_account_id"`
	Name              string `xml:"name"`
}

type VPPSubsetVPPApp

type VPPSubsetVPPApp struct {
	AdamID int    `xml:"adam_id"`
	Name   string `xml:"name"`
}

type VPPSubsetVPPUser

type VPPSubsetVPPUser struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

Struct for VPP user

type VPPSubsetVPPUserGroup

type VPPSubsetVPPUserGroup struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

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 VolumePurchasingSubscriptionSubsetExternalRecipients

type VolumePurchasingSubscriptionSubsetExternalRecipients struct {
	Name  string `json:"name,omitempty"`
	Email string `json:"email,omitempty"`
}

type VolumePurchasingSubscriptionSubsetInternalRecipients

type VolumePurchasingSubscriptionSubsetInternalRecipients struct {
	AccountId string `json:"accountId,omitempty"`
	Frequency string `json:"frequency,omitempty"`
}

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

type WebhooksListItem struct {
	ID   int    `xml:"id"`
	Name string `xml:"name"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL