ruby-jss 4.2.3 → 4.2.4b1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGES.md +11 -1
 - data/LICENSE.txt +5 -3
 - data/README.md +3 -1
 - data/bin/cgrouper +4 -22
 - data/bin/jamfHelperBackgrounder +4 -22
 - data/bin/netseg-update +4 -22
 - data/data/ruby-jss.conf.example +4 -22
 - data/lib/jamf/api/classic/api_objects/account.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/advanced_computer_search.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/advanced_mobile_device_search.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/advanced_user_search.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/building.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/categorizable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/category.rb +7 -24
 - data/lib/jamf/api/classic/api_objects/computer.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/computer_extension_attribute.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/computer_group.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/computer_invitation.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/creatable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/criteriable/criteria.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/criteriable/criterion.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/criteriable.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/department.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/directory_binding.rb +221 -247
 - data/lib/jamf/api/classic/api_objects/directory_binding_type/active_directory.rb +492 -526
 - data/lib/jamf/api/classic/api_objects/directory_binding_type/admitmac.rb +27 -55
 - data/lib/jamf/api/classic/api_objects/directory_binding_type/centrify.rb +191 -220
 - data/lib/jamf/api/classic/api_objects/directory_binding_type/directory_binding_type.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/directory_binding_type/open_directory.rb +142 -169
 - data/lib/jamf/api/classic/api_objects/directory_binding_type/powerbroker_identity_services.rb +37 -57
 - data/lib/jamf/api/classic/api_objects/directory_binding_type.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/disk_encryption_configuration.rb +90 -84
 - data/lib/jamf/api/classic/api_objects/distribution_point.rb +6 -24
 - data/lib/jamf/api/classic/api_objects/dock_item.rb +11 -34
 - data/lib/jamf/api/classic/api_objects/ebook.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/extendable.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/ibeacon.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/icon.rb +5 -23
 - data/lib/jamf/api/classic/api_objects/ldap_server.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/locatable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/mac_application.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/management_history/audit_event.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history/casper_imaging_log.rb +5 -24
 - data/lib/jamf/api/classic/api_objects/management_history/casper_remote_log.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history/computer_usage_log.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history/ebook.rb +4 -26
 - data/lib/jamf/api/classic/api_objects/management_history/hash_like.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/management_history/mac_app_store_app.rb +4 -26
 - data/lib/jamf/api/classic/api_objects/management_history/mdm_command.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history/mobile_device_app.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history/policy_log.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history/screen_sharing_log.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history/user_location_change.rb +4 -25
 - data/lib/jamf/api/classic/api_objects/management_history.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/matchable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/mdm.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/mobile_device.rb +7 -23
 - data/lib/jamf/api/classic/api_objects/mobile_device_application.rb +7 -23
 - data/lib/jamf/api/classic/api_objects/mobile_device_configuration_profile.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/mobile_device_extension_attribute.rb +3 -20
 - data/lib/jamf/api/classic/api_objects/mobile_device_group.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/netboot_server.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/network_segment.rb +7 -23
 - data/lib/jamf/api/classic/api_objects/osx_configuration_profile.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/package.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/patch_external_source.rb +7 -24
 - data/lib/jamf/api/classic/api_objects/patch_internal_source.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/patch_policy.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/patch_title/version.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/patch_title.rb +8 -24
 - data/lib/jamf/api/classic/api_objects/peripheral.rb +7 -24
 - data/lib/jamf/api/classic/api_objects/peripheral_type.rb +7 -26
 - data/lib/jamf/api/classic/api_objects/policy.rb +6 -22
 - data/lib/jamf/api/classic/api_objects/printer.rb +384 -388
 - data/lib/jamf/api/classic/api_objects/purchasable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/removable_macaddr.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/restricted_software.rb +7 -24
 - data/lib/jamf/api/classic/api_objects/scopable/scope.rb +2 -19
 - data/lib/jamf/api/classic/api_objects/scopable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/script.rb +5 -23
 - data/lib/jamf/api/classic/api_objects/self_servable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/sitable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/site.rb +2 -20
 - data/lib/jamf/api/classic/api_objects/software_update_server.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/updatable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/uploadable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/user.rb +6 -24
 - data/lib/jamf/api/classic/api_objects/user_extension_attribute.rb +2 -19
 - data/lib/jamf/api/classic/api_objects/user_group.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/vpp_account.rb +6 -23
 - data/lib/jamf/api/classic/api_objects/vppable.rb +4 -22
 - data/lib/jamf/api/classic/api_objects/web_hook.rb +4 -20
 - data/lib/jamf/api/classic/base_classes/advanced_search.rb +9 -25
 - data/lib/jamf/api/classic/base_classes/api_object.rb +7 -24
 - data/lib/jamf/api/classic/base_classes/configuration_profile.rb +5 -22
 - data/lib/jamf/api/classic/base_classes/extension_attribute.rb +6 -23
 - data/lib/jamf/api/classic/base_classes/group.rb +6 -22
 - data/lib/jamf/api/classic/base_classes/patch_source.rb +4 -22
 - data/lib/jamf/api/classic/xml_workaround.rb +4 -22
 - data/lib/jamf/api/connection/attributes.rb +4 -21
 - data/lib/jamf/api/connection/cache.rb +4 -21
 - data/lib/jamf/api/connection/classic_api.rb +4 -21
 - data/lib/jamf/api/connection/connect.rb +4 -21
 - data/lib/jamf/api/connection/constants.rb +7 -23
 - data/lib/jamf/api/connection/default_connection.rb +4 -21
 - data/lib/jamf/api/connection/jamf_pro_api.rb +4 -21
 - data/lib/jamf/api/connection/jamf_pro_api_error.rb +2 -20
 - data/lib/jamf/api/connection/token.rb +2 -20
 - data/lib/jamf/api/connection.rb +4 -21
 - data/lib/jamf/api/jamf_pro/api_objects/api_client.rb +2 -20
 - data/lib/jamf/api/jamf_pro/api_objects/api_integration.rb +2 -20
 - data/lib/jamf/api/jamf_pro/api_objects/api_role.rb +2 -20
 - data/lib/jamf/api/jamf_pro/api_objects/computer_prestage.rb +2 -23
 - data/lib/jamf/api/jamf_pro/api_objects/device_enrollment.rb +2 -20
 - data/lib/jamf/api/jamf_pro/api_objects/inventory_preload_record.rb +2 -20
 - data/lib/jamf/api/jamf_pro/api_objects/j_building.rb +2 -20
 - data/lib/jamf/api/jamf_pro/api_objects/j_package.rb +2 -20
 - data/lib/jamf/api/jamf_pro/api_objects/managed_software_updates/plan.rb +2 -19
 - data/lib/jamf/api/jamf_pro/api_objects/managed_software_updates.rb +2 -19
 - data/lib/jamf/api/jamf_pro/api_objects/mobile_device_prestage.rb +2 -20
 - data/lib/jamf/api/jamf_pro/base_classes/oapi_object.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/bulk_deletable.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/change_log.rb +2 -20
 - data/lib/jamf/api/jamf_pro/mixins/collection_resource.rb +2 -20
 - data/lib/jamf/api/jamf_pro/mixins/computer_recovery_lock.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/filevault.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/filterable.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/immutable.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/jpapi_resource.rb +2 -20
 - data/lib/jamf/api/jamf_pro/mixins/lockable.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/macos_redeploy_mgmt_framework.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/prestage.rb +2 -20
 - data/lib/jamf/api/jamf_pro/mixins/sortable.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/uncreatable.rb +2 -19
 - data/lib/jamf/api/jamf_pro/mixins/undeletable.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb +12 -31
 - data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/account_settings_request.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/account_settings_response.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_error.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_error_cause.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_request.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_response.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_search_result.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_role.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_role_request.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/api_role_result.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/assign_remove_profile_response_sync_state.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account_v1.rb +11 -30
 - data/lib/jamf/api/jamf_pro/oapi_schemas/authentication_type.rb +13 -32
 - data/lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/available_updates.rb +4 -25
 - data/lib/jamf/api/jamf_pro/oapi_schemas/building.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/building_search_results.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_application.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_attachment.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb +12 -31
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_configuration_profile.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching.rb +10 -29
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_alert.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_cache_detail.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error_user_info.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_alert.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_capabilities.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_details.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_local_network.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk_encryption.rb +7 -26
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute.rb +12 -31
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_file_vault.rb +7 -26
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_local_user_account.rb +12 -31
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_mdm_capability.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system.rb +8 -27
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_package_receipts.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition.rb +6 -25
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_encryption.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_file_vault2_state.rb +14 -33
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_plugin.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results_v3.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_v3.rb +6 -26
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_printer.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_remote_management.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_section.rb +28 -47
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_security.rb +28 -47
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_service.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_software_update.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_storage.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/computer_user_and_location.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device_search_results.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_response.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_search_results.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_sync_status.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_token.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/dss_declaration.rb +8 -27
 - data/lib/jamf/api/jamf_pro/oapi_schemas/dss_declarations.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v3.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/group_membership.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results_v1.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/location_information_v2.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update_response.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_event_store.rb +4 -25
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_group_post.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_post.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_post_response.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle.rb +4 -25
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle_status.rb +14 -33
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle_status_wrapper.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plans.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_status.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_statuses.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name_v2.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names_v2.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/o_auth_client_credentials.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_note.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_v1.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/package.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/packages_search_results.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/plan_configuration_post.rb +17 -36
 - data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device.rb +7 -26
 - data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device_post.rb +7 -26
 - data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device_response.rb +2 -23
 - data/lib/jamf/api/jamf_pro/oapi_schemas/plan_group_post.rb +6 -25
 - data/lib/jamf/api/jamf_pro/oapi_schemas/plan_search_results.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/plan_status.rb +36 -55
 - data/lib/jamf/api/jamf_pro/oapi_schemas/post_computer_prestage_v3.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information_v2.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment_v2.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v3.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage_v2.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/redeploy_jamf_management_framework_response.rb +2 -19
 - data/lib/jamf/api/jamf_pro/oapi_schemas/v1_site.rb +3 -24
 - data/lib/jamf/api/jamf_pro/oapi_schemas.rb +2 -19
 - data/lib/jamf/api/jamf_pro/other_classes/change_log_entry.rb +2 -20
 - data/lib/jamf/api/jamf_pro/other_classes/ip_address.rb +2 -20
 - data/lib/jamf/api/jamf_pro/other_classes/pager.rb +2 -19
 - data/lib/jamf/api/jamf_pro/other_classes/timestamp.rb +2 -20
 - data/lib/jamf/base_class.rb +2 -19
 - data/lib/jamf/client/jamf_binary.rb +4 -22
 - data/lib/jamf/client/jamf_helper.rb +4 -22
 - data/lib/jamf/client/management_action.rb +4 -22
 - data/lib/jamf/client.rb +4 -22
 - data/lib/jamf/composer.rb +2 -20
 - data/lib/jamf/configuration.rb +2 -20
 - data/lib/jamf/constants.rb +2 -20
 - data/lib/jamf/db_connection.rb +5 -23
 - data/lib/jamf/deprecations/deprecated_api_connection_class.rb +2 -20
 - data/lib/jamf/deprecations/deprecated_api_constant.rb +2 -20
 - data/lib/jamf/deprecations/deprecated_config_constant.rb +2 -20
 - data/lib/jamf/deprecations.rb +4 -22
 - data/lib/jamf/exceptions.rb +2 -20
 - data/lib/jamf/oapi_validate.rb +2 -19
 - data/lib/jamf/ruby_extensions/array/predicates.rb +2 -20
 - data/lib/jamf/ruby_extensions/array/utils.rb +2 -20
 - data/lib/jamf/ruby_extensions/array.rb +2 -20
 - data/lib/jamf/ruby_extensions/filetest/predicates.rb +2 -20
 - data/lib/jamf/ruby_extensions/filetest.rb +2 -20
 - data/lib/jamf/ruby_extensions/hash/utils.rb +2 -44
 - data/lib/jamf/ruby_extensions/hash.rb +2 -20
 - data/lib/jamf/ruby_extensions/ipaddr/utils.rb +2 -20
 - data/lib/jamf/ruby_extensions/ipaddr.rb +4 -22
 - data/lib/jamf/ruby_extensions/object/predicates.rb +2 -20
 - data/lib/jamf/ruby_extensions/object.rb +2 -20
 - data/lib/jamf/ruby_extensions/pathname/predicates.rb +2 -20
 - data/lib/jamf/ruby_extensions/pathname/utils.rb +2 -20
 - data/lib/jamf/ruby_extensions/pathname.rb +2 -20
 - data/lib/jamf/ruby_extensions/string/conversions.rb +2 -20
 - data/lib/jamf/ruby_extensions/string/predicates.rb +2 -20
 - data/lib/jamf/ruby_extensions/string.rb +2 -20
 - data/lib/jamf/ruby_extensions/time/utils.rb +4 -22
 - data/lib/jamf/ruby_extensions/time.rb +4 -22
 - data/lib/jamf/ruby_extensions.rb +4 -22
 - data/lib/jamf/utility.rb +2 -20
 - data/lib/jamf/validate.rb +2 -19
 - data/lib/jamf/version.rb +5 -23
 - data/lib/jamf/zeitwerk_config.rb +2 -20
 - data/lib/jamf.rb +2 -20
 - data/lib/jss-api.rb +4 -22
 - data/lib/jss.rb +4 -22
 - data/lib/ruby-jss.rb +4 -22
 - data/test/bin/runtests +4 -22
 - data/test/lib/jamf_test/APITest.rb +4 -22
 - data/test/lib/jamf_test/advanced_search.rb +4 -22
 - data/test/lib/jamf_test/auth.rb +4 -22
 - data/test/lib/jamf_test/collection_tests.rb +4 -22
 - data/test/lib/jamf_test/prestage_tests.rb +4 -22
 - data/test/lib/jamf_test.rb +4 -22
 - data/test/tests/advanced_computer_search.rb +4 -22
 - data/test/tests/advanced_mobile_device_search.rb +4 -22
 - data/test/tests/advanced_user_search.rb +4 -22
 - data/test/tests/building.rb +4 -22
 - data/test/tests/category.rb +4 -22
 - data/test/tests/computer.rb +4 -22
 - data/test/tests/computer_group.rb +4 -22
 - data/test/tests/computer_prestage.rb +4 -22
 - data/test/tests/department.rb +4 -22
 - data/test/tests/device_enrollment.rb +4 -22
 - data/test/tests/inventory_preload_record.rb +4 -22
 - data/test/tests/j_building.rb +4 -22
 - data/test/tests/j_package.rb +4 -22
 - data/test/tests/mobile_device.rb +4 -22
 - data/test/tests/mobile_device_prestage.rb +4 -22
 - data/test/tests/policy.rb +4 -22
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a544da5b747af64ba1444694eb45f1cacaac53ffbafab5c36d0756f0d9a8f8f3
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: d71ab7ea4d9eb175a80e034a7301cba735b26374db942de067d9da643261f4ad
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1ad6622d83afa5f7aa57d5040f20fb74757516597696257cf8218371b3ccf22f6e1f1282045c693abc37df81390c67254815366ba35e301a7dcf01da568491fe
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 23be6fd7009a6cb1c73257d153b1d424052ba06d70589ea485ad3fc21af4a6230f687a7acc0c9e2f255b70df5adfa5c30f51b695ab4a6eecc3e6d347835fb2c0
         
     | 
    
        data/CHANGES.md
    CHANGED
    
    | 
         @@ -14,12 +14,22 @@ __Please update all installations of ruby-jss to at least v1.6.0.__ 
     | 
