ruby-jss 4.2.3 → 4.2.4b1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +11 -1
  3. data/LICENSE.txt +5 -3
  4. data/README.md +3 -1
  5. data/bin/cgrouper +4 -22
  6. data/bin/jamfHelperBackgrounder +4 -22
  7. data/bin/netseg-update +4 -22
  8. data/data/ruby-jss.conf.example +4 -22
  9. data/lib/jamf/api/classic/api_objects/account.rb +4 -22
  10. data/lib/jamf/api/classic/api_objects/advanced_computer_search.rb +4 -22
  11. data/lib/jamf/api/classic/api_objects/advanced_mobile_device_search.rb +4 -22
  12. data/lib/jamf/api/classic/api_objects/advanced_user_search.rb +4 -22
  13. data/lib/jamf/api/classic/api_objects/building.rb +4 -22
  14. data/lib/jamf/api/classic/api_objects/categorizable.rb +4 -22
  15. data/lib/jamf/api/classic/api_objects/category.rb +7 -24
  16. data/lib/jamf/api/classic/api_objects/computer.rb +6 -23
  17. data/lib/jamf/api/classic/api_objects/computer_extension_attribute.rb +2 -20
  18. data/lib/jamf/api/classic/api_objects/computer_group.rb +2 -20
  19. data/lib/jamf/api/classic/api_objects/computer_invitation.rb +6 -23
  20. data/lib/jamf/api/classic/api_objects/creatable.rb +4 -22
  21. data/lib/jamf/api/classic/api_objects/criteriable/criteria.rb +4 -22
  22. data/lib/jamf/api/classic/api_objects/criteriable/criterion.rb +2 -20
  23. data/lib/jamf/api/classic/api_objects/criteriable.rb +2 -20
  24. data/lib/jamf/api/classic/api_objects/department.rb +4 -22
  25. data/lib/jamf/api/classic/api_objects/directory_binding.rb +221 -247
  26. data/lib/jamf/api/classic/api_objects/directory_binding_type/active_directory.rb +492 -526
  27. data/lib/jamf/api/classic/api_objects/directory_binding_type/admitmac.rb +27 -55
  28. data/lib/jamf/api/classic/api_objects/directory_binding_type/centrify.rb +191 -220
  29. data/lib/jamf/api/classic/api_objects/directory_binding_type/directory_binding_type.rb +4 -22
  30. data/lib/jamf/api/classic/api_objects/directory_binding_type/open_directory.rb +142 -169
  31. data/lib/jamf/api/classic/api_objects/directory_binding_type/powerbroker_identity_services.rb +37 -57
  32. data/lib/jamf/api/classic/api_objects/directory_binding_type.rb +4 -22
  33. data/lib/jamf/api/classic/api_objects/disk_encryption_configuration.rb +90 -84
  34. data/lib/jamf/api/classic/api_objects/distribution_point.rb +6 -24
  35. data/lib/jamf/api/classic/api_objects/dock_item.rb +11 -34
  36. data/lib/jamf/api/classic/api_objects/ebook.rb +4 -22
  37. data/lib/jamf/api/classic/api_objects/extendable.rb +2 -20
  38. data/lib/jamf/api/classic/api_objects/ibeacon.rb +6 -23
  39. data/lib/jamf/api/classic/api_objects/icon.rb +5 -23
  40. data/lib/jamf/api/classic/api_objects/ldap_server.rb +2 -20
  41. data/lib/jamf/api/classic/api_objects/locatable.rb +4 -22
  42. data/lib/jamf/api/classic/api_objects/mac_application.rb +6 -23
  43. data/lib/jamf/api/classic/api_objects/management_history/audit_event.rb +4 -25
  44. data/lib/jamf/api/classic/api_objects/management_history/casper_imaging_log.rb +5 -24
  45. data/lib/jamf/api/classic/api_objects/management_history/casper_remote_log.rb +4 -25
  46. data/lib/jamf/api/classic/api_objects/management_history/computer_usage_log.rb +4 -25
  47. data/lib/jamf/api/classic/api_objects/management_history/ebook.rb +4 -26
  48. data/lib/jamf/api/classic/api_objects/management_history/hash_like.rb +4 -22
  49. data/lib/jamf/api/classic/api_objects/management_history/mac_app_store_app.rb +4 -26
  50. data/lib/jamf/api/classic/api_objects/management_history/mdm_command.rb +4 -25
  51. data/lib/jamf/api/classic/api_objects/management_history/mobile_device_app.rb +4 -25
  52. data/lib/jamf/api/classic/api_objects/management_history/policy_log.rb +4 -25
  53. data/lib/jamf/api/classic/api_objects/management_history/screen_sharing_log.rb +4 -25
  54. data/lib/jamf/api/classic/api_objects/management_history/user_location_change.rb +4 -25
  55. data/lib/jamf/api/classic/api_objects/management_history.rb +4 -22
  56. data/lib/jamf/api/classic/api_objects/matchable.rb +4 -22
  57. data/lib/jamf/api/classic/api_objects/mdm.rb +6 -23
  58. data/lib/jamf/api/classic/api_objects/mobile_device.rb +7 -23
  59. data/lib/jamf/api/classic/api_objects/mobile_device_application.rb +7 -23
  60. data/lib/jamf/api/classic/api_objects/mobile_device_configuration_profile.rb +4 -22
  61. data/lib/jamf/api/classic/api_objects/mobile_device_extension_attribute.rb +3 -20
  62. data/lib/jamf/api/classic/api_objects/mobile_device_group.rb +4 -22
  63. data/lib/jamf/api/classic/api_objects/netboot_server.rb +4 -22
  64. data/lib/jamf/api/classic/api_objects/network_segment.rb +7 -23
  65. data/lib/jamf/api/classic/api_objects/osx_configuration_profile.rb +2 -20
  66. data/lib/jamf/api/classic/api_objects/package.rb +6 -23
  67. data/lib/jamf/api/classic/api_objects/patch_external_source.rb +7 -24
  68. data/lib/jamf/api/classic/api_objects/patch_internal_source.rb +4 -22
  69. data/lib/jamf/api/classic/api_objects/patch_policy.rb +6 -23
  70. data/lib/jamf/api/classic/api_objects/patch_title/version.rb +4 -22
  71. data/lib/jamf/api/classic/api_objects/patch_title.rb +8 -24
  72. data/lib/jamf/api/classic/api_objects/peripheral.rb +7 -24
  73. data/lib/jamf/api/classic/api_objects/peripheral_type.rb +7 -26
  74. data/lib/jamf/api/classic/api_objects/policy.rb +6 -22
  75. data/lib/jamf/api/classic/api_objects/printer.rb +384 -388
  76. data/lib/jamf/api/classic/api_objects/purchasable.rb +4 -22
  77. data/lib/jamf/api/classic/api_objects/removable_macaddr.rb +4 -22
  78. data/lib/jamf/api/classic/api_objects/restricted_software.rb +7 -24
  79. data/lib/jamf/api/classic/api_objects/scopable/scope.rb +2 -19
  80. data/lib/jamf/api/classic/api_objects/scopable.rb +4 -22
  81. data/lib/jamf/api/classic/api_objects/script.rb +5 -23
  82. data/lib/jamf/api/classic/api_objects/self_servable.rb +4 -22
  83. data/lib/jamf/api/classic/api_objects/sitable.rb +4 -22
  84. data/lib/jamf/api/classic/api_objects/site.rb +2 -20
  85. data/lib/jamf/api/classic/api_objects/software_update_server.rb +4 -22
  86. data/lib/jamf/api/classic/api_objects/updatable.rb +4 -22
  87. data/lib/jamf/api/classic/api_objects/uploadable.rb +4 -22
  88. data/lib/jamf/api/classic/api_objects/user.rb +6 -24
  89. data/lib/jamf/api/classic/api_objects/user_extension_attribute.rb +2 -19
  90. data/lib/jamf/api/classic/api_objects/user_group.rb +4 -22
  91. data/lib/jamf/api/classic/api_objects/vpp_account.rb +6 -23
  92. data/lib/jamf/api/classic/api_objects/vppable.rb +4 -22
  93. data/lib/jamf/api/classic/api_objects/web_hook.rb +4 -20
  94. data/lib/jamf/api/classic/base_classes/advanced_search.rb +9 -25
  95. data/lib/jamf/api/classic/base_classes/api_object.rb +7 -24
  96. data/lib/jamf/api/classic/base_classes/configuration_profile.rb +5 -22
  97. data/lib/jamf/api/classic/base_classes/extension_attribute.rb +6 -23
  98. data/lib/jamf/api/classic/base_classes/group.rb +6 -22
  99. data/lib/jamf/api/classic/base_classes/patch_source.rb +4 -22
  100. data/lib/jamf/api/classic/xml_workaround.rb +4 -22
  101. data/lib/jamf/api/connection/attributes.rb +4 -21
  102. data/lib/jamf/api/connection/cache.rb +4 -21
  103. data/lib/jamf/api/connection/classic_api.rb +4 -21
  104. data/lib/jamf/api/connection/connect.rb +4 -21
  105. data/lib/jamf/api/connection/constants.rb +7 -23
  106. data/lib/jamf/api/connection/default_connection.rb +4 -21
  107. data/lib/jamf/api/connection/jamf_pro_api.rb +4 -21
  108. data/lib/jamf/api/connection/jamf_pro_api_error.rb +2 -20
  109. data/lib/jamf/api/connection/token.rb +2 -20
  110. data/lib/jamf/api/connection.rb +4 -21
  111. data/lib/jamf/api/jamf_pro/api_objects/api_client.rb +2 -20
  112. data/lib/jamf/api/jamf_pro/api_objects/api_integration.rb +2 -20
  113. data/lib/jamf/api/jamf_pro/api_objects/api_role.rb +2 -20
  114. data/lib/jamf/api/jamf_pro/api_objects/computer_prestage.rb +2 -23
  115. data/lib/jamf/api/jamf_pro/api_objects/device_enrollment.rb +2 -20
  116. data/lib/jamf/api/jamf_pro/api_objects/inventory_preload_record.rb +2 -20
  117. data/lib/jamf/api/jamf_pro/api_objects/j_building.rb +2 -20
  118. data/lib/jamf/api/jamf_pro/api_objects/j_package.rb +2 -20
  119. data/lib/jamf/api/jamf_pro/api_objects/managed_software_updates/plan.rb +2 -19
  120. data/lib/jamf/api/jamf_pro/api_objects/managed_software_updates.rb +2 -19
  121. data/lib/jamf/api/jamf_pro/api_objects/mobile_device_prestage.rb +2 -20
  122. data/lib/jamf/api/jamf_pro/base_classes/oapi_object.rb +2 -19
  123. data/lib/jamf/api/jamf_pro/mixins/bulk_deletable.rb +2 -19
  124. data/lib/jamf/api/jamf_pro/mixins/change_log.rb +2 -20
  125. data/lib/jamf/api/jamf_pro/mixins/collection_resource.rb +2 -20
  126. data/lib/jamf/api/jamf_pro/mixins/computer_recovery_lock.rb +2 -19
  127. data/lib/jamf/api/jamf_pro/mixins/filevault.rb +2 -19
  128. data/lib/jamf/api/jamf_pro/mixins/filterable.rb +2 -19
  129. data/lib/jamf/api/jamf_pro/mixins/immutable.rb +2 -19
  130. data/lib/jamf/api/jamf_pro/mixins/jpapi_resource.rb +2 -20
  131. data/lib/jamf/api/jamf_pro/mixins/lockable.rb +2 -19
  132. data/lib/jamf/api/jamf_pro/mixins/macos_managed_updates.rb +2 -19
  133. data/lib/jamf/api/jamf_pro/mixins/macos_redeploy_mgmt_framework.rb +2 -19
  134. data/lib/jamf/api/jamf_pro/mixins/prestage.rb +2 -20
  135. data/lib/jamf/api/jamf_pro/mixins/sortable.rb +2 -19
  136. data/lib/jamf/api/jamf_pro/mixins/uncreatable.rb +2 -19
  137. data/lib/jamf/api/jamf_pro/mixins/undeletable.rb +2 -19
  138. data/lib/jamf/api/jamf_pro/oapi_schemas/account_group.rb +12 -31
  139. data/lib/jamf/api/jamf_pro/oapi_schemas/account_preferences_v1.rb +3 -24
  140. data/lib/jamf/api/jamf_pro/oapi_schemas/account_settings_request.rb +2 -19
  141. data/lib/jamf/api/jamf_pro/oapi_schemas/account_settings_response.rb +2 -19
  142. data/lib/jamf/api/jamf_pro/oapi_schemas/api_error.rb +3 -24
  143. data/lib/jamf/api/jamf_pro/oapi_schemas/api_error_cause.rb +2 -19
  144. data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_request.rb +2 -19
  145. data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_response.rb +2 -19
  146. data/lib/jamf/api/jamf_pro/oapi_schemas/api_integration_search_result.rb +2 -19
  147. data/lib/jamf/api/jamf_pro/oapi_schemas/api_role.rb +2 -19
  148. data/lib/jamf/api/jamf_pro/oapi_schemas/api_role_request.rb +2 -19
  149. data/lib/jamf/api/jamf_pro/oapi_schemas/api_role_result.rb +2 -19
  150. data/lib/jamf/api/jamf_pro/oapi_schemas/assign_remove_profile_response_sync_state.rb +3 -24
  151. data/lib/jamf/api/jamf_pro/oapi_schemas/auth_account_v1.rb +11 -30
  152. data/lib/jamf/api/jamf_pro/oapi_schemas/authentication_type.rb +13 -32
  153. data/lib/jamf/api/jamf_pro/oapi_schemas/authorization_v1.rb +2 -19
  154. data/lib/jamf/api/jamf_pro/oapi_schemas/available_updates.rb +4 -25
  155. data/lib/jamf/api/jamf_pro/oapi_schemas/building.rb +2 -19
  156. data/lib/jamf/api/jamf_pro/oapi_schemas/building_search_results.rb +2 -19
  157. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_application.rb +3 -24
  158. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_attachment.rb +3 -24
  159. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb +12 -31
  160. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_configuration_profile.rb +3 -24
  161. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching.rb +10 -29
  162. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_alert.rb +3 -24
  163. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_cache_detail.rb +3 -24
  164. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error.rb +2 -23
  165. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_data_migration_error_user_info.rb +3 -24
  166. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent.rb +2 -23
  167. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_alert.rb +3 -24
  168. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_capabilities.rb +3 -24
  169. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_details.rb +2 -23
  170. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_content_caching_parent_local_network.rb +3 -24
  171. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb +2 -23
  172. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_disk_encryption.rb +7 -26
  173. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute.rb +12 -31
  174. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb +3 -24
  175. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb +2 -23
  176. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb +2 -23
  177. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_ibeacon.rb +3 -24
  178. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory.rb +2 -23
  179. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_inventory_file_vault.rb +7 -26
  180. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_licensed_software.rb +3 -24
  181. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_local_user_account.rb +12 -31
  182. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_mdm_capability.rb +3 -24
  183. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_operating_system.rb +8 -27
  184. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_package_receipts.rb +3 -24
  185. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition.rb +6 -25
  186. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_encryption.rb +2 -23
  187. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_partition_file_vault2_state.rb +14 -33
  188. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_plugin.rb +3 -24
  189. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_search_results_v3.rb +2 -19
  190. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_prestage_v3.rb +6 -26
  191. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_printer.rb +3 -24
  192. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_purchase.rb +2 -23
  193. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_remote_management.rb +3 -24
  194. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_section.rb +28 -47
  195. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_security.rb +28 -47
  196. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_service.rb +3 -24
  197. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_software_update.rb +3 -24
  198. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_storage.rb +2 -23
  199. data/lib/jamf/api/jamf_pro/oapi_schemas/computer_user_and_location.rb +2 -23
  200. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device.rb +2 -19
  201. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_device_search_results.rb +2 -19
  202. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_disown_response.rb +2 -19
  203. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance.rb +2 -19
  204. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_search_results.rb +2 -19
  205. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_instance_sync_status.rb +2 -19
  206. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_prestage_v2.rb +2 -19
  207. data/lib/jamf/api/jamf_pro/oapi_schemas/device_enrollment_token.rb +2 -19
  208. data/lib/jamf/api/jamf_pro/oapi_schemas/dss_declaration.rb +8 -27
  209. data/lib/jamf/api/jamf_pro/oapi_schemas/dss_declarations.rb +3 -24
  210. data/lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb +3 -24
  211. data/lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v3.rb +2 -19
  212. data/lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage_v2.rb +2 -19
  213. data/lib/jamf/api/jamf_pro/oapi_schemas/group_membership.rb +3 -24
  214. data/lib/jamf/api/jamf_pro/oapi_schemas/history_search_results_v1.rb +2 -19
  215. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute.rb +3 -24
  216. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results_v2.rb +2 -19
  217. data/lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb +2 -19
  218. data/lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb +3 -24
  219. data/lib/jamf/api/jamf_pro/oapi_schemas/location_information_v2.rb +3 -24
  220. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update.rb +2 -19
  221. data/lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update_response.rb +2 -19
  222. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan.rb +2 -19
  223. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_event_store.rb +4 -25
  224. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_group_post.rb +3 -24
  225. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_post.rb +3 -24
  226. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_post_response.rb +3 -24
  227. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle.rb +4 -25
  228. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle_status.rb +14 -33
  229. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plan_toggle_status_wrapper.rb +3 -24
  230. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plans.rb +3 -24
  231. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_status.rb +2 -19
  232. data/lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_statuses.rb +3 -24
  233. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name_v2.rb +3 -24
  234. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names_v2.rb +3 -24
  235. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results_v2.rb +2 -19
  236. data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_v2.rb +2 -19
  237. data/lib/jamf/api/jamf_pro/oapi_schemas/o_auth_client_credentials.rb +2 -19
  238. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_note.rb +2 -19
  239. data/lib/jamf/api/jamf_pro/oapi_schemas/object_history_v1.rb +2 -19
  240. data/lib/jamf/api/jamf_pro/oapi_schemas/package.rb +3 -24
  241. data/lib/jamf/api/jamf_pro/oapi_schemas/packages_search_results.rb +3 -24
  242. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_configuration_post.rb +17 -36
  243. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device.rb +7 -26
  244. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device_post.rb +7 -26
  245. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_device_response.rb +2 -23
  246. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_group_post.rb +6 -25
  247. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_search_results.rb +3 -24
  248. data/lib/jamf/api/jamf_pro/oapi_schemas/plan_status.rb +36 -55
  249. data/lib/jamf/api/jamf_pro/oapi_schemas/post_computer_prestage_v3.rb +2 -19
  250. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information.rb +3 -24
  251. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_purchasing_information_v2.rb +3 -24
  252. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_assignment_v2.rb +3 -24
  253. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_response_v2.rb +2 -19
  254. data/lib/jamf/api/jamf_pro/oapi_schemas/prestage_scope_v2.rb +2 -19
  255. data/lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v3.rb +2 -19
  256. data/lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage_v2.rb +2 -19
  257. data/lib/jamf/api/jamf_pro/oapi_schemas/redeploy_jamf_management_framework_response.rb +2 -19
  258. data/lib/jamf/api/jamf_pro/oapi_schemas/v1_site.rb +3 -24
  259. data/lib/jamf/api/jamf_pro/oapi_schemas.rb +2 -19
  260. data/lib/jamf/api/jamf_pro/other_classes/change_log_entry.rb +2 -20
  261. data/lib/jamf/api/jamf_pro/other_classes/ip_address.rb +2 -20
  262. data/lib/jamf/api/jamf_pro/other_classes/pager.rb +2 -19
  263. data/lib/jamf/api/jamf_pro/other_classes/timestamp.rb +2 -20
  264. data/lib/jamf/base_class.rb +2 -19
  265. data/lib/jamf/client/jamf_binary.rb +4 -22
  266. data/lib/jamf/client/jamf_helper.rb +4 -22
  267. data/lib/jamf/client/management_action.rb +4 -22
  268. data/lib/jamf/client.rb +4 -22
  269. data/lib/jamf/composer.rb +2 -20
  270. data/lib/jamf/configuration.rb +2 -20
  271. data/lib/jamf/constants.rb +2 -20
  272. data/lib/jamf/db_connection.rb +5 -23
  273. data/lib/jamf/deprecations/deprecated_api_connection_class.rb +2 -20
  274. data/lib/jamf/deprecations/deprecated_api_constant.rb +2 -20
  275. data/lib/jamf/deprecations/deprecated_config_constant.rb +2 -20
  276. data/lib/jamf/deprecations.rb +4 -22
  277. data/lib/jamf/exceptions.rb +2 -20
  278. data/lib/jamf/oapi_validate.rb +2 -19
  279. data/lib/jamf/ruby_extensions/array/predicates.rb +2 -20
  280. data/lib/jamf/ruby_extensions/array/utils.rb +2 -20
  281. data/lib/jamf/ruby_extensions/array.rb +2 -20
  282. data/lib/jamf/ruby_extensions/filetest/predicates.rb +2 -20
  283. data/lib/jamf/ruby_extensions/filetest.rb +2 -20
  284. data/lib/jamf/ruby_extensions/hash/utils.rb +2 -44
  285. data/lib/jamf/ruby_extensions/hash.rb +2 -20
  286. data/lib/jamf/ruby_extensions/ipaddr/utils.rb +2 -20
  287. data/lib/jamf/ruby_extensions/ipaddr.rb +4 -22
  288. data/lib/jamf/ruby_extensions/object/predicates.rb +2 -20
  289. data/lib/jamf/ruby_extensions/object.rb +2 -20
  290. data/lib/jamf/ruby_extensions/pathname/predicates.rb +2 -20
  291. data/lib/jamf/ruby_extensions/pathname/utils.rb +2 -20
  292. data/lib/jamf/ruby_extensions/pathname.rb +2 -20
  293. data/lib/jamf/ruby_extensions/string/conversions.rb +2 -20
  294. data/lib/jamf/ruby_extensions/string/predicates.rb +2 -20
  295. data/lib/jamf/ruby_extensions/string.rb +2 -20
  296. data/lib/jamf/ruby_extensions/time/utils.rb +4 -22
  297. data/lib/jamf/ruby_extensions/time.rb +4 -22
  298. data/lib/jamf/ruby_extensions.rb +4 -22
  299. data/lib/jamf/utility.rb +2 -20
  300. data/lib/jamf/validate.rb +2 -19
  301. data/lib/jamf/version.rb +5 -23
  302. data/lib/jamf/zeitwerk_config.rb +2 -20
  303. data/lib/jamf.rb +2 -20
  304. data/lib/jss-api.rb +4 -22
  305. data/lib/jss.rb +4 -22
  306. data/lib/ruby-jss.rb +4 -22
  307. data/test/bin/runtests +4 -22
  308. data/test/lib/jamf_test/APITest.rb +4 -22
  309. data/test/lib/jamf_test/advanced_search.rb +4 -22
  310. data/test/lib/jamf_test/auth.rb +4 -22
  311. data/test/lib/jamf_test/collection_tests.rb +4 -22
  312. data/test/lib/jamf_test/prestage_tests.rb +4 -22
  313. data/test/lib/jamf_test.rb +4 -22
  314. data/test/tests/advanced_computer_search.rb +4 -22
  315. data/test/tests/advanced_mobile_device_search.rb +4 -22
  316. data/test/tests/advanced_user_search.rb +4 -22
  317. data/test/tests/building.rb +4 -22
  318. data/test/tests/category.rb +4 -22
  319. data/test/tests/computer.rb +4 -22
  320. data/test/tests/computer_group.rb +4 -22
  321. data/test/tests/computer_prestage.rb +4 -22
  322. data/test/tests/department.rb +4 -22
  323. data/test/tests/device_enrollment.rb +4 -22
  324. data/test/tests/inventory_preload_record.rb +4 -22
  325. data/test/tests/j_building.rb +4 -22
  326. data/test/tests/j_package.rb +4 -22
  327. data/test/tests/mobile_device.rb +4 -22
  328. data/test/tests/mobile_device_prestage.rb +4 -22
  329. data/test/tests/policy.rb +4 -22
  330. metadata +4 -4
