ruby-jss 2.0.0a11 → 2.0.0b5
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 +1 -0
- data/README-2.0.0.md +59 -35
- data/README.md +227 -172
- data/lib/jamf/api/classic/api_objects/computer.rb +18 -15
- data/lib/jamf/api/classic/api_objects/computer_group.rb +1 -0
- data/lib/jamf/api/classic/api_objects/criteriable.rb +1 -1
- data/lib/jamf/api/classic/api_objects/distribution_point.rb +12 -50
- data/lib/jamf/api/classic/api_objects/mdm.rb +40 -24
- data/lib/jamf/api/classic/api_objects/mobile_device.rb +8 -12
- data/lib/jamf/api/classic/api_objects/mobile_device_application.rb +35 -6
- data/lib/jamf/api/classic/api_objects/patch_title.rb +14 -9
- data/lib/jamf/api/classic/api_objects/policy.rb +8 -17
- data/lib/jamf/api/classic/api_objects/script.rb +1 -1
- data/lib/jamf/api/classic/base_classes/advanced_search.rb +4 -4
- data/lib/jamf/api/classic/base_classes/api_object.rb +94 -35
- data/lib/jamf/api/classic/base_classes/extension_attribute.rb +2 -2
- data/lib/jamf/api/classic/base_classes/group.rb +57 -40
- data/lib/jamf/api/classic/base_classes/patch_source.rb +10 -5
- data/lib/jamf/api/connection/attributes.rb +51 -4
- data/lib/jamf/api/connection/classic_api.rb +2 -1
- data/lib/jamf/api/connection/connect.rb +49 -2
- data/lib/jamf/api/connection/constants.rb +6 -0
- data/lib/jamf/api/connection/jamf_pro_api.rb +6 -2
- data/lib/jamf/api/connection/token.rb +10 -3
- data/lib/jamf/api/connection.rb +1 -1
- data/lib/jamf/api/jamf_pro/api_objects/inventory_preload_record.rb +9 -1
- data/lib/jamf/api/jamf_pro/base_classes/oapi_object.rb +15 -9
- data/lib/jamf/api/jamf_pro/mixins/collection_resource.rb +8 -12
- data/lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb +178 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_preview_search_results.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/access_groups_v2_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/account.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/{access_groups_search_results.rb → account_driven_user_enrollment_session_token_settings.rb} +14 -14
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v4.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_history.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_history_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/active_patch_summary.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/admin_account.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_criteria_choices.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_search_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/advanced_user_content_search_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/android_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_error.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/api_error_cause.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_analytics_setting.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_dynamics_config.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_path.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_form_input_field_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/app_request_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/apple_tv_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/application_attributes.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/application_configuration.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/assign_remove_profile_response_sync_state.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/attributes.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/auth_token_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/authorization.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/{deprecated_configuration_search_results.rb → available_updates.rb} +12 -20
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_process_status.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_mappings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/azure_server_configuration_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/branding_image_url.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/building.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/building_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cache_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/category.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_details.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_key.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/classic_ldap_mappings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/client_check_in_v3.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_id_p_common_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_pool_statistics.rb +1 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_connection_status.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore.rb +1 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_keystore_file.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_request.rb +1 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_mappings_response.rb +1 -9
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/cloud_ldap_server_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_application.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_attachment.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb +26 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_configuration_profile.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_alert.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_cache_detail.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error_user_info.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_alert.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_capabilities.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_local_network.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk_encryption.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/{mdm_signing_certificate.rb → computer_group.rb} +18 -24
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/{computer_inventory_response.rb → computer_inventory.rb} +4 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_preferences.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_recovery_lock_password_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_search_results.rb +4 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_update_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_local_user_account.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_location.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_mdm_capability.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_overview.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_package_receipts.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_encryption.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_file_vault2_state.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_plugin.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_printer.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_remote_management.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_section.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_security.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_service.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_software_update.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_storage.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_user_and_location.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/computers_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_profile.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/configuration_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_candidate_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_status_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/connection_configuration_update_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/country.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/country_codes.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/create_path.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/csa_token.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/current_account.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/current_authorization.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/data_roaming_setting.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/database_password.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/day_of_week.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/delete_user_command.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/department.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/departments_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/deployment_task_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_communication_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_compliance_information.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_body.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_sync_status.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_token.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/diagnostic_submission_setting.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_exclusions.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_limitations.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_scope.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ebook_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enable_lost_mode_command.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/engage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_preview.rb +12 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_branding_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependencies.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_dependency.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_ldap_group_access.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_ldap_auth.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_list.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_sso_auth.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_panel_text.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_search_results_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_v2.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_process_text_object.rb +5 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/export_field.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/export_parameters.rb +5 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attribute.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attribute_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/external_recipient.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_delete.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/file_attachment_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/filter.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/font_path.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_ldap_auth.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_sso_auth.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_enrollment_customization_panel_text.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_mappings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_membership.rb +2 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_request.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/group_test_search_response.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results.rb +1 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/href_response.rb +3 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/icon_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/id_and_name.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/id_and_name_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ids.rb +5 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/initialize.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/initialize_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/install_package.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/integer_wrapper.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/internal_recipient.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_information.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_error.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_error_cause.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_csv_validation_success.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute_column_result.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_invalid_csv_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_configuration.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ios_branding_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ios_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ios_details_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_application_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_nation_credentials.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_package_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/{enrollment_access_group.rb → jamf_pro_information_v2.rb} +35 -34
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_server_url.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_version.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/language_code.rb +5 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_configuration_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_group_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/ldap_server.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/linked_connect_profile_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/locale.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/location.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/location_information_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/location_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_configuration.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_branding_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update.rb +28 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update_response.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/markdown.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_client_type.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_client.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_state.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_type.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/membership_mappings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_request.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_response.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/memcached_endpoints.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_application.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_attachment.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_attachment_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_certificate_v2.rb +61 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_get_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_details_v2.rb +7 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_ebook.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_group.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_params.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_search_results_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/network.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/network_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/notification.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/notification_type.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/notification_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/object_history.rb +1 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_note.rb +1 -6
- data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/order_by.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/package_manifest.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/parent_app.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_ids_on_dashboard.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_attempt.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_attempt_action.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_log_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_on_dashboard.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_policy_summary.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/patch_version.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/personal_hotspot_setting.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/plan_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/plugin_path.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/policy_properties_v1.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/post_computer_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependencies.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_dependency.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_file_attachment_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_sync_status_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/process_texts_search_results.rb +3 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/protect_registration_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/protect_settings_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/protect_updatable_settings_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/provisioning_profile.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/purchasing.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/purchasing_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/recalculation_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/recipient.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/recipients.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/redeploy_jamf_management_framework_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/reenrollment.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/remote_administration_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/renew_mdm_profile_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/restart_device_command.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/retry_patch_policy_params.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/{safelisted_apps.rb → safelisted_app.rb} +15 -11
- data/lib/jamf/api/jamf_pro/oapi_schemas/script.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/search_active_patch_history_params.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/search_patch_policy_log_params.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/security.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/security_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_install_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_interaction_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_login_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/self_service_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/session.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_candidate_request.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_details_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/session_status.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/set_recovery_lock_command.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/settings_command.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/shared_device_configuration.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/signature.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/site.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/smart_search_criterion.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/software_title_configuration.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/software_title_patch_policy_summaries.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/software_update_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_cert_parse_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_parse.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_response_with_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_keystore_with_details.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_metadata_url.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/sso_settings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/startup_status.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/static_user_group.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_certificate_upload.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_create.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/supervision_identity_update.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_features.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_request.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/teacher_settings_response.rb +5 -5
- data/lib/jamf/api/jamf_pro/oapi_schemas/time_frame.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/time_zone.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/tv_os_details.rb +9 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/udids.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_apple_tv.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_ios.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_ios_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_mobile_device_v2.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/update_tv_os.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_attributes.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_mappings.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_request.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/user_test_search_response.rb +1 -4
- data/lib/jamf/api/jamf_pro/oapi_schemas/v1_site.rb +3 -3
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_ca_record.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_pki_payload_record_search_results.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/venafi_service_status.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/verbose_package_deployment_response.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/voice_roaming_setting.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_content.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_list_view.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_patch.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_location_post.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_locations.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscription_base.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/volume_purchasing_subscriptions.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/vpp_admin_account.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/vpp_token_subscription.rb +1 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/web_link.rb +1 -2
- data/lib/jamf/client/jamf_binary.rb +76 -77
- data/lib/jamf/client/jamf_helper.rb +245 -235
- data/lib/jamf/client/management_action.rb +63 -53
- data/lib/jamf/client.rb +3 -3
- data/lib/jamf/deprecations/deprecated_api_connection_class.rb +29 -0
- data/lib/jamf/deprecations/deprecated_api_constant.rb +3 -1
- data/lib/jamf/deprecations/deprecated_config_constant.rb +3 -1
- data/lib/jamf/version.rb +1 -1
- data/lib/jamf/zeitwerk_config.rb +217 -0
- data/lib/jamf.rb +7 -39
- data/test/{README.md → README-TEST.md} +3 -0
- data/test/bin/runtests +42 -2
- data/test/lib/jamf_test/collection_tests.rb +4 -7
- data/test/tests/building.rb +41 -0
- data/test/tests/computer.rb +41 -0
- data/test/tests/computer_group.rb +132 -0
- data/test/tests/department.rb +41 -0
- data/test/tests/mobile_device.rb +41 -0
- data/test/tests/policy.rb +39 -50
- metadata +35 -54
- data/lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v1.rb +0 -102
- data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_request.rb +0 -92
- data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_response.rb +0 -105
- data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_update.rb +0 -92
- data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_request.rb +0 -166
- data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_response.rb +0 -163
- data/lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_update.rb +0 -171
- data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings.rb +0 -264
- data/lib/zeitwerk_config.rb +0 -163
|
@@ -35,7 +35,6 @@ module Jamf
|
|
|
35
35
|
|
|
36
36
|
include Comparable
|
|
37
37
|
|
|
38
|
-
|
|
39
38
|
# Public Class Methods
|
|
40
39
|
#####################################
|
|
41
40
|
|
|
@@ -49,7 +48,7 @@ module Jamf
|
|
|
49
48
|
# and will cause Jamf::Resource.save to raise an error
|
|
50
49
|
#
|
|
51
50
|
def self.mutable?
|
|
52
|
-
|
|
51
|
+
!singleton_class.ancestors.include? Jamf::Immutable
|
|
53
52
|
end
|
|
54
53
|
|
|
55
54
|
# An array of attribute names that are required when
|
|
@@ -111,7 +110,6 @@ module Jamf
|
|
|
111
110
|
# Private Class Methods
|
|
112
111
|
#####################################
|
|
113
112
|
|
|
114
|
-
|
|
115
113
|
# create a getter for an attribute, and any aliases needed
|
|
116
114
|
##############################
|
|
117
115
|
def self.create_getters(attr_name, attr_def)
|
|
@@ -345,7 +343,6 @@ module Jamf
|
|
|
345
343
|
# Constructor
|
|
346
344
|
#####################################
|
|
347
345
|
|
|
348
|
-
|
|
349
346
|
# Make an instance. Data comes from the API
|
|
350
347
|
#
|
|
351
348
|
# @param data[Hash] the data for constructing a new object.
|
|
@@ -377,7 +374,7 @@ module Jamf
|
|
|
377
374
|
# Are objects of this class mutable?
|
|
378
375
|
# @see the class method in OAPIObject
|
|
379
376
|
def mutable?
|
|
380
|
-
|
|
377
|
+
self.class.mutable?
|
|
381
378
|
end
|
|
382
379
|
|
|
383
380
|
# a hash of all unsaved changes
|
|
@@ -399,6 +396,7 @@ module Jamf
|
|
|
399
396
|
|
|
400
397
|
# skip those that don't have any changes
|
|
401
398
|
next unless value.respond_to? :unsaved_changes?
|
|
399
|
+
|
|
402
400
|
attr_changes = value.unsaved_changes
|
|
403
401
|
next if attr_changes.empty?
|
|
404
402
|
|
|
@@ -433,7 +431,7 @@ module Jamf
|
|
|
433
431
|
end
|
|
434
432
|
|
|
435
433
|
# @return [Hash] The data to be sent to the API, as a Hash
|
|
436
|
-
# to be converted to JSON
|
|
434
|
+
# to be converted to JSON before sending to the JPAPI
|
|
437
435
|
#
|
|
438
436
|
def to_jamf
|
|
439
437
|
jamf_data = {}
|
|
@@ -444,6 +442,13 @@ module Jamf
|
|
|
444
442
|
jamf_data
|
|
445
443
|
end
|
|
446
444
|
|
|
445
|
+
# @return [String] the JSON to be sent to the API for this
|
|
446
|
+
# object
|
|
447
|
+
#
|
|
448
|
+
def to_json(*_args)
|
|
449
|
+
to_jamf.to_json
|
|
450
|
+
end
|
|
451
|
+
|
|
447
452
|
# Print the JSON version of the to_jamf outout
|
|
448
453
|
# mostly for debugging/troubleshooting
|
|
449
454
|
def pretty_jamf_json
|
|
@@ -543,7 +548,7 @@ module Jamf
|
|
|
543
548
|
parse_enum_value(api_value, attr_name, attr_def)
|
|
544
549
|
|
|
545
550
|
# a Class value
|
|
546
|
-
|
|
551
|
+
elsif attr_def[:class].instance_of? Class
|
|
547
552
|
attr_def[:class].new api_value
|
|
548
553
|
|
|
549
554
|
# a :j_id value. See the docs for OAPI_PROPERTIES in Jamf::OAPIObject
|
|
@@ -562,12 +567,13 @@ module Jamf
|
|
|
562
567
|
# @return (see parse_single_init_value)
|
|
563
568
|
#
|
|
564
569
|
def parse_enum_value(api_value, attr_name, attr_def)
|
|
565
|
-
Jamf::Validate.in_enum api_value, enum: attr_def[:enum],
|
|
570
|
+
Jamf::Validate.in_enum api_value, enum: attr_def[:enum],
|
|
571
|
+
msg: "#{api_value} is not in the allowed values for attribute #{attr_name}. Must be one of: #{attr_def[:enum].join ', '}"
|
|
566
572
|
end
|
|
567
573
|
|
|
568
574
|
# call to_jamf on a single value if it knows that method
|
|
569
575
|
#
|
|
570
|
-
def single_to_jamf(raw_value,
|
|
576
|
+
def single_to_jamf(raw_value, _attr_def)
|
|
571
577
|
raw_value.respond_to?(:to_jamf) ? raw_value.to_jamf : raw_value
|
|
572
578
|
end
|
|
573
579
|
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
#
|
|
25
25
|
|
|
26
26
|
module Jamf
|
|
27
|
+
|
|
27
28
|
# A Collection Resource in Jamf Pro
|
|
28
29
|
#
|
|
29
30
|
# See {Jamf::Resource} for general info about API resources.
|
|
@@ -60,6 +61,7 @@ module Jamf
|
|
|
60
61
|
# @abstract
|
|
61
62
|
######################################
|
|
62
63
|
module CollectionResource
|
|
64
|
+
|
|
63
65
|
include Jamf::JPAPIResource
|
|
64
66
|
|
|
65
67
|
# when this module is included, also extend our Class Methods
|
|
@@ -71,6 +73,7 @@ module Jamf
|
|
|
71
73
|
# Class Methods
|
|
72
74
|
#####################################
|
|
73
75
|
module ClassMethods
|
|
76
|
+
|
|
74
77
|
# 'include' all of these, so their methods become defined in this
|
|
75
78
|
# module, and will become Class Methods when this module
|
|
76
79
|
# is extended.
|
|
@@ -128,7 +131,6 @@ module Jamf
|
|
|
128
131
|
@patch_path ||= defined?(self::PATCH_PATH) ? self::PATCH_PATH : self::LIST_PATH
|
|
129
132
|
end
|
|
130
133
|
|
|
131
|
-
|
|
132
134
|
# The path for POSTing to create a single object in the collection.
|
|
133
135
|
#
|
|
134
136
|
# Classes including CollectionResource really need to define POST_PATH if it
|
|
@@ -256,7 +258,6 @@ module Jamf
|
|
|
256
258
|
#
|
|
257
259
|
######################################
|
|
258
260
|
def all(sort: nil, filter: nil, instantiate: false, cnx: Jamf.cnx, refresh: nil)
|
|
259
|
-
|
|
260
261
|
# if we are here, we need to query for all items, possibly filtered and
|
|
261
262
|
# sorted
|
|
262
263
|
sort = Jamf::Sortable.parse_url_sort_param(sort)
|
|
@@ -287,7 +288,6 @@ module Jamf
|
|
|
287
288
|
# arbitrary pages from the collection.
|
|
288
289
|
#
|
|
289
290
|
def pager(page_size: Jamf::Pager::DEFAULT_PAGE_SIZE, sort: nil, filter: nil, instantiate: false, cnx: Jamf.cnx)
|
|
290
|
-
|
|
291
291
|
sort = Jamf::Sortable.parse_url_sort_param(sort)
|
|
292
292
|
filter = filterable? ? Jamf::Filterable.parse_url_filter_param(filter) : nil
|
|
293
293
|
|
|
@@ -325,7 +325,6 @@ module Jamf
|
|
|
325
325
|
|
|
326
326
|
raise Jamf::NoSuchItemError, "No attribute :#{to} for class #{self}" unless self::OAPI_PROPERTIES.key? to
|
|
327
327
|
|
|
328
|
-
|
|
329
328
|
list = cached_list || all(cnx: cnx)
|
|
330
329
|
to_class = self::OAPI_PROPERTIES[to][:class]
|
|
331
330
|
to_multi = self::OAPI_PROPERTIES[to][:multi]
|
|
@@ -362,7 +361,7 @@ module Jamf
|
|
|
362
361
|
# raw_data some_value
|
|
363
362
|
#
|
|
364
363
|
# If some_value is an integer or a string containing an integer, it
|
|
365
|
-
# is assumed to be an :id otherwise all the available identifers
|
|
364
|
+
# is assumed to be an :id, otherwise all the available identifers
|
|
366
365
|
# are searched, in the order you see them when you call <class>.identifiers
|
|
367
366
|
#
|
|
368
367
|
# If no matching object is found, nil is returned.
|
|
@@ -382,8 +381,6 @@ module Jamf
|
|
|
382
381
|
#
|
|
383
382
|
######################################
|
|
384
383
|
def raw_data(searchterm = nil, ident: nil, value: nil, cnx: Jamf.cnx)
|
|
385
|
-
|
|
386
|
-
|
|
387
384
|
# given a value with no ident key
|
|
388
385
|
return raw_data_by_searchterm_only(searchterm, cnx: cnx) if searchterm
|
|
389
386
|
|
|
@@ -491,15 +488,13 @@ module Jamf
|
|
|
491
488
|
#
|
|
492
489
|
# @return [Boolean]
|
|
493
490
|
######################################
|
|
494
|
-
|
|
491
|
+
def creatable?
|
|
495
492
|
true
|
|
496
493
|
end
|
|
497
494
|
|
|
498
495
|
# Make a new thing to be added to the API
|
|
499
496
|
######################################
|
|
500
497
|
def create(**params)
|
|
501
|
-
|
|
502
|
-
|
|
503
498
|
# no such animal when .creating
|
|
504
499
|
params.delete :id
|
|
505
500
|
|
|
@@ -582,7 +577,7 @@ module Jamf
|
|
|
582
577
|
def delete(*ids, cnx: Jamf.cnx)
|
|
583
578
|
raise Jamf::UnsupportedError, "Deleting #{self} objects is not currently supported" unless deletable?
|
|
584
579
|
|
|
585
|
-
return bulk_delete(ids, cnx: Jamf.cnx) if
|
|
580
|
+
return bulk_delete(ids, cnx: Jamf.cnx) if bulk_deletable?
|
|
586
581
|
|
|
587
582
|
errs = []
|
|
588
583
|
ids.each do |id_to_delete|
|
|
@@ -650,7 +645,6 @@ module Jamf
|
|
|
650
645
|
raise NoMethodError, "no method '#{list_method_name}': '#{attr_name}' is not an indentifier for #{self}"
|
|
651
646
|
end
|
|
652
647
|
end
|
|
653
|
-
|
|
654
648
|
end # create_identifier_list_method
|
|
655
649
|
private :create_identifier_list_method
|
|
656
650
|
|
|
@@ -758,5 +752,7 @@ module Jamf
|
|
|
758
752
|
raise Jamf::MissingDataError, "Attribute '#{attr_name}' cannot be nil, must be a #{attr_def[:class]}"
|
|
759
753
|
end
|
|
760
754
|
end
|
|
755
|
+
|
|
761
756
|
end # class CollectionResource
|
|
757
|
+
|
|
762
758
|
end # module JAMF
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# Copyright 2022 Pixar
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
|
4
|
+
# with the following modification; you may not use this file except in
|
|
5
|
+
# compliance with the Apache License and the following modification to it:
|
|
6
|
+
# Section 6. Trademarks. is deleted and replaced with:
|
|
7
|
+
#
|
|
8
|
+
# 6. Trademarks. This License does not grant permission to use the trade
|
|
9
|
+
# names, trademarks, service marks, or product names of the Licensor
|
|
10
|
+
# and its affiliates, except as required to comply with Section 4(c) of
|
|
11
|
+
# the License and to reproduce the content of the NOTICE file.
|
|
12
|
+
#
|
|
13
|
+
# You may obtain a copy of the Apache License at
|
|
14
|
+
#
|
|
15
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
#
|
|
17
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
# distributed under the Apache License with the above modification is
|
|
19
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
20
|
+
# KIND, either express or implied. See the Apache License for the specific
|
|
21
|
+
# language governing permissions and limitations under the Apache License.
|
|
22
|
+
#
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
module Jamf
|
|
26
|
+
|
|
27
|
+
# This module should be mixed in to Jamf::Computer and Jamf::ComputerGroup
|
|
28
|
+
#
|
|
29
|
+
# It provides access to the macos-managed-software-updates JPAPI resource for
|
|
30
|
+
# managed OS update commands to managed macs running Big Sur or higher.
|
|
31
|
+
#
|
|
32
|
+
module MacOSManagedUpdates
|
|
33
|
+
|
|
34
|
+
# when this module is included, also extend our Class Methods
|
|
35
|
+
def self.included(includer)
|
|
36
|
+
Jamf.load_msg "--> #{includer} is including Jamf::MacOSManagedUpdates"
|
|
37
|
+
includer.extend(ClassMethods)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# These resources in the Jamf Pro API can be used to send Managed macOS
|
|
41
|
+
# updates to clients running Big Sur or higher
|
|
42
|
+
MANAGED_SW_UPDATES_RSRC = 'v1/macos-managed-software-updates'
|
|
43
|
+
|
|
44
|
+
# GETting this resource provides a list of available OS versions
|
|
45
|
+
MANAGED_SW_UPDATES_AVAILABLE_VERSIONS_RSRC = "#{MANAGED_SW_UPDATES_RSRC}/available-updates"
|
|
46
|
+
|
|
47
|
+
# POSTing JSON data to this resource will send the MDM commands to install os updates
|
|
48
|
+
# For details about the data to send, see
|
|
49
|
+
# https://developer.jamf.com/jamf-pro/reference/post_v1-macos-managed-software-updates-send-updates
|
|
50
|
+
MANAGED_SW_UPDATES_SEND_UPDATES_RSRC = "#{MANAGED_SW_UPDATES_RSRC}/send-updates"
|
|
51
|
+
|
|
52
|
+
# These are the options available in Jamf::OAPISchemas::MacOsManagedSoftwareUpdate::UPDATE_ACTION_OPTIONS
|
|
53
|
+
DOWNLOAD_AND_INSTALL = 'DOWNLOAD_AND_INSTALL'
|
|
54
|
+
DOWNLOAD_ONLY = 'DOWNLOAD_ONLY'
|
|
55
|
+
|
|
56
|
+
# Class Methods
|
|
57
|
+
#####################################
|
|
58
|
+
module ClassMethods
|
|
59
|
+
|
|
60
|
+
# when this module is included, also extend our Class Methods
|
|
61
|
+
def self.extended(extender)
|
|
62
|
+
Jamf.load_msg "--> #{extender} is extending Jamf::MacOSManagedUpdates::ClassMethods"
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# get the list of available OS versions
|
|
66
|
+
#
|
|
67
|
+
# @return [Array<String>]
|
|
68
|
+
###################
|
|
69
|
+
def available_os_updates(cnx: Jamf.cnx)
|
|
70
|
+
data = cnx.jp_get(MANAGED_SW_UPDATES_AVAILABLE_VERSIONS_RSRC)
|
|
71
|
+
Jamf::OAPISchemas::AvailableUpdates.new(data).availableUpdates
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Send the os update command to target Computers or a ComputerGroup
|
|
75
|
+
#
|
|
76
|
+
# @param updateAction [String] Required. 'DOWNLOAD_AND_INSTALL' or 'DOWNLOAD_ONLY'
|
|
77
|
+
#
|
|
78
|
+
# @param deviceIds [String, Integer, Array<String, Integer>] Identifiers for the
|
|
79
|
+
# computer targets. Required if no groupId is given.
|
|
80
|
+
#
|
|
81
|
+
# @param groupId [String, Integer] Identifier for the computer group target.
|
|
82
|
+
# Requied if no deviceIDs are given.
|
|
83
|
+
#
|
|
84
|
+
# @param maxDeferrals [Integer] Allow users to defer the update the provided number
|
|
85
|
+
# of times before macOS forces the update. If a value is provided, the Software
|
|
86
|
+
# Update will use the InstallLater install action. MaxDeferral is ignored if using the
|
|
87
|
+
# DOWNLOAD_ONLY updateAction.
|
|
88
|
+
#
|
|
89
|
+
# @param version [String] The OS version to install. If no value is provided, the
|
|
90
|
+
# version will default to latest version based on device eligibility.
|
|
91
|
+
#
|
|
92
|
+
# @param skipVersionVerification [Boolean] Should the specified version be installed
|
|
93
|
+
# even it it isn't applicable to this machine? If no value is provided, will default to false.
|
|
94
|
+
# If true, the specified version will be forced to complete DownloadAndInstall
|
|
95
|
+
# install action.
|
|
96
|
+
#
|
|
97
|
+
# @param applyMajorUpdate [Boolean] Available only when updating to the latest version
|
|
98
|
+
# based on device eligibility. Defaults to false. If false the calculated latest version
|
|
99
|
+
# will only include minor version updates. If a value is provided, the calculated latest
|
|
100
|
+
# version will include minor and major version updates.
|
|
101
|
+
#
|
|
102
|
+
# @param forceRestart [Boolean] Will default to false. Can only be true if updateAction
|
|
103
|
+
# is DOWNLOAD_AND_INSTALLn and the devices the command is sent to are on macOs 11 or higher.
|
|
104
|
+
# If true, the DownloadAndInstall action is performed, a restart will be forced.
|
|
105
|
+
# MaxDeferral will be ignored if true.
|
|
106
|
+
#
|
|
107
|
+
# @param cnx [Jamf::Connection] The API connection to use. Defaults to Jamf.cnx
|
|
108
|
+
#
|
|
109
|
+
# @return [Jamf::OAPISchemas::MacOsManagedSoftwareUpdateResponse]
|
|
110
|
+
########################
|
|
111
|
+
def send_managed_os_update(updateAction:, deviceIds: nil, groupId: nil, maxDeferrals: nil, version: nil, skipVersionVerification: false, applyMajorUpdate: false, forceRestart: false, cnx: Jamf.cnx)
|
|
112
|
+
if self == Jamf::Computer
|
|
113
|
+
raise ArgumentError, 'Must provide one or more deviceIds' unless deviceIds
|
|
114
|
+
elsif self == Jamf::ComputerGroup
|
|
115
|
+
raise ArgumentError, 'Must provide a groupId' unless groupId
|
|
116
|
+
else
|
|
117
|
+
raise Jamf::UnsupportedError, 'This method is only available for Jamf::Computer and Jamf::ComputerGroup'
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if version
|
|
121
|
+
available_versions = available_os_updates
|
|
122
|
+
raise ArgumentError, "Invalid version, must be one of: #{available_versions.join ', '}" unless available_versions.include? version
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if deviceIds
|
|
126
|
+
deviceIds = [deviceIds] unless deviceIds.is_a?(Array)
|
|
127
|
+
deviceIds.map! { |id| valid_id id }
|
|
128
|
+
end
|
|
129
|
+
groupId = valid_id groupId if groupId
|
|
130
|
+
|
|
131
|
+
data = {}
|
|
132
|
+
# ids in the JPAPI are string containing integers
|
|
133
|
+
data[:deviceIds] = deviceIds.map(&:to_s) if deviceIds
|
|
134
|
+
data[:groupId] = groupId.to_s if groupId
|
|
135
|
+
|
|
136
|
+
data[:maxDeferrals] = maxDeferrals if maxDeferrals
|
|
137
|
+
data[:version] = version if version
|
|
138
|
+
data[:skipVersionVerification] = skipVersionVerification if skipVersionVerification
|
|
139
|
+
data[:applyMajorUpdate] = applyMajorUpdate if applyMajorUpdate
|
|
140
|
+
data[:updateAction] = updateAction if updateAction
|
|
141
|
+
data[:forceRestart] = forceRestart if forceRestart
|
|
142
|
+
|
|
143
|
+
payload = Jamf::OAPISchemas::MacOsManagedSoftwareUpdate.new(data).to_json
|
|
144
|
+
|
|
145
|
+
result = cnx.jp_post MANAGED_SW_UPDATES_SEND_UPDATES_RSRC, payload
|
|
146
|
+
Jamf::OAPISchemas::MacOsManagedSoftwareUpdateResponse.new result
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
end # module ClassMethods
|
|
150
|
+
|
|
151
|
+
# Instance Methods
|
|
152
|
+
######################################
|
|
153
|
+
|
|
154
|
+
# Send a managed update command to an instance of Computer or ComputerGroup.
|
|
155
|
+
# This just calls the class method of the same name.
|
|
156
|
+
#
|
|
157
|
+
# @see MacOSManagedUpdates.send_managed_os_update
|
|
158
|
+
#
|
|
159
|
+
def send_managed_os_update(updateAction:, maxDeferrals: nil, version: nil, skipVersionVerification: false, applyMajorUpdate: false, forceRestart: false, cnx: Jamf.cnx)
|
|
160
|
+
deviceIds = is_a?(Jamf::Computer) ? @id : nil
|
|
161
|
+
groupId = is_a?(Jamf::Computer) ? nil : @id
|
|
162
|
+
|
|
163
|
+
self.class.send_managed_os_update(
|
|
164
|
+
deviceIds: deviceIds,
|
|
165
|
+
groupId: groupId,
|
|
166
|
+
maxDeferrals: maxDeferrals,
|
|
167
|
+
version: version,
|
|
168
|
+
skipVersionVerification: skipVersionVerification,
|
|
169
|
+
applyMajorUpdate: applyMajorUpdate,
|
|
170
|
+
forceRestart: forceRestart,
|
|
171
|
+
updateAction: updateAction,
|
|
172
|
+
cnx: @cnx
|
|
173
|
+
)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
end # module MacOSManagedUpdates
|
|
177
|
+
|
|
178
|
+
end # module Jamf
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -58,7 +57,7 @@ module Jamf
|
|
|
58
57
|
# Endpoints and Privileges:
|
|
59
58
|
# API endpoints and HTTP operations that use this object
|
|
60
59
|
# model, and the Jamf Pro privileges needed to access them.
|
|
61
|
-
# - '/
|
|
60
|
+
# - '/v3/enrollment/access-groups:GET' needs permissions:
|
|
62
61
|
# - Read User-Initiated Enrollment
|
|
63
62
|
#
|
|
64
63
|
#
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -31,12 +30,12 @@ module Jamf
|
|
|
31
30
|
module OAPISchemas
|
|
32
31
|
|
|
33
32
|
|
|
34
|
-
# OAPI Object Model and Enums for:
|
|
33
|
+
# OAPI Object Model and Enums for: AccountDrivenUserEnrollmentSessionTokenSettings
|
|
35
34
|
#
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -53,37 +52,38 @@ module Jamf
|
|
|
53
52
|
#
|
|
54
53
|
# Sub Objects:
|
|
55
54
|
# Other object models used by this model's attributes.
|
|
56
|
-
#
|
|
55
|
+
#
|
|
57
56
|
#
|
|
58
57
|
# Endpoints and Privileges:
|
|
59
58
|
# API endpoints and HTTP operations that use this object
|
|
60
59
|
# model, and the Jamf Pro privileges needed to access them.
|
|
61
|
-
# - '/v1/
|
|
60
|
+
# - '/v1/adue-session-token-settings:GET' needs permissions:
|
|
62
61
|
# - Read User-Initiated Enrollment
|
|
62
|
+
# - '/v1/adue-session-token-settings:PUT' needs permissions:
|
|
63
|
+
# - Update User-Initiated Enrollment
|
|
63
64
|
#
|
|
64
65
|
#
|
|
65
|
-
class
|
|
66
|
+
class AccountDrivenUserEnrollmentSessionTokenSettings < Jamf::OAPIObject
|
|
66
67
|
|
|
67
68
|
|
|
68
69
|
|
|
69
70
|
OAPI_PROPERTIES = {
|
|
70
71
|
|
|
71
|
-
# @!attribute
|
|
72
|
+
# @!attribute expirationIntervalDays
|
|
72
73
|
# @return [Integer]
|
|
73
|
-
|
|
74
|
+
expirationIntervalDays: {
|
|
74
75
|
class: :integer
|
|
75
76
|
},
|
|
76
77
|
|
|
77
|
-
# @!attribute
|
|
78
|
-
# @return [
|
|
79
|
-
|
|
80
|
-
class:
|
|
81
|
-
multi: true
|
|
78
|
+
# @!attribute enabled
|
|
79
|
+
# @return [Boolean]
|
|
80
|
+
enabled: {
|
|
81
|
+
class: :boolean
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
} # end OAPI_PROPERTIES
|
|
85
85
|
|
|
86
|
-
end # class
|
|
86
|
+
end # class AccountDrivenUserEnrollmentSessionTokenSettings
|
|
87
87
|
|
|
88
88
|
end # module OAPISchemas
|
|
89
89
|
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
# KIND, either express or implied. See the Apache License for the specific
|
|
21
21
|
# language governing permissions and limitations under the Apache License.
|
|
22
22
|
#
|
|
23
|
-
#
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
module Jamf
|
|
@@ -36,7 +35,7 @@ module Jamf
|
|
|
36
35
|
#
|
|
37
36
|
#
|
|
38
37
|
# This class was automatically genereated from the api/schema
|
|
39
|
-
# URL path on a Jamf Pro server version 10.
|
|
38
|
+
# URL path on a Jamf Pro server version 10.40.0-t1657115323
|
|
40
39
|
#
|
|
41
40
|
# This class may be used directly, e.g instances of other classes may
|
|
42
41
|
# use instances of this class as one of their own properties/attributes.
|