|
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
            Many many thanks to actae0n of Blacksun Hackers Club for reporting this issue and providing examples of how it could be exploited.
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
      
 17 
     | 
    
         
            +
            --------
         
     | 
| 
      
 18 
     | 
    
         
            +
            ## \[Unreleased] 
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            ### Changed
         
     | 
| 
      
 21 
     | 
    
         
            +
              - Use the 'TOMORROW OPEN SOURCE TECHNOLOGY LICENSE 1.0' (TOST) License 
         
     | 
| 
      
 22 
     | 
    
         
            +
                - The terms are unchanged, but it now has an offical name.
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            ### Fixed
         
     | 
| 
      
 25 
     | 
    
         
            +
              - Resolved [GitHub Issue 106](https://github.com/PixarAnimationStudios/ruby-jss/issues/106). REXML v3.4.3 or higher doesn't allow the creation of REXML::Document instances without a root element. Many thanks to @hiboma for the  bug report
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
       17 
27 
     | 
    
         
             
            --------
         
     | 
| 
       18 
28 
     | 
    
         
             
            ## \[4.2.3] 2025-09-23
         
     | 
| 
       19 
29 
     | 
    
         | 
| 
       20 
30 
     | 
    
         
             
            ### Fixed
         
     | 
| 
       21 
31 
     | 
    
         
             
              - Fixed bug were `#save` was not returning the object's Jamf ID when updating scopable objects.
         
     | 
| 
       22 
     | 
    
         
            -
              - Fixed bug where `Jamf::Policy#retry_event=`  
     | 
| 
      
 32 
     | 
    
         
            +
              - Fixed bug where `Jamf::Policy#retry_event=` raised error when no retry_attempts are defined.
         
     | 
| 
       23 
33 
     | 
    
         | 
| 
       24 
34 
     | 
    
         
             
            --------
         
     | 
| 
       25 
35 
     | 
    
         
             
            ## \[4.2.2] 2025-09-06
         
     | 
    
        data/LICENSE.txt
    CHANGED
    
    | 
         @@ -1,8 +1,8 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            TOMORROW OPEN SOURCE TECHNOLOGY LICENSE 1.0
         
     | 
| 
       1 
2 
     | 
    
         | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
      
 3 
     | 
    
         
            +
            The Tomorrow Open Source Technology License 1.0 differs from the original Apache License 2.0 in the following manner.  The scope of the trademark grant in section 6 is different.
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
               TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
         
     | 
| 
      
 5 
     | 
    
         
            +
            TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
               1. Definitions.
         
     | 
| 
       8 
8 
     | 
    
         | 
| 
         @@ -172,3 +172,5 @@ 
     | 
|
| 
       172 
172 
     | 
    
         
             
                  defend, and hold each Contributor harmless for any liability
         
     | 
| 
       173 
173 
     | 
    
         
             
                  incurred by, or claims asserted against, such Contributor by reason
         
     | 
| 
       174 
174 
     | 
    
         
             
                  of your accepting any such warranty or additional liability.
         
     | 
| 
      
 175 
     | 
    
         
            +
             
     | 
| 
      
 176 
     | 
    
         
            +
            END OF TERMS AND CONDITIONS
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -501,4 +501,6 @@ If you have questions or feedback about ruby-jss, please reach out to us via: 
     | 
|
| 
       501 
501 
     | 
    
         | 
| 
       502 
502 
     | 
    
         
             
            Copyright 2025 Pixar
         
     | 
| 
       503 
503 
     | 
    
         | 
| 
       504 
     | 
    
         
            -
            Licensed under  
     | 
| 
      
 504 
     | 
    
         
            +
            Licensed under the TOMORROW OPEN SOURCE TECHNOLOGY LICENSE 1.0
         
     | 
| 
      
 505 
     | 
    
         
            +
             
     | 
| 
      
 506 
     | 
    
         
            +
            Please see the LICENSE.txt file available at the root of this project.
         
     | 
    
        data/bin/cgrouper
    CHANGED
    
    | 
         @@ -1,27 +1,9 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       8 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       9 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       10 
     | 
    
         
            -
            ###
         
     | 
| 
       11 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       12 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       13 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       14 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       19 
     | 
    
         
            -
            ###
         
     | 
| 
       20 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       21 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       22 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       23 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       24 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 6 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
       26 
8 
     | 
    
         
             
            # Create or change the membership of a computer group in the JSS
         
     | 
| 
       27 
9 
     | 
    
         | 
    
        data/bin/jamfHelperBackgrounder
    CHANGED
    
    | 
         @@ -1,27 +1,9 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       8 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       9 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       10 
     | 
    
         
            -
            ###
         
     | 
| 
       11 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       12 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       13 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       14 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       19 
     | 
    
         
            -
            ###
         
     | 
| 
       20 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       21 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       22 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       23 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       24 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 6 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
       26 
8 
     | 
    
         
             
            # == Synopsis
         
     | 
| 
       27 
9 
     | 
    
         
             
            #   Run the jamfHelper program as a detached background process, optionally
         
     | 
    
        data/bin/netseg-update
    CHANGED
    
    | 
         @@ -1,27 +1,9 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       8 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       9 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       10 
     | 
    
         
            -
            ###
         
     | 
| 
       11 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       12 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       13 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       14 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       19 
     | 
    
         
            -
            ###
         
     | 
| 
       20 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       21 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       22 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       23 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       24 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 6 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
       26 
8 
     | 
    
         
             
            # == Synopsis
         
     | 
| 
       27 
9 
     | 
    
         
             
            #   Add, remove, or change the Network Segments in the JSS based on data from an input file
         
     | 
    
        data/data/ruby-jss.conf.example
    CHANGED
    
    | 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         | 
| 
       25 
7 
     | 
    
         
             
            #####################
         
     | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -118,7 +100,7 @@ module Jamf 
     | 
|
| 
       118 
100 
     | 
    
         
             
                  return nil if new_val == @priority
         
     | 
| 
       119 
101 
     | 
    
         | 
| 
       120 
102 
     | 
    
         
             
                  unless POSSIBLE_PRIORITIES.include? new_val
         
     | 
| 
       121 
     | 
    
         
            -
                    raise Jamf::InvalidDataError, 
     | 
| 
      
 103 
     | 
    
         
            +
                    raise Jamf::InvalidDataError,
         
     | 
| 
       122 
104 
     | 
    
         
             
                          "priority must be an integer between #{POSSIBLE_PRIORITIES.first} and #{POSSIBLE_PRIORITIES.last} (inclusive)"
         
     | 
| 
       123 
105 
     | 
    
         
             
                  end
         
     | 
| 
       124 
106 
     | 
    
         | 
| 
         @@ -138,7 +120,8 @@ module Jamf 
     | 
|
| 
       138 
120 
     | 
    
         
             
                #
         
     | 
| 
       139 
121 
     | 
    
         
             
                def rest_xml
         
     | 
| 
       140 
122 
     | 
    
         
             
                  doc = REXML::Document.new Jamf::Connection::XML_HEADER
         
     | 
| 
       141 
     | 
    
         
            -
                   
     | 
| 
      
 123 
     | 
    
         
            +
                  doc.root.name = self.class::RSRC_OBJECT_KEY.to_s
         
     | 
| 
      
 124 
     | 
    
         
            +
                  tmpl = doc.root
         
     | 
| 
       142 
125 
     | 
    
         
             
                  tmpl.add_element('name').text = @name
         
     | 
| 
       143 
126 
     | 
    
         
             
                  tmpl.add_element('priority').text = @priority
         
     | 
| 
       144 
127 
     | 
    
         
             
                  doc.to_s
         
     | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1362,7 +1344,8 @@ module Jamf 
     | 
|
| 
       1362 
1344 
     | 
    
         
             
                #
         
     | 
| 
       1363 
1345 
     | 
    
         
             
                def rest_xml
         
     | 
| 
       1364 
1346 
     | 
    
         
             
                  doc = REXML::Document.new Jamf::Connection::XML_HEADER
         
     | 
| 
       1365 
     | 
    
         
            -
                   
     | 
| 
      
 1347 
     | 
    
         
            +
                  doc.root.name = self.class::RSRC_OBJECT_KEY.to_s
         
     | 
| 
      
 1348 
     | 
    
         
            +
                  computer = doc.root
         
     | 
| 
       1366 
1349 
     | 
    
         | 
| 
       1367 
1350 
     | 
    
         
             
                  general = computer.add_element('general')
         
     | 
| 
       1368 
1351 
     | 
    
         
             
                  general.add_element('name').text = @name
         
     | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Copyright 2025 Pixar
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            #
         
     | 
| 
       4 
     | 
    
         
            -
            #    Licensed under the Apache License, Version 2.0 (the "Apache License")
         
     | 
| 
       5 
     | 
    
         
            -
            #    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            #    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            #    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            #
         
     | 
| 
       9 
     | 
    
         
            -
            #    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            #       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            #       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            #       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            #
         
     | 
| 
       14 
     | 
    
         
            -
            #    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            #
         
     | 
| 
       16 
     | 
    
         
            -
            #        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
2 
     | 
    
         
             
            #
         
     | 
| 
       18 
     | 
    
         
            -
            #     
     | 
| 
       19 
     | 
    
         
            -
            #     
     | 
| 
       20 
     | 
    
         
            -
            #    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            #    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            #    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         | 
| 
       24 
6 
     | 
    
         
             
            module Jamf
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Copyright 2025 Pixar
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            #
         
     | 
| 
       4 
     | 
    
         
            -
            #    Licensed under the Apache License, Version 2.0 (the "Apache License")
         
     | 
| 
       5 
     | 
    
         
            -
            #    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            #    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            #    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            #
         
     | 
| 
       9 
     | 
    
         
            -
            #    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            #       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            #       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            #       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            #
         
     | 
| 
       14 
     | 
    
         
            -
            #    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            #
         
     | 
| 
       16 
     | 
    
         
            -
            #        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
2 
     | 
    
         
             
            #
         
     | 
| 
       18 
     | 
    
         
            -
            #     
     | 
| 
       19 
     | 
    
         
            -
            #     
     | 
| 
       20 
     | 
    
         
            -
            #    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            #    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            #    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            #
         
     | 
| 
       24 
6 
     | 
    
         
             
            #
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -180,7 +162,8 @@ module Jamf 
     | 
|
| 
       180 
162 
     | 
    
         
             
                #
         
     | 
| 
       181 
163 
     | 
    
         
             
                def rest_xml
         
     | 
| 
       182 
164 
     | 
    
         
             
                  doc = REXML::Document.new Jamf::Connection::XML_HEADER
         
     | 
| 
       183 
     | 
    
         
            -
                   
     | 
| 
      
 165 
     | 
    
         
            +
                  doc.root.name = self.class::RSRC_OBJECT_KEY.to_s
         
     | 
| 
      
 166 
     | 
    
         
            +
                  obj = doc.root
         
     | 
| 
       184 
167 
     | 
    
         
             
                  obj.add_element('invitation_type').text = invitation_type
         
     | 
| 
       185 
168 
     | 
    
         
             
                  obj.add_element('create_account_if_does_not_exist').text = create_account_if_does_not_exist
         
     | 
| 
       186 
169 
     | 
    
         
             
                  obj.add_element('expiration_date_epoch').text = expiration_date_epoch if expiration_date_epoch
         
     | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         | 
| 
         @@ -1,25 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
            ###    with the following modification; you may not use this file except in
         
     | 
| 
       6 
     | 
    
         
            -
            ###    compliance with the Apache License and the following modification to it:
         
     | 
| 
       7 
     | 
    
         
            -
            ###    Section 6. Trademarks. is deleted and replaced with:
         
     | 
| 
       8 
     | 
    
         
            -
            ###
         
     | 
| 
       9 
     | 
    
         
            -
            ###    6. Trademarks. This License does not grant permission to use the trade
         
     | 
| 
       10 
     | 
    
         
            -
            ###       names, trademarks, service marks, or product names of the Licensor
         
     | 
| 
       11 
     | 
    
         
            -
            ###       and its affiliates, except as required to comply with Section 4(c) of
         
     | 
| 
       12 
     | 
    
         
            -
            ###       the License and to reproduce the content of the NOTICE file.
         
     | 
| 
       13 
     | 
    
         
            -
            ###
         
     | 
| 
       14 
     | 
    
         
            -
            ###    You may obtain a copy of the Apache License at
         
     | 
| 
       15 
     | 
    
         
            -
            ###
         
     | 
| 
       16 
     | 
    
         
            -
            ###        http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
       17 
     | 
    
         
            -
            ###
         
     | 
| 
       18 
     | 
    
         
            -
            ###    Unless required by applicable law or agreed to in writing, software
         
     | 
| 
       19 
     | 
    
         
            -
            ###    distributed under the Apache License with the above modification is
         
     | 
| 
       20 
     | 
    
         
            -
            ###    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         
     | 
| 
       21 
     | 
    
         
            -
            ###    KIND, either express or implied. See the Apache License for the specific
         
     | 
| 
       22 
     | 
    
         
            -
            ###    language governing permissions and limitations under the Apache License.
         
     | 
| 
      
 1 
     | 
    
         
            +
            # Copyright 2025 Pixar
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    Licensed under the terms set forth in the LICENSE.txt file available at
         
     | 
| 
      
 4 
     | 
    
         
            +
            #    at the root of this project.
         
     | 
| 
       23 
5 
     | 
    
         
             
            ###
         
     | 
| 
       24 
6 
     | 
    
         
             
            ###
         
     | 
| 
       25 
7 
     | 
    
         |