ruby-jss 5.0.1 → 5.1.0b1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +22 -0
- data/lib/jamf/api/classic/api_objects/computer.rb +1 -1
- data/lib/jamf/api/classic/api_objects/mobile_device.rb +1 -1
- data/lib/jamf/api/classic/api_objects/scopable/scope.rb +1 -1
- data/lib/jamf/api/jamf_pro/api_objects/j_category.rb +98 -0
- data/lib/jamf/api/jamf_pro/api_objects/j_computer_extension_attribute.rb +102 -0
- data/lib/jamf/api/jamf_pro/api_objects/j_mobile_device_extension_attribute.rb +101 -0
- data/lib/jamf/api/jamf_pro/api_objects/j_script.rb +101 -0
- data/lib/jamf/api/jamf_pro/mixins/bulk_deletable.rb +5 -3
- data/lib/jamf/api/jamf_pro/mixins/collection_resource.rb +5 -2
- data/lib/jamf/api/jamf_pro/mixins/data_dependency.rb +63 -0
- data/lib/jamf/api/jamf_pro/mixins/sortable.rb +2 -2
- data/lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb +91 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/category.rb +104 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute_search_results.rb +91 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attributes.rb +149 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/extension_attributes.rb +114 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb +125 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute.rb +125 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute_results.rb +79 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/script.rb +193 -0
- data/lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb +91 -0
- data/lib/jamf/version.rb +1 -1
- metadata +19 -5
- data/lib/jamf/api/classic/api_objects/mdm_classic.rb +0 -1416
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Copyright 2025 Pixar
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
|
4
|
+
# with the following modification; you may not use this file except in
|
|
5
|
+
# compliance with the Apache License and the following modification to it:
|
|
6
|
+
# Section 6. Trademarks. is deleted and replaced with:
|
|
7
|
+
#
|
|
8
|
+
# 6. Trademarks. This License does not grant permission to use the trade
|
|
9
|
+
# names, trademarks, service marks, or product names of the Licensor
|
|
10
|
+
# and its affiliates, except as required to comply with Section 4(c) of
|
|
11
|
+
# the License and to reproduce the content of the NOTICE file.
|
|
12
|
+
#
|
|
13
|
+
# You may obtain a copy of the Apache License at
|
|
14
|
+
#
|
|
15
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
#
|
|
17
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
# distributed under the Apache License with the above modification is
|
|
19
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
20
|
+
# KIND, either express or implied. See the Apache License for the specific
|
|
21
|
+
# language governing permissions and limitations under the Apache License.
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
module Jamf
|
|
26
|
+
|
|
27
|
+
# This module is the namespace for all objects defined
|
|
28
|
+
# in the OAPI JSON schema under the components => schemas key
|
|
29
|
+
#
|
|
30
|
+
module OAPISchemas
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# OAPI Object Model and Enums for: MobileDeviceExtensionAttribute
|
|
34
|
+
#
|
|
35
|
+
#
|
|
36
|
+
#
|
|
37
|
+
# This class was automatically generated from the api/schema
|
|
38
|
+
# URL path on a Jamf Pro server version 11.9.2-t1726753918
|
|
39
|
+
#
|
|
40
|
+
# This class may be used directly, e.g instances of other classes may
|
|
41
|
+
# use instances of this class as one of their own properties/attributes.
|
|
42
|
+
#
|
|
43
|
+
# It may also be used as a superclass when implementing Jamf Pro API
|
|
44
|
+
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
|
45
|
+
# should expand on the basic functionality provided here.
|
|
46
|
+
#
|
|
47
|
+
#
|
|
48
|
+
# Container Objects:
|
|
49
|
+
# Other object models that use this model as the value in one
|
|
50
|
+
# of their attributes.
|
|
51
|
+
# - Jamf::OAPISchemas::MobileDeviceGeneral
|
|
52
|
+
# - Jamf::OAPISchemas::MobileDeviceHardware
|
|
53
|
+
# - Jamf::OAPISchemas::MobileDeviceInventory
|
|
54
|
+
# - Jamf::OAPISchemas::MobileDevicePurchasing
|
|
55
|
+
# - Jamf::OAPISchemas::MobileDeviceUserAndLocation
|
|
56
|
+
#
|
|
57
|
+
# Sub Objects:
|
|
58
|
+
# Other object models used by this model's attributes.
|
|
59
|
+
#
|
|
60
|
+
#
|
|
61
|
+
# Endpoints and Privileges:
|
|
62
|
+
# API endpoints and HTTP operations that use this object
|
|
63
|
+
# model, and the Jamf Pro privileges needed to access them.
|
|
64
|
+
#
|
|
65
|
+
#
|
|
66
|
+
#
|
|
67
|
+
class MobileDeviceExtensionAttribute < Jamf::OAPIObject
|
|
68
|
+
|
|
69
|
+
# Enums used by this class or others
|
|
70
|
+
|
|
71
|
+
TYPE_OPTIONS = [
|
|
72
|
+
'STRING',
|
|
73
|
+
'INTEGER',
|
|
74
|
+
'DATE'
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
OAPI_PROPERTIES = {
|
|
78
|
+
|
|
79
|
+
# @!attribute [r] id
|
|
80
|
+
# @return [String]
|
|
81
|
+
id: {
|
|
82
|
+
class: :j_id,
|
|
83
|
+
identifier: :primary,
|
|
84
|
+
readonly: true
|
|
85
|
+
},
|
|
86
|
+
|
|
87
|
+
# @!attribute name
|
|
88
|
+
# @return [String]
|
|
89
|
+
name: {
|
|
90
|
+
class: :string
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
# @!attribute type
|
|
94
|
+
# @return [String]
|
|
95
|
+
type: {
|
|
96
|
+
class: :string,
|
|
97
|
+
enum: TYPE_OPTIONS
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
# @!attribute value
|
|
101
|
+
# @return [Array<String>]
|
|
102
|
+
value: {
|
|
103
|
+
class: :string,
|
|
104
|
+
multi: true
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
# @!attribute extensionAttributeCollectionAllowed
|
|
108
|
+
# @return [Boolean]
|
|
109
|
+
extensionAttributeCollectionAllowed: {
|
|
110
|
+
class: :boolean
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
# @!attribute inventoryDisplay
|
|
114
|
+
# @return [String]
|
|
115
|
+
inventoryDisplay: {
|
|
116
|
+
class: :string
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
} # end OAPI_PROPERTIES
|
|
120
|
+
|
|
121
|
+
end # class MobileDeviceExtensionAttribute
|
|
122
|
+
|
|
123
|
+
end # module OAPISchemas
|
|
124
|
+
|
|
125
|
+
end # module Jamf
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Copyright 2025 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
|
+
module Jamf
|
|
25
|
+
|
|
26
|
+
# This module is the namespace for all objects defined
|
|
27
|
+
# in the OAPI JSON schema under the components => schemas key
|
|
28
|
+
#
|
|
29
|
+
module OAPISchemas
|
|
30
|
+
|
|
31
|
+
# OAPI Object Model and Enums for: MobileDeviceExtensionAttributeResults
|
|
32
|
+
#
|
|
33
|
+
#
|
|
34
|
+
#
|
|
35
|
+
# This class was automatically generated from the api/schema
|
|
36
|
+
# URL path on a Jamf Pro server version 11.9.2-t1726753918
|
|
37
|
+
#
|
|
38
|
+
# This class may be used directly, e.g instances of other classes may
|
|
39
|
+
# use instances of this class as one of their own properties/attributes.
|
|
40
|
+
#
|
|
41
|
+
# It may also be used as a superclass when implementing Jamf Pro API
|
|
42
|
+
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
|
43
|
+
# should expand on the basic functionality provided here.
|
|
44
|
+
#
|
|
45
|
+
#
|
|
46
|
+
# Container Objects:
|
|
47
|
+
# Other object models that use this model as the value in one
|
|
48
|
+
# of their attributes.
|
|
49
|
+
#
|
|
50
|
+
#
|
|
51
|
+
# Sub Objects:
|
|
52
|
+
# Other object models used by this model's attributes.
|
|
53
|
+
#
|
|
54
|
+
#
|
|
55
|
+
# Endpoints and Privileges:
|
|
56
|
+
# API endpoints and HTTP operations that use this object
|
|
57
|
+
# model, and the Jamf Pro privileges needed to access them.
|
|
58
|
+
# - '/devices/extensionAttributes:GET' needs permissions:
|
|
59
|
+
# - Read Mobile Device Extension Attributes
|
|
60
|
+
#
|
|
61
|
+
#
|
|
62
|
+
class MobileDeviceExtensionAttributeResults < Jamf::OAPIObject
|
|
63
|
+
|
|
64
|
+
OAPI_PROPERTIES = {
|
|
65
|
+
|
|
66
|
+
# @!attribute extensionAttributes
|
|
67
|
+
# @return [Array<Hash{Symbol: Object}>]
|
|
68
|
+
extensionAttributes: {
|
|
69
|
+
class: :hash,
|
|
70
|
+
multi: true
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
} # end OAPI_PROPERTIES
|
|
74
|
+
|
|
75
|
+
end # class MobileDeviceExtensionAttributeResults
|
|
76
|
+
|
|
77
|
+
end # module OAPISchemas
|
|
78
|
+
|
|
79
|
+
end # module Jamf
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# Copyright 2025 Pixar
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
|
4
|
+
# with the following modification; you may not use this file except in
|
|
5
|
+
# compliance with the Apache License and the following modification to it:
|
|
6
|
+
# Section 6. Trademarks. is deleted and replaced with:
|
|
7
|
+
#
|
|
8
|
+
# 6. Trademarks. This License does not grant permission to use the trade
|
|
9
|
+
# names, trademarks, service marks, or product names of the Licensor
|
|
10
|
+
# and its affiliates, except as required to comply with Section 4(c) of
|
|
11
|
+
# the License and to reproduce the content of the NOTICE file.
|
|
12
|
+
#
|
|
13
|
+
# You may obtain a copy of the Apache License at
|
|
14
|
+
#
|
|
15
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
#
|
|
17
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
# distributed under the Apache License with the above modification is
|
|
19
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
20
|
+
# KIND, either express or implied. See the Apache License for the specific
|
|
21
|
+
# language governing permissions and limitations under the Apache License.
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
module Jamf
|
|
26
|
+
|
|
27
|
+
# This module is the namespace for all objects defined
|
|
28
|
+
# in the OAPI JSON schema under the components => schemas key
|
|
29
|
+
#
|
|
30
|
+
module OAPISchemas
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# OAPI Object Model and Enums for: Script
|
|
34
|
+
#
|
|
35
|
+
#
|
|
36
|
+
#
|
|
37
|
+
# This class was automatically generated from the api/schema
|
|
38
|
+
# URL path on a Jamf Pro server version 11.9.2-t1726753918
|
|
39
|
+
#
|
|
40
|
+
# This class may be used directly, e.g instances of other classes may
|
|
41
|
+
# use instances of this class as one of their own properties/attributes.
|
|
42
|
+
#
|
|
43
|
+
# It may also be used as a superclass when implementing Jamf Pro API
|
|
44
|
+
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
|
45
|
+
# should expand on the basic functionality provided here.
|
|
46
|
+
#
|
|
47
|
+
#
|
|
48
|
+
# Container Objects:
|
|
49
|
+
# Other object models that use this model as the value in one
|
|
50
|
+
# of their attributes.
|
|
51
|
+
# - Jamf::OAPISchemas::ScriptsSearchResults
|
|
52
|
+
#
|
|
53
|
+
# Sub Objects:
|
|
54
|
+
# Other object models used by this model's attributes.
|
|
55
|
+
#
|
|
56
|
+
#
|
|
57
|
+
# Endpoints and Privileges:
|
|
58
|
+
# API endpoints and HTTP operations that use this object
|
|
59
|
+
# model, and the Jamf Pro privileges needed to access them.
|
|
60
|
+
# - '/v1/scripts:POST' needs permissions:
|
|
61
|
+
# - Create Scripts
|
|
62
|
+
# - '/v1/scripts/{id}:GET' needs permissions:
|
|
63
|
+
# - Read Scripts
|
|
64
|
+
# - '/v1/scripts/{id}:PUT' needs permissions:
|
|
65
|
+
# - Update Scripts
|
|
66
|
+
#
|
|
67
|
+
#
|
|
68
|
+
class Script < Jamf::OAPIObject
|
|
69
|
+
|
|
70
|
+
# Enums used by this class or others
|
|
71
|
+
|
|
72
|
+
PRIORITY_OPTIONS = [
|
|
73
|
+
'BEFORE',
|
|
74
|
+
'AFTER',
|
|
75
|
+
'AT_REBOOT'
|
|
76
|
+
]
|
|
77
|
+
|
|
78
|
+
OAPI_PROPERTIES = {
|
|
79
|
+
|
|
80
|
+
# @!attribute [r] id
|
|
81
|
+
# @return [String]
|
|
82
|
+
id: {
|
|
83
|
+
class: :j_id,
|
|
84
|
+
identifier: :primary,
|
|
85
|
+
readonly: true,
|
|
86
|
+
min_length: 1
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
# @!attribute name
|
|
90
|
+
# @return [String]
|
|
91
|
+
name: {
|
|
92
|
+
class: :string,
|
|
93
|
+
required: true
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
# @!attribute info
|
|
97
|
+
# @return [String]
|
|
98
|
+
info: {
|
|
99
|
+
class: :string
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
# @!attribute notes
|
|
103
|
+
# @return [String]
|
|
104
|
+
notes: {
|
|
105
|
+
class: :string
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
# @!attribute priority
|
|
109
|
+
# @return [String]
|
|
110
|
+
priority: {
|
|
111
|
+
class: :string,
|
|
112
|
+
enum: PRIORITY_OPTIONS
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
# @!attribute categoryId
|
|
116
|
+
# @return [String]
|
|
117
|
+
categoryId: {
|
|
118
|
+
class: :string
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
# @!attribute categoryName
|
|
122
|
+
# @return [String]
|
|
123
|
+
categoryName: {
|
|
124
|
+
class: :string
|
|
125
|
+
},
|
|
126
|
+
|
|
127
|
+
# @!attribute parameter4
|
|
128
|
+
# @return [String]
|
|
129
|
+
parameter4: {
|
|
130
|
+
class: :string
|
|
131
|
+
},
|
|
132
|
+
|
|
133
|
+
# @!attribute parameter5
|
|
134
|
+
# @return [String]
|
|
135
|
+
parameter5: {
|
|
136
|
+
class: :string
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
# @!attribute parameter6
|
|
140
|
+
# @return [String]
|
|
141
|
+
parameter6: {
|
|
142
|
+
class: :string
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
# @!attribute parameter7
|
|
146
|
+
# @return [String]
|
|
147
|
+
parameter7: {
|
|
148
|
+
class: :string
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
# @!attribute parameter8
|
|
152
|
+
# @return [String]
|
|
153
|
+
parameter8: {
|
|
154
|
+
class: :string
|
|
155
|
+
},
|
|
156
|
+
|
|
157
|
+
# @!attribute parameter9
|
|
158
|
+
# @return [String]
|
|
159
|
+
parameter9: {
|
|
160
|
+
class: :string
|
|
161
|
+
},
|
|
162
|
+
|
|
163
|
+
# @!attribute parameter10
|
|
164
|
+
# @return [String]
|
|
165
|
+
parameter10: {
|
|
166
|
+
class: :string
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
# @!attribute parameter11
|
|
170
|
+
# @return [String]
|
|
171
|
+
parameter11: {
|
|
172
|
+
class: :string
|
|
173
|
+
},
|
|
174
|
+
|
|
175
|
+
# @!attribute osRequirements
|
|
176
|
+
# @return [String]
|
|
177
|
+
osRequirements: {
|
|
178
|
+
class: :string
|
|
179
|
+
},
|
|
180
|
+
|
|
181
|
+
# @!attribute scriptContents
|
|
182
|
+
# @return [String]
|
|
183
|
+
scriptContents: {
|
|
184
|
+
class: :string
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
} # end OAPI_PROPERTIES
|
|
188
|
+
|
|
189
|
+
end # class Script
|
|
190
|
+
|
|
191
|
+
end # module OAPISchemas
|
|
192
|
+
|
|
193
|
+
end # module Jamf
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Copyright 2025 Pixar
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "Apache License")
|
|
4
|
+
# with the following modification; you may not use this file except in
|
|
5
|
+
# compliance with the Apache License and the following modification to it:
|
|
6
|
+
# Section 6. Trademarks. is deleted and replaced with:
|
|
7
|
+
#
|
|
8
|
+
# 6. Trademarks. This License does not grant permission to use the trade
|
|
9
|
+
# names, trademarks, service marks, or product names of the Licensor
|
|
10
|
+
# and its affiliates, except as required to comply with Section 4(c) of
|
|
11
|
+
# the License and to reproduce the content of the NOTICE file.
|
|
12
|
+
#
|
|
13
|
+
# You may obtain a copy of the Apache License at
|
|
14
|
+
#
|
|
15
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
#
|
|
17
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
# distributed under the Apache License with the above modification is
|
|
19
|
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
20
|
+
# KIND, either express or implied. See the Apache License for the specific
|
|
21
|
+
# language governing permissions and limitations under the Apache License.
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
module Jamf
|
|
26
|
+
|
|
27
|
+
# This module is the namespace for all objects defined
|
|
28
|
+
# in the OAPI JSON schema under the components => schemas key
|
|
29
|
+
#
|
|
30
|
+
module OAPISchemas
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# OAPI Object Model and Enums for: ScriptsSearchResults
|
|
34
|
+
#
|
|
35
|
+
#
|
|
36
|
+
#
|
|
37
|
+
# This class was automatically generated from the api/schema
|
|
38
|
+
# URL path on a Jamf Pro server version 11.9.2-t1726753918
|
|
39
|
+
#
|
|
40
|
+
# This class may be used directly, e.g instances of other classes may
|
|
41
|
+
# use instances of this class as one of their own properties/attributes.
|
|
42
|
+
#
|
|
43
|
+
# It may also be used as a superclass when implementing Jamf Pro API
|
|
44
|
+
# Resources in ruby-jss. The subclasses include appropriate mixins, and
|
|
45
|
+
# should expand on the basic functionality provided here.
|
|
46
|
+
#
|
|
47
|
+
#
|
|
48
|
+
# Container Objects:
|
|
49
|
+
# Other object models that use this model as the value in one
|
|
50
|
+
# of their attributes.
|
|
51
|
+
#
|
|
52
|
+
#
|
|
53
|
+
# Sub Objects:
|
|
54
|
+
# Other object models used by this model's attributes.
|
|
55
|
+
# - Jamf::OAPISchemas::Script
|
|
56
|
+
#
|
|
57
|
+
# Endpoints and Privileges:
|
|
58
|
+
# API endpoints and HTTP operations that use this object
|
|
59
|
+
# model, and the Jamf Pro privileges needed to access them.
|
|
60
|
+
# - '/v1/scripts:GET' needs permissions:
|
|
61
|
+
# - Read Scripts
|
|
62
|
+
#
|
|
63
|
+
#
|
|
64
|
+
class ScriptsSearchResults < Jamf::OAPIObject
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
OAPI_PROPERTIES = {
|
|
69
|
+
|
|
70
|
+
# @!attribute totalCount
|
|
71
|
+
# @return [Integer]
|
|
72
|
+
totalCount: {
|
|
73
|
+
class: :integer,
|
|
74
|
+
minimum: 0
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
# @!attribute results
|
|
78
|
+
# @return [Array<Jamf::OAPISchemas::Script>]
|
|
79
|
+
results: {
|
|
80
|
+
class: Jamf::OAPISchemas::Script,
|
|
81
|
+
multi: true,
|
|
82
|
+
min_items: 0
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
} # end OAPI_PROPERTIES
|
|
86
|
+
|
|
87
|
+
end # class ScriptsSearchResults
|
|
88
|
+
|
|
89
|
+
end # module OAPISchemas
|
|
90
|
+
|
|
91
|
+
end # module Jamf
|
data/lib/jamf/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-jss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.1.0b1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Lasell
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-
|
|
12
|
+
date: 2026-07-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pixar-ruby-extensions
|
|
@@ -248,7 +248,6 @@ files:
|
|
|
248
248
|
- lib/jamf/api/classic/api_objects/management_history/user_location_change.rb
|
|
249
249
|
- lib/jamf/api/classic/api_objects/matchable.rb
|
|
250
250
|
- lib/jamf/api/classic/api_objects/mdm.rb
|
|
251
|
-
- lib/jamf/api/classic/api_objects/mdm_classic.rb
|
|
252
251
|
- lib/jamf/api/classic/api_objects/mobile_device.rb
|
|
253
252
|
- lib/jamf/api/classic/api_objects/mobile_device_application.rb
|
|
254
253
|
- lib/jamf/api/classic/api_objects/mobile_device_configuration_profile.rb
|
|
@@ -309,7 +308,11 @@ files:
|
|
|
309
308
|
- lib/jamf/api/jamf_pro/api_objects/device_enrollment.rb
|
|
310
309
|
- lib/jamf/api/jamf_pro/api_objects/inventory_preload_record.rb
|
|
311
310
|
- lib/jamf/api/jamf_pro/api_objects/j_building.rb
|
|
311
|
+
- lib/jamf/api/jamf_pro/api_objects/j_category.rb
|
|
312
|
+
- lib/jamf/api/jamf_pro/api_objects/j_computer_extension_attribute.rb
|
|
313
|
+
- lib/jamf/api/jamf_pro/api_objects/j_mobile_device_extension_attribute.rb
|
|
312
314
|
- lib/jamf/api/jamf_pro/api_objects/j_package.rb
|
|
315
|
+
- lib/jamf/api/jamf_pro/api_objects/j_script.rb
|
|
313
316
|
- lib/jamf/api/jamf_pro/api_objects/managed_software_updates.rb
|
|
314
317
|
- lib/jamf/api/jamf_pro/api_objects/managed_software_updates/plan.rb
|
|
315
318
|
- lib/jamf/api/jamf_pro/api_objects/mobile_device_prestage.rb
|
|
@@ -318,6 +321,7 @@ files:
|
|
|
318
321
|
- lib/jamf/api/jamf_pro/mixins/change_log.rb
|
|
319
322
|
- lib/jamf/api/jamf_pro/mixins/collection_resource.rb
|
|
320
323
|
- lib/jamf/api/jamf_pro/mixins/computer_recovery_lock.rb
|
|
324
|
+
- lib/jamf/api/jamf_pro/mixins/data_dependency.rb
|
|
321
325
|
- lib/jamf/api/jamf_pro/mixins/filevault.rb
|
|
322
326
|
- lib/jamf/api/jamf_pro/mixins/filterable.rb
|
|
323
327
|
- lib/jamf/api/jamf_pro/mixins/immutable.rb
|
|
@@ -349,6 +353,8 @@ files:
|
|
|
349
353
|
- lib/jamf/api/jamf_pro/oapi_schemas/available_updates.rb
|
|
350
354
|
- lib/jamf/api/jamf_pro/oapi_schemas/building.rb
|
|
351
355
|
- lib/jamf/api/jamf_pro/oapi_schemas/building_search_results.rb
|
|
356
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/categories_search_results.rb
|
|
357
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/category.rb
|
|
352
358
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_application.rb
|
|
353
359
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_attachment.rb
|
|
354
360
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_certificate.rb
|
|
@@ -366,6 +372,8 @@ files:
|
|
|
366
372
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_disk.rb
|
|
367
373
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_disk_encryption.rb
|
|
368
374
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute.rb
|
|
375
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attribute_search_results.rb
|
|
376
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/computer_extension_attributes.rb
|
|
369
377
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_font.rb
|
|
370
378
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_general.rb
|
|
371
379
|
- lib/jamf/api/jamf_pro/oapi_schemas/computer_hardware.rb
|
|
@@ -403,6 +411,7 @@ files:
|
|
|
403
411
|
- lib/jamf/api/jamf_pro/oapi_schemas/dss_declaration.rb
|
|
404
412
|
- lib/jamf/api/jamf_pro/oapi_schemas/dss_declarations.rb
|
|
405
413
|
- lib/jamf/api/jamf_pro/oapi_schemas/enrollment_method.rb
|
|
414
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/extension_attributes.rb
|
|
406
415
|
- lib/jamf/api/jamf_pro/oapi_schemas/get_computer_prestage_v3.rb
|
|
407
416
|
- lib/jamf/api/jamf_pro/oapi_schemas/get_mobile_device_prestage_v2.rb
|
|
408
417
|
- lib/jamf/api/jamf_pro/oapi_schemas/group_membership.rb
|
|
@@ -410,6 +419,7 @@ files:
|
|
|
410
419
|
- lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_extension_attribute.rb
|
|
411
420
|
- lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_search_results_v2.rb
|
|
412
421
|
- lib/jamf/api/jamf_pro/oapi_schemas/inventory_preload_record_v2.rb
|
|
422
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/jamf_protect_plan.rb
|
|
413
423
|
- lib/jamf/api/jamf_pro/oapi_schemas/location_information.rb
|
|
414
424
|
- lib/jamf/api/jamf_pro/oapi_schemas/location_information_v2.rb
|
|
415
425
|
- lib/jamf/api/jamf_pro/oapi_schemas/mac_os_managed_software_update.rb
|
|
@@ -425,6 +435,8 @@ files:
|
|
|
425
435
|
- lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_plans.rb
|
|
426
436
|
- lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_status.rb
|
|
427
437
|
- lib/jamf/api/jamf_pro/oapi_schemas/managed_software_update_statuses.rb
|
|
438
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute.rb
|
|
439
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_extension_attribute_results.rb
|
|
428
440
|
- lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_name_v2.rb
|
|
429
441
|
- lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_names_v2.rb
|
|
430
442
|
- lib/jamf/api/jamf_pro/oapi_schemas/mobile_device_prestage_search_results_v2.rb
|
|
@@ -450,6 +462,8 @@ files:
|
|
|
450
462
|
- lib/jamf/api/jamf_pro/oapi_schemas/put_computer_prestage_v3.rb
|
|
451
463
|
- lib/jamf/api/jamf_pro/oapi_schemas/put_mobile_device_prestage_v2.rb
|
|
452
464
|
- lib/jamf/api/jamf_pro/oapi_schemas/redeploy_jamf_management_framework_response.rb
|
|
465
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/script.rb
|
|
466
|
+
- lib/jamf/api/jamf_pro/oapi_schemas/scripts_search_results.rb
|
|
453
467
|
- lib/jamf/api/jamf_pro/oapi_schemas/v1_site.rb
|
|
454
468
|
- lib/jamf/api/jamf_pro/other_classes/change_log_entry.rb
|
|
455
469
|
- lib/jamf/api/jamf_pro/other_classes/ip_address.rb
|
|
@@ -544,9 +558,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
544
558
|
version: 2.6.3
|
|
545
559
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
546
560
|
requirements:
|
|
547
|
-
- - "
|
|
561
|
+
- - ">"
|
|
548
562
|
- !ruby/object:Gem::Version
|
|
549
|
-
version:
|
|
563
|
+
version: 1.3.1
|
|
550
564
|
requirements: []
|
|
551
565
|
rubygems_version: 3.0.3.1
|
|
552
566
|
signing_key:
|