ruby-jss 1.4.1 → 1.6.0

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 (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +95 -0
  3. data/THANKS.md +3 -2
  4. data/lib/jamf.rb +18 -17
  5. data/lib/jamf/api/base_classes/collection_resource.rb +613 -0
  6. data/lib/jamf/api/{abstract_classes → base_classes}/json_object.rb +109 -101
  7. data/lib/jamf/api/{abstract_classes → base_classes}/prestage.rb +55 -30
  8. data/lib/jamf/api/{abstract_classes → base_classes}/resource.rb +10 -6
  9. data/lib/jamf/api/{abstract_classes → base_classes}/singleton_resource.rb +4 -3
  10. data/lib/jamf/api/connection.rb +13 -9
  11. data/lib/jamf/api/connection/api_error.rb +8 -8
  12. data/lib/jamf/api/connection/token.rb +16 -15
  13. data/lib/jamf/api/json_objects/device_enrollment_device.rb +14 -7
  14. data/lib/jamf/api/json_objects/{location.rb → device_enrollment_device_sync_state.rb} +27 -41
  15. data/lib/jamf/api/json_objects/device_enrollment_sync_status.rb +1 -1
  16. data/lib/jamf/api/json_objects/{attachment.rb → locale.rb} +14 -23
  17. data/lib/jamf/api/json_objects/md_prestage_name.rb +1 -1
  18. data/lib/jamf/api/json_objects/md_prestage_names.rb +2 -2
  19. data/lib/jamf/api/json_objects/md_prestage_skip_setup_items.rb +50 -1
  20. data/lib/jamf/api/json_objects/prestage_assignment.rb +2 -2
  21. data/lib/jamf/api/json_objects/prestage_location.rb +3 -3
  22. data/lib/jamf/api/json_objects/prestage_purchasing_data.rb +7 -7
  23. data/lib/jamf/api/json_objects/prestage_scope.rb +1 -1
  24. data/lib/jamf/api/{resources/collection_resources → json_objects}/time_zone.rb +9 -23
  25. data/lib/jamf/api/mixins/{abstract.rb → base_class.rb} +34 -16
  26. data/lib/jamf/api/mixins/bulk_deletable.rb +27 -6
  27. data/lib/jamf/api/mixins/change_log.rb +201 -51
  28. data/lib/jamf/api/{resources/collection_resources/computer.rb → mixins/filterable.rb} +19 -17
  29. data/lib/jamf/api/mixins/pageable.rb +208 -0
  30. data/lib/jamf/api/{json_objects/installed_application.rb → mixins/sortable.rb} +33 -33
  31. data/lib/jamf/api/resources/collection_resources/building.rb +16 -9
  32. data/lib/jamf/api/resources/collection_resources/category.rb +5 -4
  33. data/lib/jamf/api/resources/collection_resources/computer_prestage.rb +12 -5
  34. data/lib/jamf/api/resources/collection_resources/department.rb +0 -2
  35. data/lib/jamf/api/resources/collection_resources/device_enrollment.rb +10 -10
  36. data/lib/jamf/api/resources/collection_resources/inventory_preload_record.rb +11 -3
  37. data/lib/jamf/api/resources/collection_resources/mobile_device_prestage.rb +25 -23
  38. data/lib/jamf/api/resources/collection_resources/script.rb +61 -25
  39. data/lib/jamf/api/resources/singleton_resources/app_store_country_codes.rb +15 -5
  40. data/lib/jamf/api/resources/singleton_resources/locales.rb +155 -0
  41. data/lib/jamf/api/resources/singleton_resources/time_zones.rb +213 -0
  42. data/lib/jamf/client.rb +3 -3
  43. data/lib/jamf/client/management_action.rb +2 -3
  44. data/lib/jamf/composer.rb +2 -2
  45. data/lib/jamf/utility.rb +35 -7
  46. data/lib/jamf/validate.rb +63 -24
  47. data/lib/jamf/version.rb +1 -1
  48. data/lib/jss.rb +2 -2
  49. data/lib/jss/api_connection.rb +114 -406
  50. data/lib/jss/api_object.rb +3 -19
  51. data/lib/jss/api_object/categorizable.rb +1 -1
  52. data/lib/jss/api_object/computer.rb +13 -0
  53. data/lib/jss/api_object/configuration_profile.rb +61 -5
  54. data/lib/jss/api_object/directory_binding_type.rb +66 -60
  55. data/lib/jss/api_object/directory_binding_type/active_directory.rb +71 -34
  56. data/lib/jss/api_object/directory_binding_type/admitmac.rb +536 -467
  57. data/lib/jss/api_object/directory_binding_type/centrify.rb +21 -7
  58. data/lib/jss/api_object/directory_binding_type/open_directory.rb +4 -4
  59. data/lib/jss/api_object/distribution_point.rb +2 -2
  60. data/lib/jss/api_object/dock_item.rb +102 -96
  61. data/lib/jss/api_object/extendable.rb +1 -1
  62. data/lib/jss/api_object/group.rb +33 -2
  63. data/lib/jss/api_object/network_segment.rb +45 -13
  64. data/lib/jss/api_object/patch_source.rb +10 -9
  65. data/lib/jss/api_object/policy.rb +155 -25
  66. data/lib/jss/api_object/printer.rb +10 -4
  67. data/lib/jss/api_object/scopable.rb +10 -15
  68. data/lib/jss/api_object/scopable/scope.rb +31 -30
  69. data/lib/jss/api_object/script.rb +242 -352
  70. data/lib/jss/api_object/user.rb +1 -1
  71. data/lib/jss/client/management_action.rb +1 -2
  72. data/lib/jss/composer.rb +2 -2
  73. data/lib/jss/exceptions.rb +3 -0
  74. data/lib/jss/server.rb +15 -0
  75. data/lib/jss/utility.rb +213 -45
  76. data/lib/jss/version.rb +1 -1
  77. metadata +46 -64
  78. data/lib/jamf/api/abstract_classes/advanced_search.rb +0 -86
  79. data/lib/jamf/api/abstract_classes/collection_resource.rb +0 -433
  80. data/lib/jamf/api/abstract_classes/generic_reference.rb +0 -145
  81. data/lib/jamf/api/abstract_classes/prestage_skip_setup_items.rb +0 -126
  82. data/lib/jamf/api/json_objects/account_prefs.rb +0 -79
  83. data/lib/jamf/api/json_objects/android_details.rb +0 -139
  84. data/lib/jamf/api/json_objects/appletv_details.rb +0 -110
  85. data/lib/jamf/api/json_objects/cellular_network.rb +0 -151
  86. data/lib/jamf/api/json_objects/computer_prestage_skip_setup_items.rb +0 -67
  87. data/lib/jamf/api/json_objects/criterion.rb +0 -152
  88. data/lib/jamf/api/json_objects/extension_attribute_value.rb +0 -128
  89. data/lib/jamf/api/json_objects/installed_certificate.rb +0 -53
  90. data/lib/jamf/api/json_objects/installed_configuration_profile.rb +0 -67
  91. data/lib/jamf/api/json_objects/installed_ebook.rb +0 -58
  92. data/lib/jamf/api/json_objects/installed_provisioning_profile.rb +0 -59
  93. data/lib/jamf/api/json_objects/ios_details.rb +0 -244
  94. data/lib/jamf/api/json_objects/mobile_device_details.rb +0 -219
  95. data/lib/jamf/api/json_objects/mobile_device_security.rb +0 -101
  96. data/lib/jamf/api/json_objects/purchasing_data.rb +0 -125
  97. data/lib/jamf/api/mixins/locatable.rb +0 -124
  98. data/lib/jamf/api/mixins/referable.rb +0 -92
  99. data/lib/jamf/api/resources/collection_resources/account.rb +0 -163
  100. data/lib/jamf/api/resources/collection_resources/advanced_mobile_device_search.rb +0 -52
  101. data/lib/jamf/api/resources/collection_resources/advanced_user_search.rb +0 -52
  102. data/lib/jamf/api/resources/collection_resources/extension_attribute.rb +0 -45
  103. data/lib/jamf/api/resources/collection_resources/mobile_device.rb +0 -315
  104. data/lib/jamf/api/resources/collection_resources/site.rb +0 -77
  105. data/lib/jamf/api/resources/singleton_resources/authorization.rb +0 -88
  106. data/lib/jamf/api/resources/singleton_resources/client_checkin_settings.rb +0 -139
  107. data/lib/jamf/api/resources/singleton_resources/reenrollment_settings.rb +0 -95
@@ -1,128 +0,0 @@
1
- # Copyright 2020 Pixar
2
-
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "Apache License")
5
- # with the following modification; you may not use this file except in
6
- # compliance with the Apache License and the following modification to it:
7
- # Section 6. Trademarks. is deleted and replaced with:
8
- #
9
- # 6. Trademarks. This License does not grant permission to use the trade
10
- # names, trademarks, service marks, or product names of the Licensor
11
- # and its affiliates, except as required to comply with Section 4(c) of
12
- # the License and to reproduce the content of the NOTICE file.
13
- #
14
- # You may obtain a copy of the Apache License at
15
- #
16
- # http://www.apache.org/licenses/LICENSE-2.0
17
- #
18
- # Unless required by applicable law or agreed to in writing, software
19
- # distributed under the Apache License with the above modification is
20
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
- # KIND, either express or implied. See the Apache License for the specific
22
- # language governing permissions and limitations under the Apache License.
23
- #
24
- #
25
-
26
- # The module
27
- module Jamf
28
-
29
- # An extension attribute in Jamf Pro
30
- class ExtensionAttributeValue < Jamf::JSONObject
31
-
32
- OBJECT_MODEL = {
33
-
34
- # @!attribute [r] id
35
- # The id of the attribute defining this value
36
- # @return [Integer]
37
- id: {
38
- class: :integer,
39
- readonly: true
40
- },
41
-
42
- # @!attribute [r] name
43
- # The name of the attribute defining this value
44
- # @return [String]
45
- name: {
46
- class: :string,
47
- readonly: true
48
- },
49
-
50
- # @!attribute [r] type
51
- # The value_type of this value
52
- # @return [String]
53
- type: {
54
- class: :string,
55
- enum: Jamf::ExtensionAttribute::VALUE_TYPES,
56
- readonly: true
57
- },
58
-
59
- # @!attribute [r] value
60
- # The value stored for this managed object for this ext attr
61
- # Settable via #new_value=
62
- # @return [String]
63
- value: {
64
- class: :string,
65
- readonly: true # settable via Extendable#set_ext_attr
66
- }
67
-
68
- }.freeze
69
- parse_object_model
70
-
71
- # TODO: The WebApp doesn't seem to support enforcement of Data types..
72
- # I can enter any string as a DATE ea, an that string comes through as the
73
- # value.
74
- #
75
-
76
- def initialize(data, cnx: Jamf.cnx)
77
- super
78
- return if @value.nil?
79
- @value =
80
- case @type
81
- when :integer
82
- @value.j_integer? ? @value.to_i : "INVALID INTEGER: #{@value}"
83
- when :date
84
- Jamf::TimeStamp.new @value, cnx: cnx
85
- else
86
- @value
87
- end # case
88
- end # init
89
-
90
- # setter for values. Usually called by
91
- # Extendable#set_ext_attr
92
- def new_value=(new_val)
93
-
94
- # nil unsets the value
95
- unless new_val.nil?
96
- new_val =
97
- case @type
98
- when :integer
99
- Jamf::Validate.integer new_val, "Value for ext. attr. #{@name} must be an integer"
100
- when :date
101
- validate_date new_val
102
- else
103
- new_val.to_s
104
- end # case
105
- end # unless nil
106
-
107
- old_val = @value
108
- return if old_val == new_val
109
- @value = new_val
110
- note_unsaved_change(:value, old_val)
111
- end
112
-
113
- # the to_jamf in JSONObject would skip all these
114
- # cuz they are read-only
115
- # but we need them here.
116
- def to_jamf
117
- return unless unsaved_changes?
118
-
119
- new_val = @type == :date ? @value.to_jamf : @value.to_s
120
- {
121
- id: @id,
122
- value: new_val
123
- }
124
- end
125
-
126
- end # class ext attr
127
-
128
- end # module
@@ -1,53 +0,0 @@
1
- # Copyright 2020 Pixar
2
-
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "Apache License")
5
- # with the following modification; you may not use this file except in
6
- # compliance with the Apache License and the following modification to it:
7
- # Section 6. Trademarks. is deleted and replaced with:
8
- #
9
- # 6. Trademarks. This License does not grant permission to use the trade
10
- # names, trademarks, service marks, or product names of the Licensor
11
- # and its affiliates, except as required to comply with Section 4(c) of
12
- # the License and to reproduce the content of the NOTICE file.
13
- #
14
- # You may obtain a copy of the Apache License at
15
- #
16
- # http://www.apache.org/licenses/LICENSE-2.0
17
- #
18
- # Unless required by applicable law or agreed to in writing, software
19
- # distributed under the Apache License with the above modification is
20
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
- # KIND, either express or implied. See the Apache License for the specific
22
- # language governing permissions and limitations under the Apache License.
23
- #
24
- #
25
-
26
- # The module
27
- module Jamf
28
-
29
- # A certificate installed on a device
30
- class InstalledCertificate < Jamf::JSONObject
31
-
32
- OBJECT_MODEL = {
33
-
34
- # @!attribute [r] commonName
35
- # @return [String]
36
- commonName: {
37
- class: :string,
38
- readonly: true
39
- },
40
-
41
- # @!attribute [r] isIdentity
42
- # @return [Boolean]
43
- isIdentity: {
44
- class: :boolean,
45
- readonly: true
46
- }
47
-
48
- }.freeze
49
- parse_object_model
50
-
51
- end # class Mobile Device security
52
-
53
- end # module
@@ -1,67 +0,0 @@
1
- # Copyright 2020 Pixar
2
-
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "Apache License")
5
- # with the following modification; you may not use this file except in
6
- # compliance with the Apache License and the following modification to it:
7
- # Section 6. Trademarks. is deleted and replaced with:
8
- #
9
- # 6. Trademarks. This License does not grant permission to use the trade
10
- # names, trademarks, service marks, or product names of the Licensor
11
- # and its affiliates, except as required to comply with Section 4(c) of
12
- # the License and to reproduce the content of the NOTICE file.
13
- #
14
- # You may obtain a copy of the Apache License at
15
- #
16
- # http://www.apache.org/licenses/LICENSE-2.0
17
- #
18
- # Unless required by applicable law or agreed to in writing, software
19
- # distributed under the Apache License with the above modification is
20
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
- # KIND, either express or implied. See the Apache License for the specific
22
- # language governing permissions and limitations under the Apache License.
23
- #
24
- #
25
-
26
- # The module
27
- module Jamf
28
-
29
- # a config profile installed on a device
30
- class InstalledConfigurationProfile < Jamf::JSONObject
31
-
32
- OBJECT_MODEL = {
33
-
34
- # @!attribute [r] displayName
35
- # @return [String]
36
- displayName: {
37
- class: :string,
38
- readonly: true
39
- },
40
-
41
- # @!attribute [r] version
42
- # @return [String]
43
- version: {
44
- class: :string,
45
- readonly: true
46
- },
47
-
48
- # @!attribute [r] uuid
49
- # @return [String]
50
- uuid: {
51
- class: :string,
52
- readonly: true
53
- },
54
-
55
- # @!attribute [r] identifier
56
- # @return [String]
57
- identifier: {
58
- class: :string,
59
- readonly: true
60
- }
61
-
62
- }.freeze
63
- parse_object_model
64
-
65
- end # class Mobile Device security
66
-
67
- end # module
@@ -1,58 +0,0 @@
1
- # Copyright 2020 Pixar
2
-
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "Apache License")
5
- # with the following modification; you may not use this file except in
6
- # compliance with the Apache License and the following modification to it:
7
- # Section 6. Trademarks. is deleted and replaced with:
8
- #
9
- # 6. Trademarks. This License does not grant permission to use the trade
10
- # names, trademarks, service marks, or product names of the Licensor
11
- # and its affiliates, except as required to comply with Section 4(c) of
12
- # the License and to reproduce the content of the NOTICE file.
13
- #
14
- # You may obtain a copy of the Apache License at
15
- #
16
- # http://www.apache.org/licenses/LICENSE-2.0
17
- #
18
- # Unless required by applicable law or agreed to in writing, software
19
- # distributed under the Apache License with the above modification is
20
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
- # KIND, either express or implied. See the Apache License for the specific
22
- # language governing permissions and limitations under the Apache License.
23
- #
24
- #
25
-
26
- # The module
27
- module Jamf
28
-
29
- # The collection of security settings for a device
30
- class InstalledEBook < Jamf::JSONObject
31
-
32
- OBJECT_MODEL = {
33
-
34
- # @!attribute [r] author
35
- # @return [String]
36
- author: {
37
- class: :string,
38
- readonly: true
39
- },
40
-
41
- # @!attribute [r] title
42
- # @return [String]
43
- title: {
44
- class: :string,
45
- readonly: true
46
- },
47
-
48
- # @!attribute [r] version
49
- # @return [String]
50
- version: {
51
- class: :string,
52
- readonly: true
53
- }
54
- }.freeze
55
- parse_object_model
56
- end # class Mobile Device security
57
-
58
- end # module
@@ -1,59 +0,0 @@
1
- # Copyright 2020 Pixar
2
-
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "Apache License")
5
- # with the following modification; you may not use this file except in
6
- # compliance with the Apache License and the following modification to it:
7
- # Section 6. Trademarks. is deleted and replaced with:
8
- #
9
- # 6. Trademarks. This License does not grant permission to use the trade
10
- # names, trademarks, service marks, or product names of the Licensor
11
- # and its affiliates, except as required to comply with Section 4(c) of
12
- # the License and to reproduce the content of the NOTICE file.
13
- #
14
- # You may obtain a copy of the Apache License at
15
- #
16
- # http://www.apache.org/licenses/LICENSE-2.0
17
- #
18
- # Unless required by applicable law or agreed to in writing, software
19
- # distributed under the Apache License with the above modification is
20
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
- # KIND, either express or implied. See the Apache License for the specific
22
- # language governing permissions and limitations under the Apache License.
23
- #
24
- #
25
-
26
- # The module
27
- module Jamf
28
-
29
- # The collection of security settings for a device
30
- class InstalledProvisioningProfile < Jamf::JSONObject
31
-
32
- OBJECT_MODEL = {
33
-
34
- # @!attribute [r] displayName
35
- # @return [String]
36
- displayName: {
37
- class: :string,
38
- readonly: true
39
- },
40
-
41
- # @!attribute [r] uuid
42
- # @return [String]
43
- uuid: {
44
- class: :string,
45
- readonly: true
46
- },
47
-
48
- # @!attribute [r] expirationDate
49
- # @return [String]
50
- expirationDate: {
51
- class: Jamf::Timestamp,
52
- readonly: true
53
- }
54
-
55
- }.freeze
56
- parse_object_model
57
- end # class Mobile Device security
58
-
59
- end # module
@@ -1,244 +0,0 @@
1
- # Copyright 2020 Pixar
2
-
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "Apache License")
5
- # with the following modification; you may not use this file except in
6
- # compliance with the Apache License and the following modification to it:
7
- # Section 6. Trademarks. is deleted and replaced with:
8
- #
9
- # 6. Trademarks. This License does not grant permission to use the trade
10
- # names, trademarks, service marks, or product names of the Licensor
11
- # and its affiliates, except as required to comply with Section 4(c) of
12
- # the License and to reproduce the content of the NOTICE file.
13
- #
14
- # You may obtain a copy of the Apache License at
15
- #
16
- # http://www.apache.org/licenses/LICENSE-2.0
17
- #
18
- # Unless required by applicable law or agreed to in writing, software
19
- # distributed under the Apache License with the above modification is
20
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21
- # KIND, either express or implied. See the Apache License for the specific
22
- # language governing permissions and limitations under the Apache License.
23
- #
24
- #
25
-
26
- # The module
27
- module Jamf
28
-
29
- class IosDetails < Jamf::JSONObject
30
-
31
- # Class Constants
32
- #####################################
33
-
34
- # Since instances of this class are always embedded in the
35
- # matching MobileDevice instance, duplicated attributes are
36
- # omitted from OBJECT_MODEL
37
- OBJECT_MODEL = {
38
-
39
- # @!attribute [r] model
40
- # @param [String]
41
- # @return [String]
42
- model: {
43
- class: :string,
44
- readonly: true
45
- },
46
-
47
- # @!attribute [r] modelIdentifier
48
- # @param [String]
49
- # @return [String]
50
- modelIdentifier: {
51
- class: :string,
52
- readonly: true
53
- },
54
-
55
- # @!attribute [r] modelNumber
56
- # @param [String]
57
- # @return [String]
58
- modelNumber: {
59
- class: :string,
60
- readonly: true
61
- },
62
-
63
- # @!attribute [r] isSupervised
64
- # @return [Boolean]
65
- isSupervised: {
66
- class: :boolean,
67
- readonly: true
68
- },
69
-
70
- # @!attribute [r] batteryLevel
71
- # @return [Integer]
72
- batteryLevel: {
73
- class: :integer,
74
- readonly: true
75
- },
76
-
77
- # @!attribute [r] lastBackupTimestamp
78
- # @return [Jamf::Timestamp]
79
- lastBackupTimestamp: {
80
- class: Jamf::Timestamp,
81
- readonly: true,
82
- aliases: [:lastBackup]
83
- },
84
-
85
- # @!attribute [r] capacityMb
86
- # @return [Integer]
87
- capacityMb: {
88
- class: :integer,
89
- readonly: true
90
- },
91
-
92
- # @!attribute [r] availableMb
93
- # @return [Integer]
94
- availableMb: {
95
- class: :integer,
96
- readonly: true
97
- },
98
-
99
- # @!attribute [r] percentageUsed
100
- # @return [Integer]
101
- percentageUsed: {
102
- class: :integer,
103
- readonly: true
104
- },
105
-
106
- # @!attribute [r] isShared
107
- # @return [Boolean]
108
- isShared: {
109
- class: :boolean,
110
- readonly: true
111
- },
112
-
113
- # @!attribute [r] isDeviceLocatorServiceEnabled
114
- # @return [Boolean]
115
- isDeviceLocatorServiceEnabled: {
116
- class: :boolean,
117
- readonly: true
118
- },
119
-
120
- # @!attribute [r] isDoNotDisturbEnabled
121
- # @return [Boolean]
122
- isDoNotDisturbEnabled: {
123
- class: :boolean,
124
- readonly: true
125
- },
126
-
127
- # @!attribute [r] isCloudBackupEnabled
128
- # @return [Boolean]
129
- isCloudBackupEnabled: {
130
- class: :boolean,
131
- readonly: true
132
- },
133
-
134
- # @!attribute lastCloudBackupTimestamp
135
- # @return [Jamf::Timestamp]
136
- lastCloudBackupTimestamp: {
137
- class: Jamf::Timestamp,
138
- readonly: true,
139
- aliases: [:lastCloudBackup]
140
- },
141
-
142
- # @!attribute [r] isLocationServicesEnabled
143
- # @return [Boolean]
144
- isLocationServicesEnabled: {
145
- class: :boolean,
146
- readonly: true
147
- },
148
-
149
- # @!attribute [r] isITunesStoreAccountActive
150
- # @return [Boolean]
151
- isITunesStoreAccountActive: {
152
- class: :boolean,
153
- readonly: true
154
- },
155
-
156
- # @!attribute [r] isBleCapable
157
- # @return [Boolean]
158
- isBleCapable: {
159
- class: :boolean,
160
- readonly: true
161
- },
162
-
163
- # @!attribute [r] computer
164
- # @return [Jamf::Computer::Reference]
165
- computer: {
166
- class: Jamf::Computer::Reference,
167
- readonly: true
168
- },
169
-
170
- # @!attribute [r] purchasing
171
- # @return [Jamf::Computer::Reference]
172
- purchasing: {
173
- class: Jamf::PurchasingData,
174
- readonly: true
175
- },
176
-
177
- # @!attribute [r] security
178
- # @return [Jamf::MobileDeviceSecurity]
179
- security: {
180
- class: Jamf::MobileDeviceSecurity,
181
- readonly: true
182
- },
183
-
184
- # @!attribute [r] network
185
- # @return [Jamf::CCellularNetwork]
186
- network: {
187
- class: Jamf::CellularNetwork,
188
- readonly: true
189
- },
190
-
191
- # @!attribute [r] applications
192
- # @return [Jamf::InstalledApplication]
193
- applications: {
194
- class: Jamf::InstalledApplication,
195
- readonly: true,
196
- multi: true
197
- },
198
-
199
- # @!attribute [r] certificates
200
- # @return [Jamf::InstalledApplication]
201
- certificates: {
202
- class: Jamf::InstalledCertificate,
203
- readonly: true,
204
- multi: true
205
- },
206
-
207
- # @!attribute [r] ebooks
208
- # @return [Jamf::InstalledApplication]
209
- ebooks: {
210
- class: Jamf::InstalledEBook,
211
- readonly: true,
212
- multi: true
213
- },
214
-
215
- # @!attribute [r] configurationProfiles
216
- # @return [Jamf::InstalledConfigurationProfile]
217
- configurationProfiles: {
218
- class: Jamf::InstalledConfigurationProfile,
219
- readonly: true,
220
- multi: true
221
- },
222
-
223
- # @!attribute [r] provisioningProfiles
224
- # @return [Jamf::InstalledConfigurationProfile]
225
- provisioningProfiles: {
226
- class: Jamf::InstalledProvisioningProfile,
227
- readonly: true,
228
- multi: true
229
- },
230
-
231
- # @!attribute [r] attachments
232
- # @return [Jamf::InstalledConfigurationProfile]
233
- attachments: {
234
- class: Jamf::Attachment::Reference,
235
- readonly: true,
236
- multi: true
237
- }
238
- }.freeze
239
- parse_object_model
240
-
241
-
242
- end # class Details
243
-
244
- end # module