ruby-jss 2.0.0a11 → 2.0.0b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README-2.0.0.md +45 -32
- 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/mdm.rb +40 -24
- data/lib/jamf/api/classic/api_objects/mobile_device.rb +8 -12
- 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 +25 -25
- 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/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 +9 -3
- data/lib/jamf/api/connection.rb +4 -0
- data/lib/jamf/api/jamf_pro/api_objects/inventory_preload_record.rb +10 -1
- data/lib/jamf/api/jamf_pro/base_classes/oapi_object.rb +15 -9
- data/lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb +168 -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_constant.rb +3 -1
- data/lib/jamf/deprecations/deprecated_config_constant.rb +3 -1
- data/lib/jamf/version.rb +1 -1
- data/lib/zeitwerk_config.rb +5 -5
- 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 +38 -50
- metadata +27 -35
- 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/test/tests/policy.rb
CHANGED
@@ -35,22 +35,26 @@ module JamfTest
|
|
35
35
|
|
36
36
|
# The main test method for this class
|
37
37
|
def run_class_tests
|
38
|
-
# we
|
38
|
+
# policies are special so we define all the object tests here
|
39
39
|
run_collection_tests do_object_tests: false
|
40
40
|
|
41
|
-
|
42
|
-
# add_data_to_new_pol
|
43
|
-
end
|
41
|
+
create_new
|
44
42
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
43
|
+
add_data_to_new
|
44
|
+
|
45
|
+
# save_new
|
46
|
+
# fetch_new
|
47
|
+
# validate_fetched
|
48
|
+
# modify_fetched
|
49
|
+
# re_save_fetched
|
50
|
+
# re_fetch
|
51
|
+
# validate_changes
|
52
|
+
# delete
|
53
|
+
# confirm_deleted
|
50
54
|
end
|
51
55
|
|
52
56
|
#################
|
53
|
-
def
|
57
|
+
def add_data_to_new
|
54
58
|
set_new_pol_category
|
55
59
|
set_new_pol_pkg
|
56
60
|
set_new_pol_trigger
|
@@ -59,94 +63,79 @@ module JamfTest
|
|
59
63
|
|
60
64
|
#################
|
61
65
|
def set_new_pol_category
|
62
|
-
# DEPRECATED - should raise an error, but eventually will not
|
66
|
+
# DEPRECATED - should raise an error, but eventually will not until saved.
|
63
67
|
begin
|
64
|
-
@
|
68
|
+
@unsaved_new_object.category = 'foo-this-is-not-a-real-category'
|
65
69
|
rescue Jamf::NoSuchItemError
|
66
70
|
nil
|
67
71
|
end
|
68
|
-
@
|
72
|
+
@unsaved_new_object.category = pol_category
|
69
73
|
say "Set policy category to: #{pol_category}"
|
70
74
|
end
|
71
75
|
|
72
76
|
#################
|
73
77
|
def set_new_pol_pkg
|
74
|
-
# DEPRECATED - should raise an error, but eventually will not
|
78
|
+
# DEPRECATED - should raise an error, but eventually will not until saved
|
75
79
|
begin
|
76
|
-
@
|
80
|
+
@unsaved_new_object.add_package 'foo'
|
77
81
|
rescue Jamf::NoSuchItemError
|
78
82
|
nil
|
79
83
|
end
|
80
|
-
@
|
81
|
-
|
82
|
-
say "Added policy pkg: #{@pkg_name}"
|
84
|
+
@unsaved_new_object.add_package pol_pkg
|
85
|
+
say "Added policy pkg: #{pol_pkg}"
|
83
86
|
end
|
84
87
|
|
85
88
|
#################
|
86
89
|
def set_new_pol_trigger
|
87
|
-
@
|
90
|
+
@unsaved_new_object.set_trigger_event :custom, CUSTOM_TRIGGER
|
88
91
|
say "Set policy trigger to: #{CUSTOM_TRIGGER}"
|
89
92
|
end
|
90
93
|
|
91
94
|
#################
|
92
95
|
def set_new_pol_scope
|
93
|
-
@
|
96
|
+
@unsaved_new_object.scope.add_target :computer, target_computer_name
|
94
97
|
say "Set policy scope targets to: #{@unsaved_new_pol.scope.targets}"
|
95
|
-
@
|
98
|
+
@unsaved_new_object.scope.add_exclusion :computer_group, excluded_group_name
|
96
99
|
say "Set policy scope targets to: #{@unsaved_new_pol.scope.exclusions}"
|
97
100
|
end
|
98
101
|
|
99
|
-
|
100
102
|
#################
|
101
|
-
def save_new_pol
|
102
|
-
|
103
|
-
end
|
103
|
+
def save_new_pol; end
|
104
104
|
|
105
105
|
#################
|
106
|
-
def fetch_new_pol
|
107
|
-
|
108
|
-
end
|
106
|
+
def fetch_new_pol; end
|
109
107
|
|
110
108
|
#################
|
111
|
-
def validate_new_pol
|
112
|
-
|
113
|
-
end
|
109
|
+
def validate_new_pol; end
|
114
110
|
|
115
111
|
#################
|
116
|
-
def modify_pol
|
117
|
-
|
118
|
-
end
|
112
|
+
def modify_pol; end
|
119
113
|
|
120
114
|
#################
|
121
|
-
def save_pol
|
122
|
-
|
123
|
-
end
|
115
|
+
def save_pol; end
|
124
116
|
|
125
117
|
#################
|
126
|
-
def re_fetch_pol
|
127
|
-
|
128
|
-
end
|
118
|
+
def re_fetch_pol; end
|
129
119
|
|
130
120
|
#################
|
131
|
-
def validate_changes
|
132
|
-
|
133
|
-
end
|
121
|
+
def validate_changes; end
|
134
122
|
|
135
123
|
#################
|
136
|
-
def delete_pol
|
137
|
-
|
138
|
-
end
|
124
|
+
def delete_pol; end
|
139
125
|
|
140
126
|
#################
|
141
|
-
def confirm_deleted
|
142
|
-
|
143
|
-
end
|
127
|
+
def confirm_deleted; end
|
144
128
|
|
145
129
|
#######
|
146
130
|
def pol_category
|
147
131
|
@pol_category ||= Jamf::Category.all_names.sample
|
148
132
|
end
|
149
133
|
|
134
|
+
#######
|
135
|
+
def pol_pkg
|
136
|
+
@pol_pkg ||= Jamf::Package.all_names.sample
|
137
|
+
end
|
138
|
+
|
150
139
|
########
|
151
140
|
def target_computer_name
|
152
141
|
@target_computer_name ||= Jamf::Computer.all_names.sample
|
@@ -157,7 +146,6 @@ module JamfTest
|
|
157
146
|
@excluded_group_name ||= Jamf::ComputerGroup.all_names.sample
|
158
147
|
end
|
159
148
|
|
160
|
-
|
161
149
|
end # class
|
162
150
|
|
163
151
|
end # module JamfTest
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-jss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.0b1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Lasell
|
8
8
|
- Aurica Hayes
|
9
9
|
- Kristoffer Landes
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-08-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: CFPropertyList
|
@@ -104,22 +104,22 @@ dependencies:
|
|
104
104
|
name: immutable-struct
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 2.3.0
|
110
107
|
- - "~>"
|
111
108
|
- !ruby/object:Gem::Version
|
112
109
|
version: '2.3'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 2.3.0
|
113
113
|
type: :runtime
|
114
114
|
prerelease: false
|
115
115
|
version_requirements: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - ">="
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: 2.3.0
|
120
117
|
- - "~>"
|
121
118
|
- !ruby/object:Gem::Version
|
122
119
|
version: '2.3'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 2.3.0
|
123
123
|
- !ruby/object:Gem::Dependency
|
124
124
|
name: zeitwerk
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,22 +144,16 @@ dependencies:
|
|
144
144
|
name: rexml
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- - "~>"
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '3.2'
|
150
147
|
- - ">="
|
151
148
|
- !ruby/object:Gem::Version
|
152
|
-
version: 3.
|
149
|
+
version: 3.1.9
|
153
150
|
type: :runtime
|
154
151
|
prerelease: false
|
155
152
|
version_requirements: !ruby/object:Gem::Requirement
|
156
153
|
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '3.2'
|
160
154
|
- - ">="
|
161
155
|
- !ruby/object:Gem::Version
|
162
|
-
version: 3.
|
156
|
+
version: 3.1.9
|
163
157
|
description: |
|
164
158
|
The ruby-jss gem provides native ruby access to the REST APIs of Jamf Pro,
|
165
159
|
an enterprise/education tool for managing Apple devices, from jamf.com.
|
@@ -307,15 +301,16 @@ files:
|
|
307
301
|
- lib/jamf/api/jamf_pro/mixins/immutable.rb
|
308
302
|
- lib/jamf/api/jamf_pro/mixins/jpapi_resource.rb
|
309
303
|
- lib/jamf/api/jamf_pro/mixins/lockable.rb
|
304
|
+
- lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb
|
310
305
|
- lib/jamf/api/jamf_pro/mixins/prestage.rb
|
311
306
|
- lib/jamf/api/jamf_pro/mixins/sortable.rb
|
312
307
|
- lib/jamf/api/jamf_pro/mixins/uncreatable.rb
|
313
308
|
- lib/jamf/api/jamf_pro/mixins/undeletable.rb
|
314
309
|
- lib/jamf/api/jamf_pro/oapi_schemas.rb
|
315
310
|
- lib/jamf/api/jamf_pro/oapi_schemas/access_groups_preview_search_results.rb
|
316
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/access_groups_search_results.rb
|
317
311
|
- lib/jamf/api/jamf_pro/oapi_schemas/access_groups_v2_search_results.rb
|
318
312
|
- lib/jamf/api/jamf_pro/oapi_schemas/account.rb
|
313
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/account_driven_user_enrollment_session_token_settings.rb
|
319
314
|
- lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb
|
320
315
|
- lib/jamf/api/jamf_pro/oapi_schemas/account_preferences.rb
|
321
316
|
- lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb
|
@@ -349,6 +344,7 @@ files:
|
|
349
344
|
- lib/jamf/api/jamf_pro/oapi_schemas/auth_token_v1.rb
|
350
345
|
- lib/jamf/api/jamf_pro/oapi_schemas/authorization.rb
|
351
346
|
- lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb
|
347
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/available_updates.rb
|
352
348
|
- lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_process_status.rb
|
353
349
|
- lib/jamf/api/jamf_pro/oapi_schemas/azure_ad_migration_report_request.rb
|
354
350
|
- lib/jamf/api/jamf_pro/oapi_schemas/azure_configuration.rb
|
@@ -365,7 +361,6 @@ files:
|
|
365
361
|
- lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb
|
366
362
|
- lib/jamf/api/jamf_pro/oapi_schemas/category.rb
|
367
363
|
- lib/jamf/api/jamf_pro/oapi_schemas/certificate_details.rb
|
368
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v1.rb
|
369
364
|
- lib/jamf/api/jamf_pro/oapi_schemas/certificate_identity_v2.rb
|
370
365
|
- lib/jamf/api/jamf_pro/oapi_schemas/certificate_key.rb
|
371
366
|
- lib/jamf/api/jamf_pro/oapi_schemas/certificate_record.rb
|
@@ -404,13 +399,14 @@ files:
|
|
404
399
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb
|
405
400
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb
|
406
401
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_general_update.rb
|
402
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/computer_group.rb
|
407
403
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb
|
408
404
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware_update.rb
|
409
405
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb
|
406
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb
|
410
407
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_preferences.rb
|
411
408
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_collection_settings.rb
|
412
409
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_recovery_lock_password_response.rb
|
413
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_response.rb
|
414
410
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_search_results.rb
|
415
411
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_update_request.rb
|
416
412
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb
|
@@ -459,13 +455,6 @@ files:
|
|
459
455
|
- lib/jamf/api/jamf_pro/oapi_schemas/departments_search_results.rb
|
460
456
|
- lib/jamf/api/jamf_pro/oapi_schemas/deployment_task.rb
|
461
457
|
- lib/jamf/api/jamf_pro/oapi_schemas/deployment_task_search_results.rb
|
462
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_request.rb
|
463
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_response.rb
|
464
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_search_results.rb
|
465
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/deprecated_configuration_update.rb
|
466
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_request.rb
|
467
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_response.rb
|
468
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/deprecated_server_update.rb
|
469
458
|
- lib/jamf/api/jamf_pro/oapi_schemas/device_communication_settings.rb
|
470
459
|
- lib/jamf/api/jamf_pro/oapi_schemas/device_compliance_information.rb
|
471
460
|
- lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb
|
@@ -486,7 +475,6 @@ files:
|
|
486
475
|
- lib/jamf/api/jamf_pro/oapi_schemas/ebook_search_results.rb
|
487
476
|
- lib/jamf/api/jamf_pro/oapi_schemas/enable_lost_mode_command.rb
|
488
477
|
- lib/jamf/api/jamf_pro/oapi_schemas/engage.rb
|
489
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group.rb
|
490
478
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_preview.rb
|
491
479
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_access_group_v2.rb
|
492
480
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization.rb
|
@@ -504,7 +492,6 @@ files:
|
|
504
492
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_customization_v2.rb
|
505
493
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb
|
506
494
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_process_text_object.rb
|
507
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings.rb
|
508
495
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_settings_v2.rb
|
509
496
|
- lib/jamf/api/jamf_pro/oapi_schemas/export_field.rb
|
510
497
|
- lib/jamf/api/jamf_pro/oapi_schemas/export_parameters.rb
|
@@ -563,6 +550,7 @@ files:
|
|
563
550
|
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_nation_credentials.rb
|
564
551
|
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_package_response.rb
|
565
552
|
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information.rb
|
553
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_information_v2.rb
|
566
554
|
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_server_url.rb
|
567
555
|
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_pro_version.rb
|
568
556
|
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb
|
@@ -591,7 +579,6 @@ files:
|
|
591
579
|
- lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_request.rb
|
592
580
|
- lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_state.rb
|
593
581
|
- lib/jamf/api/jamf_pro/oapi_schemas/mdm_command_type.rb
|
594
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/mdm_signing_certificate.rb
|
595
582
|
- lib/jamf/api/jamf_pro/oapi_schemas/membership_mappings.rb
|
596
583
|
- lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_request.rb
|
597
584
|
- lib/jamf/api/jamf_pro/oapi_schemas/membership_test_search_response.rb
|
@@ -681,7 +668,7 @@ files:
|
|
681
668
|
- lib/jamf/api/jamf_pro/oapi_schemas/renew_mdm_profile_response.rb
|
682
669
|
- lib/jamf/api/jamf_pro/oapi_schemas/restart_device_command.rb
|
683
670
|
- lib/jamf/api/jamf_pro/oapi_schemas/retry_patch_policy_params.rb
|
684
|
-
- lib/jamf/api/jamf_pro/oapi_schemas/
|
671
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/safelisted_app.rb
|
685
672
|
- lib/jamf/api/jamf_pro/oapi_schemas/script.rb
|
686
673
|
- lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb
|
687
674
|
- lib/jamf/api/jamf_pro/oapi_schemas/search_active_patch_history_params.rb
|
@@ -803,7 +790,7 @@ files:
|
|
803
790
|
- lib/jss.rb
|
804
791
|
- lib/ruby-jss.rb
|
805
792
|
- lib/zeitwerk_config.rb
|
806
|
-
- test/README.md
|
793
|
+
- test/README-TEST.md
|
807
794
|
- test/bin/runtests
|
808
795
|
- test/lib/jamf_test.rb
|
809
796
|
- test/lib/jamf_test/APITest.rb
|
@@ -814,18 +801,23 @@ files:
|
|
814
801
|
- test/tests/advanced_computer_search.rb
|
815
802
|
- test/tests/advanced_mobile_device_search.rb
|
816
803
|
- test/tests/advanced_user_search.rb
|
804
|
+
- test/tests/building.rb
|
817
805
|
- test/tests/category.rb
|
806
|
+
- test/tests/computer.rb
|
807
|
+
- test/tests/computer_group.rb
|
818
808
|
- test/tests/computer_prestage.rb
|
809
|
+
- test/tests/department.rb
|
819
810
|
- test/tests/device_enrollment.rb
|
820
811
|
- test/tests/inventory_preload_record.rb
|
821
812
|
- test/tests/jp_building.rb
|
813
|
+
- test/tests/mobile_device.rb
|
822
814
|
- test/tests/mobile_device_prestage.rb
|
823
815
|
- test/tests/policy.rb
|
824
816
|
homepage: http://pixaranimationstudios.github.io/ruby-jss/
|
825
817
|
licenses:
|
826
818
|
- Nonstandard
|
827
819
|
metadata: {}
|
828
|
-
post_install_message:
|
820
|
+
post_install_message:
|
829
821
|
rdoc_options:
|
830
822
|
- "--title"
|
831
823
|
- JSS
|
@@ -845,8 +837,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
845
837
|
- !ruby/object:Gem::Version
|
846
838
|
version: 1.3.1
|
847
839
|
requirements: []
|
848
|
-
rubygems_version: 3.
|
849
|
-
signing_key:
|
840
|
+
rubygems_version: 3.1.4
|
841
|
+
signing_key:
|
850
842
|
specification_version: 4
|
851
843
|
summary: A Ruby interface to the Jamf Pro REST APIs
|
852
844
|
test_files: []
|
@@ -1,102 +0,0 @@
|
|
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
|
-
|
26
|
-
module Jamf
|
27
|
-
|
28
|
-
# This module is the namespace for all objects defined
|
29
|
-
# in the OAPI JSON schema under the components => schemas key
|
30
|
-
#
|
31
|
-
module OAPISchemas
|
32
|
-
|
33
|
-
|
34
|
-
# OAPI Object Model and Enums for: CertificateIdentityV1
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
# This class was automatically genereated from the api/schema
|
39
|
-
# URL path on a Jamf Pro server version 10.36.1-t1645562643
|
40
|
-
#
|
41
|
-
# This class may be used directly, e.g instances of other classes may
|
42
|
-
# use instances of this class as one of their own properties/attributes.
|
43
|
-
#
|
44
|
-
# It may also be used as a superclass when implementing Jamf Pro API
|
45
|
-
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
46
|
-
# should expand on the basic functionality provided here.
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# Container Objects:
|
50
|
-
# Other object models that use this model as the value in one
|
51
|
-
# of their attributes.
|
52
|
-
# - Jamf::OAPISchemas::EnrollmentSettings
|
53
|
-
#
|
54
|
-
# Sub Objects:
|
55
|
-
# Other object models used by this model's attributes.
|
56
|
-
#
|
57
|
-
#
|
58
|
-
# Endpoints and Privileges:
|
59
|
-
# API endpoints and HTTP operations that use this object
|
60
|
-
# model, and the Jamf Pro privileges needed to access them.
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
class CertificateIdentityV1 < Jamf::OAPIObject
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
OAPI_PROPERTIES = {
|
69
|
-
|
70
|
-
# @!attribute filename
|
71
|
-
# @return [String]
|
72
|
-
filename: {
|
73
|
-
class: :string
|
74
|
-
},
|
75
|
-
|
76
|
-
# @!attribute keystorePassword
|
77
|
-
# @return [String]
|
78
|
-
keystorePassword: {
|
79
|
-
class: :string
|
80
|
-
},
|
81
|
-
|
82
|
-
# The base 64 encoded certificate. Will not be returned on a GET.
|
83
|
-
# @!attribute identityKeystore
|
84
|
-
# @return [String]
|
85
|
-
identityKeystore: {
|
86
|
-
class: :string
|
87
|
-
},
|
88
|
-
|
89
|
-
# The md5 checksum of the certificate file. Intended to be used in verifification the cert being used to sign QuickAdd packages.
|
90
|
-
# @!attribute md5Sum
|
91
|
-
# @return [String]
|
92
|
-
md5Sum: {
|
93
|
-
class: :string
|
94
|
-
}
|
95
|
-
|
96
|
-
} # end OAPI_PROPERTIES
|
97
|
-
|
98
|
-
end # class CertificateIdentityV1
|
99
|
-
|
100
|
-
end # module OAPISchemas
|
101
|
-
|
102
|
-
end # module Jamf
|
@@ -1,92 +0,0 @@
|
|
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
|
-
|
26
|
-
module Jamf
|
27
|
-
|
28
|
-
# This module is the namespace for all objects defined
|
29
|
-
# in the OAPI JSON schema under the components => schemas key
|
30
|
-
#
|
31
|
-
module OAPISchemas
|
32
|
-
|
33
|
-
|
34
|
-
# OAPI Object Model and Enums for: DeprecatedConfigurationRequest
|
35
|
-
#
|
36
|
-
# Description of this class from the OAPI Schema:
|
37
|
-
# An old Cloud Identity Provider configuration for requests
|
38
|
-
#
|
39
|
-
# This class was automatically genereated from the api/schema
|
40
|
-
# URL path on a Jamf Pro server version 10.36.1-t1645562643
|
41
|
-
#
|
42
|
-
# This class may be used directly, e.g instances of other classes may
|
43
|
-
# use instances of this class as one of their own properties/attributes.
|
44
|
-
#
|
45
|
-
# It may also be used as a superclass when implementing Jamf Pro API
|
46
|
-
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
47
|
-
# should expand on the basic functionality provided here.
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# Container Objects:
|
51
|
-
# Other object models that use this model as the value in one
|
52
|
-
# of their attributes.
|
53
|
-
#
|
54
|
-
#
|
55
|
-
# Sub Objects:
|
56
|
-
# Other object models used by this model's attributes.
|
57
|
-
# - Jamf::OAPISchemas::DeprecatedServerRequest
|
58
|
-
# - Jamf::OAPISchemas::CloudLdapMappingsRequest
|
59
|
-
#
|
60
|
-
# Endpoints and Privileges:
|
61
|
-
# API endpoints and HTTP operations that use this object
|
62
|
-
# model, and the Jamf Pro privileges needed to access them.
|
63
|
-
# - '/v1/cloud-ldaps:POST' needs permissions:
|
64
|
-
# - Create LDAP Servers
|
65
|
-
#
|
66
|
-
#
|
67
|
-
class DeprecatedConfigurationRequest < Jamf::OAPIObject
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
OAPI_PROPERTIES = {
|
72
|
-
|
73
|
-
# @!attribute server
|
74
|
-
# @return [Jamf::OAPISchemas::DeprecatedServerRequest]
|
75
|
-
server: {
|
76
|
-
class: Jamf::OAPISchemas::DeprecatedServerRequest,
|
77
|
-
required: true
|
78
|
-
},
|
79
|
-
|
80
|
-
# @!attribute mappings
|
81
|
-
# @return [Jamf::OAPISchemas::CloudLdapMappingsRequest]
|
82
|
-
mappings: {
|
83
|
-
class: Jamf::OAPISchemas::CloudLdapMappingsRequest
|
84
|
-
}
|
85
|
-
|
86
|
-
} # end OAPI_PROPERTIES
|
87
|
-
|
88
|
-
end # class DeprecatedConfigurationRequest
|
89
|
-
|
90
|
-
end # module OAPISchemas
|
91
|
-
|
92
|
-
end # module Jamf
|
@@ -1,105 +0,0 @@
|
|
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
|
-
|
26
|
-
module Jamf
|
27
|
-
|
28
|
-
# This module is the namespace for all objects defined
|
29
|
-
# in the OAPI JSON schema under the components => schemas key
|
30
|
-
#
|
31
|
-
module OAPISchemas
|
32
|
-
|
33
|
-
|
34
|
-
# OAPI Object Model and Enums for: DeprecatedConfigurationResponse
|
35
|
-
#
|
36
|
-
# Description of this class from the OAPI Schema:
|
37
|
-
# An old Cloud Identity Provider configuration for responses
|
38
|
-
#
|
39
|
-
# This class was automatically genereated from the api/schema
|
40
|
-
# URL path on a Jamf Pro server version 10.36.1-t1645562643
|
41
|
-
#
|
42
|
-
# This class may be used directly, e.g instances of other classes may
|
43
|
-
# use instances of this class as one of their own properties/attributes.
|
44
|
-
#
|
45
|
-
# It may also be used as a superclass when implementing Jamf Pro API
|
46
|
-
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
47
|
-
# should expand on the basic functionality provided here.
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# Container Objects:
|
51
|
-
# Other object models that use this model as the value in one
|
52
|
-
# of their attributes.
|
53
|
-
# - Jamf::OAPISchemas::DeprecatedConfigurationSearchResults
|
54
|
-
#
|
55
|
-
# Sub Objects:
|
56
|
-
# Other object models used by this model's attributes.
|
57
|
-
# - Jamf::OAPISchemas::DeprecatedServerResponse
|
58
|
-
# - Jamf::OAPISchemas::CloudLdapMappingsResponse
|
59
|
-
#
|
60
|
-
# Endpoints and Privileges:
|
61
|
-
# API endpoints and HTTP operations that use this object
|
62
|
-
# model, and the Jamf Pro privileges needed to access them.
|
63
|
-
# - '/v1/cloud-ldaps:POST' needs permissions:
|
64
|
-
# - Create LDAP Servers
|
65
|
-
# - '/v1/cloud-ldaps/{id}:GET' needs permissions:
|
66
|
-
# - Read LDAP Servers
|
67
|
-
# - '/v1/cloud-ldaps/{id}:PUT' needs permissions:
|
68
|
-
# - Update LDAP Servers
|
69
|
-
#
|
70
|
-
#
|
71
|
-
class DeprecatedConfigurationResponse < Jamf::OAPIObject
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
OAPI_PROPERTIES = {
|
76
|
-
|
77
|
-
# @!attribute id
|
78
|
-
# @return [String]
|
79
|
-
id: {
|
80
|
-
class: :j_id,
|
81
|
-
required: true,
|
82
|
-
identifier: :primary,
|
83
|
-
minimum: 1001
|
84
|
-
},
|
85
|
-
|
86
|
-
# @!attribute server
|
87
|
-
# @return [Jamf::OAPISchemas::DeprecatedServerResponse]
|
88
|
-
server: {
|
89
|
-
class: Jamf::OAPISchemas::DeprecatedServerResponse,
|
90
|
-
required: true
|
91
|
-
},
|
92
|
-
|
93
|
-
# @!attribute mappings
|
94
|
-
# @return [Jamf::OAPISchemas::CloudLdapMappingsResponse]
|
95
|
-
mappings: {
|
96
|
-
class: Jamf::OAPISchemas::CloudLdapMappingsResponse
|
97
|
-
}
|
98
|
-
|
99
|
-
} # end OAPI_PROPERTIES
|
100
|
-
|
101
|
-
end # class DeprecatedConfigurationResponse
|
102
|
-
|
103
|
-
end # module OAPISchemas
|
104
|
-
|
105
|
-
end # module Jamf
|