@@ -1,26 +1,8 @@
1
1
  # Copyright 2025 Pixar
2
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:
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
7
5
  #
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
6
 
25
7
  module Jamf
26
8
 
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerPartitionFileVault2State
34
15
  #
35
16
  #
@@ -65,18 +46,18 @@ module Jamf
65
46
 
66
47
  # Enums used by this class or others
67
48
 
68
- VALUE_OPTIONS = [
69
- 'UNKNOWN',
70
- 'UNENCRYPTED',
71
- 'INELIGIBLE',
72
- 'DECRYPTED',
73
- 'DECRYPTING',
74
- 'ENCRYPTED',
75
- 'ENCRYPTING',
76
- 'RESTART_NEEDED',
77
- 'OPTIMIZING',
78
- 'DECRYPTING_PAUSED',
79
- 'ENCRYPTING_PAUSED'
49
+ VALUE_OPTIONS = %w[
50
+ UNKNOWN
51
+ UNENCRYPTED
52
+ INELIGIBLE
53
+ DECRYPTED
54
+ DECRYPTING
55
+ ENCRYPTED
56
+ ENCRYPTING
57
+ RESTART_NEEDED
58
+ OPTIMIZING
59
+ DECRYPTING_PAUSED
60
+ ENCRYPTING_PAUSED
80
61
  ]
81
62
 
82
63
  OAPI_PROPERTIES = {
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerPlugin
34
15
  #
35
16
  #
@@ -52,7 +33,7 @@ module Jamf
52
33
  #
53
34
  # Sub Objects:
54
35
  # Other object models used by this model's attributes.
55
- #
36
+ #
56
37
  #
57
38
  # Endpoints and Privileges:
58
39
  # API endpoints and HTTP operations that use this object
@@ -62,8 +43,6 @@ module Jamf
62
43
  #
63
44
  class ComputerPlugin < Jamf::OAPIObject
64
45
 
65
-
66
-
67
46
  OAPI_PROPERTIES = {
68
47
 
69
48
  # @!attribute name
@@ -1,24 +1,7 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
7
  module Jamf
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerPrestageV3
34
15
  #
35
16
  #
@@ -48,7 +29,7 @@ module Jamf
48
29
  # Container Objects:
49
30
  # Other object models that use this model as the value in one
50
31
  # of their attributes.
51
- #
32
+ #
52
33
  #
53
34
  # Sub Objects:
54
35
  # Other object models used by this model's attributes.
@@ -64,9 +45,9 @@ module Jamf
64
45
 
65
46
  # Enums used by this class or others
66
47
 
67
- RECOVERY_LOCK_PASSWORD_TYPE_OPTIONS = [
68
- 'MANUAL',
69
- 'RANDOM'
48
+ RECOVERY_LOCK_PASSWORD_TYPE_OPTIONS = %w[
49
+ MANUAL
50
+ RANDOM
70
51
  ]
71
52
 
72
53
  OAPI_PROPERTIES = {
@@ -119,7 +100,6 @@ module Jamf
119
100
  rotateRecoveryLockPassword: {
120
101
  class: :boolean
121
102
  }
122
-
123
103
  }.merge(Jamf::OAPISchemas::DeviceEnrollmentPrestageV2::OAPI_PROPERTIES) # end OAPI_PROPERTIES
124
104
 
125
105
  end # class ComputerPrestageV3
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerPrinter
34
15
  #
35
16
  #
@@ -52,7 +33,7 @@ module Jamf
52
33
  #
53
34
  # Sub Objects:
54
35
  # Other object models used by this model's attributes.
55
- #
36
+ #
56
37
  #
57
38
  # Endpoints and Privileges:
58
39
  # API endpoints and HTTP operations that use this object
@@ -62,8 +43,6 @@ module Jamf
62
43
  #
63
44
  class ComputerPrinter < Jamf::OAPIObject
64
45
 
65
-
66
-
67
46
  OAPI_PROPERTIES = {
68
47
 
69
48
  # @!attribute name
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerPurchase
34
15
  #
35
16
  #
@@ -63,8 +44,6 @@ module Jamf
63
44
  #
64
45
  class ComputerPurchase < Jamf::OAPIObject
65
46
 
66
-
67
-
68
47
  OAPI_PROPERTIES = {
69
48
 
70
49
  # @!attribute leased
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerRemoteManagement
34
15
  #
35
16
  #
@@ -52,7 +33,7 @@ module Jamf
52
33
  #
53
34
  # Sub Objects:
54
35
  # Other object models used by this model's attributes.
55
- #
36
+ #
56
37
  #
57
38
  # Endpoints and Privileges:
58
39
  # API endpoints and HTTP operations that use this object
@@ -62,8 +43,6 @@ module Jamf
62
43
  #
63
44
  class ComputerRemoteManagement < Jamf::OAPIObject
64
45
 
65
-
66
-
67
46
  OAPI_PROPERTIES = {
68
47
 
69
48
  # @!attribute managed
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerSection
34
15
  #
35
16
  #
@@ -48,7 +29,7 @@ module Jamf
48
29
  # Container Objects:
49
30
  # Other object models that use this model as the value in one
50
31
  # of their attributes.
51
- #
32
+ #
52
33
  #
53
34
  # Sub Objects:
54
35
  # Other object models used by this model's attributes.
@@ -64,31 +45,31 @@ module Jamf
64
45
 
65
46
  # Enums used by this class or others
66
47
 
67
- VALUE_OPTIONS = [
68
- 'GENERAL',
69
- 'DISK_ENCRYPTION',
70
- 'PURCHASING',
71
- 'APPLICATIONS',
72
- 'STORAGE',
73
- 'USER_AND_LOCATION',
74
- 'CONFIGURATION_PROFILES',
75
- 'PRINTERS',
76
- 'SERVICES',
77
- 'HARDWARE',
78
- 'LOCAL_USER_ACCOUNTS',
79
- 'CERTIFICATES',
80
- 'ATTACHMENTS',
81
- 'PLUGINS',
82
- 'PACKAGE_RECEIPTS',
83
- 'FONTS',
84
- 'SECURITY',
85
- 'OPERATING_SYSTEM',
86
- 'LICENSED_SOFTWARE',
87
- 'IBEACONS',
88
- 'SOFTWARE_UPDATES',
89
- 'EXTENSION_ATTRIBUTES',
90
- 'CONTENT_CACHING',
91
- 'GROUP_MEMBERSHIPS'
48
+ VALUE_OPTIONS = %w[
49
+ GENERAL
50
+ DISK_ENCRYPTION
51
+ PURCHASING
52
+ APPLICATIONS
53
+ STORAGE
54
+ USER_AND_LOCATION
55
+ CONFIGURATION_PROFILES
56
+ PRINTERS
57
+ SERVICES
58
+ HARDWARE
59
+ LOCAL_USER_ACCOUNTS
60
+ CERTIFICATES
61
+ ATTACHMENTS
62
+ PLUGINS
63
+ PACKAGE_RECEIPTS
64
+ FONTS
65
+ SECURITY
66
+ OPERATING_SYSTEM
67
+ LICENSED_SOFTWARE
68
+ IBEACONS
69
+ SOFTWARE_UPDATES
70
+ EXTENSION_ATTRIBUTES
71
+ CONTENT_CACHING
72
+ GROUP_MEMBERSHIPS
92
73
  ]
93
74
 
94
75
  OAPI_PROPERTIES = {
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerSecurity
34
15
  #
35
16
  #
@@ -52,7 +33,7 @@ module Jamf
52
33
  #
53
34
  # Sub Objects:
54
35
  # Other object models used by this model's attributes.
55
- #
36
+ #
56
37
  #
57
38
  # Endpoints and Privileges:
58
39
  # API endpoints and HTTP operations that use this object
@@ -64,39 +45,39 @@ module Jamf
64
45
 
65
46
  # Enums used by this class or others
66
47
 
67
- SIP_STATUS_OPTIONS = [
68
- 'NOT_COLLECTED',
69
- 'NOT_AVAILABLE',
70
- 'DISABLED',
71
- 'ENABLED'
48
+ SIP_STATUS_OPTIONS = %w[
49
+ NOT_COLLECTED
50
+ NOT_AVAILABLE
51
+ DISABLED
52
+ ENABLED
72
53
  ]
73
54
 
74
- GATEKEEPER_STATUS_OPTIONS = [
75
- 'NOT_COLLECTED',
76
- 'DISABLED',
77
- 'APP_STORE_AND_IDENTIFIED_DEVELOPERS',
78
- 'APP_STORE'
55
+ GATEKEEPER_STATUS_OPTIONS = %w[
56
+ NOT_COLLECTED
57
+ DISABLED
58
+ APP_STORE_AND_IDENTIFIED_DEVELOPERS
59
+ APP_STORE
79
60
  ]
80
61
 
81
- SECURE_BOOT_LEVEL_OPTIONS = [
82
- 'NO_SECURITY',
83
- 'MEDIUM_SECURITY',
84
- 'FULL_SECURITY',
85
- 'NOT_SUPPORTED',
86
- 'UNKNOWN'
62
+ SECURE_BOOT_LEVEL_OPTIONS = %w[
63
+ NO_SECURITY
64
+ MEDIUM_SECURITY
65
+ FULL_SECURITY
66
+ NOT_SUPPORTED
67
+ UNKNOWN
87
68
  ]
88
69
 
89
- EXTERNAL_BOOT_LEVEL_OPTIONS = [
90
- 'ALLOW_BOOTING_FROM_EXTERNAL_MEDIA',
91
- 'DISALLOW_BOOTING_FROM_EXTERNAL_MEDIA',
92
- 'NOT_SUPPORTED',
93
- 'UNKNOWN'
70
+ EXTERNAL_BOOT_LEVEL_OPTIONS = %w[
71
+ ALLOW_BOOTING_FROM_EXTERNAL_MEDIA
72
+ DISALLOW_BOOTING_FROM_EXTERNAL_MEDIA
73
+ NOT_SUPPORTED
74
+ UNKNOWN
94
75
  ]
95
76
 
96
- BOOTSTRAP_TOKEN_ESCROWED_STATUS_OPTIONS = [
97
- 'ESCROWED',
98
- 'NOT_ESCROWED',
99
- 'NOT_SUPPORTED'
77
+ BOOTSTRAP_TOKEN_ESCROWED_STATUS_OPTIONS = %w[
78
+ ESCROWED
79
+ NOT_ESCROWED
80
+ NOT_SUPPORTED
100
81
  ]
101
82
 
102
83
  OAPI_PROPERTIES = {
@@ -1,27 +1,9 @@
1
1
  # Copyright 2025 Pixar
2
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.
3
+ # Licensed under the terms set forth in the LICENSE.txt file available at
4
+ # at the root of this project.
22
5
  #
23
6
 
24
-
25
7
  module Jamf
26
8
 
27
9
  # This module is the namespace for all objects defined
@@ -29,7 +11,6 @@ module Jamf
29
11
  #
30
12
  module OAPISchemas
31
13
 
32
-
33
14
  # OAPI Object Model and Enums for: ComputerService
34
15
  #
35
16
  #
@@ -52,7 +33,7 @@ module Jamf
52
33
  #
53
34
  # Sub Objects:
54
35
  # Other object models used by this model's attributes.
55
- #
36
+ #
56
37
  #
57
38
  # Endpoints and Privileges:
58
39
  # API endpoints and HTTP operations that use this object
@@ -62,8 +43,6 @@ module Jamf
62
43
  #
63
44
  class ComputerService < Jamf::OAPIObject
64
45
 
65
-
66
-
67
46
  OAPI_PROPERTIES = {
68
47
 
69
48
  # @!attribute name