microsoft_graph 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/chats/item/messages/messages_request_builder.rb +2 -2
- data/lib/communications/calls/item/participants/invite/invite_request_builder.rb +2 -2
- data/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report.rb +3 -0
- data/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_post_request_body.rb +242 -0
- data/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.rb +84 -0
- data/lib/device_management/reports/reports_request_builder.rb +6 -0
- data/lib/drive/items/item/drive_item_item_request_builder.rb +1 -1
- data/lib/drive/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
- data/lib/drive/root/list_item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
- data/lib/drive/root/list_item/list_item_request_builder.rb +1 -1
- data/lib/drives/item/root/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
- data/lib/drives/item/root/root_request_builder.rb +1 -1
- data/lib/groups/item/conversations/conversations_request_builder.rb +2 -2
- data/lib/groups/item/conversations/item/threads/item/posts/posts_request_builder.rb +3 -3
- data/lib/groups/item/group_item_request_builder.rb +2 -2
- data/lib/groups/item/team/channels/item/messages/messages_request_builder.rb +2 -2
- data/lib/groups/item/team/primary_channel/messages/messages_request_builder.rb +2 -2
- data/lib/groups/item/threads/item/posts/posts_request_builder.rb +3 -3
- data/lib/identity_protection/risky_users/item/history/history_request_builder.rb +3 -3
- data/lib/kiota-lock.json +2 -2
- data/lib/me/authentication/methods/methods_request_builder.rb +3 -3
- data/lib/me/chats/item/messages/messages_request_builder.rb +2 -2
- data/lib/me/drives/item/root/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/{dab1c2feb9ecf2d349721478e4ff8fe9c46b97a0c44110851b2b17a08d22383e.rb → get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.rb} +0 -0
- data/lib/me/drives/item/root/root_request_builder.rb +1 -1
- data/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
- data/lib/me/me_request_builder.rb +3 -3
- data/lib/me/messages/messages_request_builder.rb +2 -2
- data/lib/models/access_review_history_definition.rb +1 -1
- data/lib/models/administrative_unit.rb +1 -1
- data/lib/models/android_minimum_operating_system.rb +48 -48
- data/lib/models/app_catalogs.rb +1 -1
- data/lib/models/app_scope.rb +1 -1
- data/lib/models/booking_appointment.rb +3 -1
- data/lib/models/booking_business.rb +3 -1
- data/lib/models/cloud_communications.rb +1 -1
- data/lib/models/device_app_management.rb +1 -3
- data/lib/models/device_management.rb +1 -3
- data/lib/models/directory.rb +1 -1
- data/lib/models/directory_role.rb +1 -1
- data/lib/models/directory_role_template.rb +1 -1
- data/lib/models/domain.rb +1 -1
- data/lib/models/education_assignment.rb +1 -1
- data/lib/models/education_assignment_defaults.rb +1 -1
- data/lib/models/education_assignment_settings.rb +1 -1
- data/lib/models/education_class.rb +1 -1
- data/lib/models/entity.rb +6 -2
- data/lib/models/group_setting_template.rb +1 -1
- data/lib/models/identity_api_connector.rb +1 -1
- data/lib/models/identity_container.rb +1 -1
- data/lib/models/identity_user_flow.rb +1 -1
- data/lib/models/ios_minimum_operating_system.rb +41 -21
- data/lib/models/join_meeting_id_meeting_info.rb +83 -0
- data/lib/models/join_meeting_id_settings.rb +140 -0
- data/lib/models/managed_device.rb +6 -6
- data/lib/models/meeting_info.rb +2 -0
- data/lib/models/mobile_app.rb +2 -0
- data/lib/models/mobile_app_assignment_settings.rb +2 -0
- data/lib/models/mobile_app_content.rb +20 -0
- data/lib/models/mobile_contained_app.rb +52 -0
- data/lib/models/mobile_contained_app_collection_response.rb +62 -0
- data/lib/models/models.rb +11 -1
- data/lib/models/notification_template_branding_options.rb +1 -0
- data/lib/models/object_identity.rb +3 -3
- data/lib/models/online_meeting.rb +20 -0
- data/lib/models/org_contact.rb +1 -1
- data/lib/models/organization.rb +20 -0
- data/lib/models/partner_tenant_type.rb +11 -0
- data/lib/models/password_profile.rb +3 -3
- data/lib/models/place.rb +1 -1
- data/lib/models/print_connector.rb +1 -1
- data/lib/models/report_root.rb +46 -6
- data/lib/models/risk_detection.rb +1 -1
- data/lib/models/scheduling_group.rb +1 -1
- data/lib/models/security/ediscovery_estimate_operation.rb +1 -1
- data/lib/models/security/ediscovery_index_operation.rb +1 -1
- data/lib/models/security/ediscovery_noncustodial_data_source.rb +1 -1
- data/lib/models/security_reports_root.rb +1 -1
- data/lib/models/service_principal_risk_detection.rb +1 -1
- data/lib/models/share_point_identity.rb +1 -1
- data/lib/models/shift.rb +1 -1
- data/lib/models/site.rb +1 -1
- data/lib/models/teamwork_conversation_identity.rb +1 -1
- data/lib/models/terms_of_use_container.rb +1 -1
- data/lib/models/time_off.rb +1 -1
- data/lib/models/time_off_item.rb +1 -1
- data/lib/models/time_off_reason.rb +1 -1
- data/lib/models/user.rb +3 -3
- data/lib/models/windows_app_x_app_assignment_settings.rb +63 -0
- data/lib/models/windows_microsoft_edge_app.rb +83 -0
- data/lib/models/windows_microsoft_edge_app_collection_response.rb +62 -0
- data/lib/models/windows_universal_app_x.rb +20 -0
- data/lib/models/windows_universal_app_x_contained_app.rb +63 -0
- data/lib/models/windows_universal_app_x_contained_app_collection_response.rb +62 -0
- data/lib/reports/reports_request_builder.rb +2 -2
- data/lib/teams/item/channels/item/messages/messages_request_builder.rb +2 -2
- data/lib/teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
- data/lib/users/item/authentication/methods/methods_request_builder.rb +3 -3
- data/lib/users/item/chats/item/messages/messages_request_builder.rb +2 -2
- data/lib/users/item/joined_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
- data/lib/users/item/joined_teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
- data/lib/users/item/messages/messages_request_builder.rb +2 -2
- data/lib/users/users_request_builder.rb +3 -3
- data/lib/version_information.rb +2 -1
- metadata +19 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d279c98aa3ca1fb94c1873964e0e89ff52f63225456d2623c101fa3a6cd80e3b
|
4
|
+
data.tar.gz: 1dc07e8394a1253baf78a17430b707871984dd09d9e0dbd548f3898cf3289b81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f19fa98f8a0ea50ed363c6bdda2e87074e31757e48e2eca5d0afec56cd7eacf02b2320681f0b15b5f7d4f4ac6f8b7a00bec7f6c91a486cbcf140ba91f3d0ea3
|
7
|
+
data.tar.gz: 3e6f35b78855f129ccd09782286effbc145a57b4d912937185dd9e0da42645b584bbc7757d741d6ab47027da873ba22dc7cebd82060020fddcbf1d9c17bda2ed
|
data/CHANGELOG.md
CHANGED
@@ -64,7 +64,7 @@ module MicrosoftGraph::Chats::Item::Messages
|
|
64
64
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
65
65
|
end
|
66
66
|
##
|
67
|
-
## Send a new chatMessage in the specified
|
67
|
+
## Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
|
68
68
|
## @param body The request body
|
69
69
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
70
70
|
## @return a Fiber of chat_message
|
@@ -98,7 +98,7 @@ module MicrosoftGraph::Chats::Item::Messages
|
|
98
98
|
return request_info
|
99
99
|
end
|
100
100
|
##
|
101
|
-
## Send a new chatMessage in the specified
|
101
|
+
## Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
|
102
102
|
## @param body The request body
|
103
103
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
104
104
|
## @return a request_information
|
@@ -37,7 +37,7 @@ module MicrosoftGraph::Communications::Calls::Item::Participants::Invite
|
|
37
37
|
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
38
38
|
end
|
39
39
|
##
|
40
|
-
##
|
40
|
+
## Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
|
41
41
|
## @param body The request body
|
42
42
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
43
43
|
## @return a Fiber of invite_participants_operation
|
@@ -53,7 +53,7 @@ module MicrosoftGraph::Communications::Calls::Item::Participants::Invite
|
|
53
53
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::InviteParticipantsOperation.create_from_discriminator_value(pn) }, error_mapping)
|
54
54
|
end
|
55
55
|
##
|
56
|
-
##
|
56
|
+
## Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
|
57
57
|
## @param body The request body
|
58
58
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
59
59
|
## @return a request_information
|
@@ -0,0 +1,242 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../../../microsoft_graph'
|
3
|
+
require_relative '../../device_management'
|
4
|
+
require_relative '../reports'
|
5
|
+
require_relative './get_devices_without_compliance_policy_report'
|
6
|
+
|
7
|
+
module MicrosoftGraph::DeviceManagement::Reports::GetDevicesWithoutCompliancePolicyReport
|
8
|
+
class GetDevicesWithoutCompliancePolicyReportPostRequestBody
|
9
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
10
|
+
##
|
11
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
12
|
+
@additional_data
|
13
|
+
##
|
14
|
+
# The filter property
|
15
|
+
@filter
|
16
|
+
##
|
17
|
+
# The groupBy property
|
18
|
+
@group_by
|
19
|
+
##
|
20
|
+
# The name property
|
21
|
+
@name
|
22
|
+
##
|
23
|
+
# The orderBy property
|
24
|
+
@order_by
|
25
|
+
##
|
26
|
+
# The search property
|
27
|
+
@search
|
28
|
+
##
|
29
|
+
# The select property
|
30
|
+
@select
|
31
|
+
##
|
32
|
+
# The sessionId property
|
33
|
+
@session_id
|
34
|
+
##
|
35
|
+
# The skip property
|
36
|
+
@skip
|
37
|
+
##
|
38
|
+
# The top property
|
39
|
+
@top
|
40
|
+
##
|
41
|
+
## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
42
|
+
## @return a i_dictionary
|
43
|
+
##
|
44
|
+
def additional_data
|
45
|
+
return @additional_data
|
46
|
+
end
|
47
|
+
##
|
48
|
+
## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
49
|
+
## @param value Value to set for the AdditionalData property.
|
50
|
+
## @return a void
|
51
|
+
##
|
52
|
+
def additional_data=(value)
|
53
|
+
@additional_data = value
|
54
|
+
end
|
55
|
+
##
|
56
|
+
## Instantiates a new getDevicesWithoutCompliancePolicyReportPostRequestBody and sets the default values.
|
57
|
+
## @return a void
|
58
|
+
##
|
59
|
+
def initialize()
|
60
|
+
@additional_data = Hash.new
|
61
|
+
end
|
62
|
+
##
|
63
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
64
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
65
|
+
## @return a get_devices_without_compliance_policy_report_post_request_body
|
66
|
+
##
|
67
|
+
def self.create_from_discriminator_value(parse_node)
|
68
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
69
|
+
return GetDevicesWithoutCompliancePolicyReportPostRequestBody.new
|
70
|
+
end
|
71
|
+
##
|
72
|
+
## Gets the filter property value. The filter property
|
73
|
+
## @return a string
|
74
|
+
##
|
75
|
+
def filter
|
76
|
+
return @filter
|
77
|
+
end
|
78
|
+
##
|
79
|
+
## Sets the filter property value. The filter property
|
80
|
+
## @param value Value to set for the filter property.
|
81
|
+
## @return a void
|
82
|
+
##
|
83
|
+
def filter=(value)
|
84
|
+
@filter = value
|
85
|
+
end
|
86
|
+
##
|
87
|
+
## The deserialization information for the current model
|
88
|
+
## @return a i_dictionary
|
89
|
+
##
|
90
|
+
def get_field_deserializers()
|
91
|
+
return {
|
92
|
+
"filter" => lambda {|n| @filter = n.get_string_value() },
|
93
|
+
"groupBy" => lambda {|n| @group_by = n.get_collection_of_primitive_values(String) },
|
94
|
+
"name" => lambda {|n| @name = n.get_string_value() },
|
95
|
+
"orderBy" => lambda {|n| @order_by = n.get_collection_of_primitive_values(String) },
|
96
|
+
"search" => lambda {|n| @search = n.get_string_value() },
|
97
|
+
"select" => lambda {|n| @select = n.get_collection_of_primitive_values(String) },
|
98
|
+
"sessionId" => lambda {|n| @session_id = n.get_string_value() },
|
99
|
+
"skip" => lambda {|n| @skip = n.get_number_value() },
|
100
|
+
"top" => lambda {|n| @top = n.get_number_value() },
|
101
|
+
}
|
102
|
+
end
|
103
|
+
##
|
104
|
+
## Gets the groupBy property value. The groupBy property
|
105
|
+
## @return a string
|
106
|
+
##
|
107
|
+
def group_by
|
108
|
+
return @group_by
|
109
|
+
end
|
110
|
+
##
|
111
|
+
## Sets the groupBy property value. The groupBy property
|
112
|
+
## @param value Value to set for the groupBy property.
|
113
|
+
## @return a void
|
114
|
+
##
|
115
|
+
def group_by=(value)
|
116
|
+
@group_by = value
|
117
|
+
end
|
118
|
+
##
|
119
|
+
## Gets the name property value. The name property
|
120
|
+
## @return a string
|
121
|
+
##
|
122
|
+
def name
|
123
|
+
return @name
|
124
|
+
end
|
125
|
+
##
|
126
|
+
## Sets the name property value. The name property
|
127
|
+
## @param value Value to set for the name property.
|
128
|
+
## @return a void
|
129
|
+
##
|
130
|
+
def name=(value)
|
131
|
+
@name = value
|
132
|
+
end
|
133
|
+
##
|
134
|
+
## Gets the orderBy property value. The orderBy property
|
135
|
+
## @return a string
|
136
|
+
##
|
137
|
+
def order_by
|
138
|
+
return @order_by
|
139
|
+
end
|
140
|
+
##
|
141
|
+
## Sets the orderBy property value. The orderBy property
|
142
|
+
## @param value Value to set for the orderBy property.
|
143
|
+
## @return a void
|
144
|
+
##
|
145
|
+
def order_by=(value)
|
146
|
+
@order_by = value
|
147
|
+
end
|
148
|
+
##
|
149
|
+
## Gets the search property value. The search property
|
150
|
+
## @return a string
|
151
|
+
##
|
152
|
+
def search
|
153
|
+
return @search
|
154
|
+
end
|
155
|
+
##
|
156
|
+
## Sets the search property value. The search property
|
157
|
+
## @param value Value to set for the search property.
|
158
|
+
## @return a void
|
159
|
+
##
|
160
|
+
def search=(value)
|
161
|
+
@search = value
|
162
|
+
end
|
163
|
+
##
|
164
|
+
## Gets the select property value. The select property
|
165
|
+
## @return a string
|
166
|
+
##
|
167
|
+
def select
|
168
|
+
return @select
|
169
|
+
end
|
170
|
+
##
|
171
|
+
## Sets the select property value. The select property
|
172
|
+
## @param value Value to set for the select property.
|
173
|
+
## @return a void
|
174
|
+
##
|
175
|
+
def select=(value)
|
176
|
+
@select = value
|
177
|
+
end
|
178
|
+
##
|
179
|
+
## Serializes information the current object
|
180
|
+
## @param writer Serialization writer to use to serialize this model
|
181
|
+
## @return a void
|
182
|
+
##
|
183
|
+
def serialize(writer)
|
184
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
185
|
+
writer.write_string_value("filter", @filter)
|
186
|
+
writer.write_collection_of_primitive_values("groupBy", @group_by)
|
187
|
+
writer.write_string_value("name", @name)
|
188
|
+
writer.write_collection_of_primitive_values("orderBy", @order_by)
|
189
|
+
writer.write_string_value("search", @search)
|
190
|
+
writer.write_collection_of_primitive_values("select", @select)
|
191
|
+
writer.write_string_value("sessionId", @session_id)
|
192
|
+
writer.write_number_value("skip", @skip)
|
193
|
+
writer.write_number_value("top", @top)
|
194
|
+
writer.write_additional_data(@additional_data)
|
195
|
+
end
|
196
|
+
##
|
197
|
+
## Gets the sessionId property value. The sessionId property
|
198
|
+
## @return a string
|
199
|
+
##
|
200
|
+
def session_id
|
201
|
+
return @session_id
|
202
|
+
end
|
203
|
+
##
|
204
|
+
## Sets the sessionId property value. The sessionId property
|
205
|
+
## @param value Value to set for the sessionId property.
|
206
|
+
## @return a void
|
207
|
+
##
|
208
|
+
def session_id=(value)
|
209
|
+
@session_id = value
|
210
|
+
end
|
211
|
+
##
|
212
|
+
## Gets the skip property value. The skip property
|
213
|
+
## @return a integer
|
214
|
+
##
|
215
|
+
def skip
|
216
|
+
return @skip
|
217
|
+
end
|
218
|
+
##
|
219
|
+
## Sets the skip property value. The skip property
|
220
|
+
## @param value Value to set for the skip property.
|
221
|
+
## @return a void
|
222
|
+
##
|
223
|
+
def skip=(value)
|
224
|
+
@skip = value
|
225
|
+
end
|
226
|
+
##
|
227
|
+
## Gets the top property value. The top property
|
228
|
+
## @return a integer
|
229
|
+
##
|
230
|
+
def top
|
231
|
+
return @top
|
232
|
+
end
|
233
|
+
##
|
234
|
+
## Sets the top property value. The top property
|
235
|
+
## @param value Value to set for the top property.
|
236
|
+
## @return a void
|
237
|
+
##
|
238
|
+
def top=(value)
|
239
|
+
@top = value
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../../../microsoft_graph'
|
3
|
+
require_relative '../../../models/o_data_errors/o_data_error'
|
4
|
+
require_relative '../../device_management'
|
5
|
+
require_relative '../reports'
|
6
|
+
require_relative './get_devices_without_compliance_policy_report'
|
7
|
+
|
8
|
+
module MicrosoftGraph::DeviceManagement::Reports::GetDevicesWithoutCompliancePolicyReport
|
9
|
+
##
|
10
|
+
# Provides operations to call the getDevicesWithoutCompliancePolicyReport method.
|
11
|
+
class GetDevicesWithoutCompliancePolicyReportRequestBuilder
|
12
|
+
|
13
|
+
##
|
14
|
+
# Path parameters for the request
|
15
|
+
@path_parameters
|
16
|
+
##
|
17
|
+
# The request adapter to use to execute the requests.
|
18
|
+
@request_adapter
|
19
|
+
##
|
20
|
+
# Url template to use to build the URL for the current request builder
|
21
|
+
@url_template
|
22
|
+
##
|
23
|
+
## Instantiates a new GetDevicesWithoutCompliancePolicyReportRequestBuilder and sets the default values.
|
24
|
+
## @param pathParameters Path parameters for the request
|
25
|
+
## @param requestAdapter The request adapter to use to execute the requests.
|
26
|
+
## @return a void
|
27
|
+
##
|
28
|
+
def initialize(path_parameters, request_adapter)
|
29
|
+
raise StandardError, 'path_parameters cannot be null' if path_parameters.nil?
|
30
|
+
raise StandardError, 'request_adapter cannot be null' if request_adapter.nil?
|
31
|
+
@url_template = "{+baseurl}/deviceManagement/reports/microsoft.graph.getDevicesWithoutCompliancePolicyReport"
|
32
|
+
@request_adapter = request_adapter
|
33
|
+
path_parameters = { "request-raw-url" => path_parameters } if path_parameters.is_a? String
|
34
|
+
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
35
|
+
end
|
36
|
+
##
|
37
|
+
## Invoke action getDevicesWithoutCompliancePolicyReport
|
38
|
+
## @param body The request body
|
39
|
+
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
40
|
+
## @return a Fiber of binary
|
41
|
+
##
|
42
|
+
def post(body, request_configuration=nil)
|
43
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
44
|
+
request_info = self.to_post_request_information(
|
45
|
+
body, request_configuration
|
46
|
+
)
|
47
|
+
error_mapping = Hash.new
|
48
|
+
error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
|
49
|
+
error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
|
50
|
+
return @request_adapter.send_async(request_info, Binary, error_mapping)
|
51
|
+
end
|
52
|
+
##
|
53
|
+
## Invoke action getDevicesWithoutCompliancePolicyReport
|
54
|
+
## @param body The request body
|
55
|
+
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
56
|
+
## @return a request_information
|
57
|
+
##
|
58
|
+
def to_post_request_information(body, request_configuration=nil)
|
59
|
+
raise StandardError, 'body cannot be null' if body.nil?
|
60
|
+
request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
|
61
|
+
request_info.url_template = @url_template
|
62
|
+
request_info.path_parameters = @path_parameters
|
63
|
+
request_info.http_method = :POST
|
64
|
+
unless request_configuration.nil?
|
65
|
+
request_info.add_headers_from_raw_object(request_configuration.headers)
|
66
|
+
request_info.add_request_options(request_configuration.options)
|
67
|
+
end
|
68
|
+
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
|
69
|
+
return request_info
|
70
|
+
end
|
71
|
+
|
72
|
+
##
|
73
|
+
# Configuration for the request such as headers, query parameters, and middleware options.
|
74
|
+
class GetDevicesWithoutCompliancePolicyReportRequestBuilderPostRequestConfiguration
|
75
|
+
|
76
|
+
##
|
77
|
+
# Request headers
|
78
|
+
attr_accessor :headers
|
79
|
+
##
|
80
|
+
# Request options
|
81
|
+
attr_accessor :options
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -15,6 +15,7 @@ require_relative './get_configuration_setting_non_compliance_report/get_configur
|
|
15
15
|
require_relative './get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder'
|
16
16
|
require_relative './get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder'
|
17
17
|
require_relative './get_device_non_compliance_report/get_device_non_compliance_report_request_builder'
|
18
|
+
require_relative './get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder'
|
18
19
|
require_relative './get_historical_report/get_historical_report_request_builder'
|
19
20
|
require_relative './get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder'
|
20
21
|
require_relative './get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder'
|
@@ -85,6 +86,11 @@ module MicrosoftGraph::DeviceManagement::Reports
|
|
85
86
|
return MicrosoftGraph::DeviceManagement::Reports::GetDeviceNonComplianceReport::GetDeviceNonComplianceReportRequestBuilder.new(@path_parameters, @request_adapter)
|
86
87
|
end
|
87
88
|
##
|
89
|
+
# Provides operations to call the getDevicesWithoutCompliancePolicyReport method.
|
90
|
+
def get_devices_without_compliance_policy_report()
|
91
|
+
return MicrosoftGraph::DeviceManagement::Reports::GetDevicesWithoutCompliancePolicyReport::GetDevicesWithoutCompliancePolicyReportRequestBuilder.new(@path_parameters, @request_adapter)
|
92
|
+
end
|
93
|
+
##
|
88
94
|
# Provides operations to call the getHistoricalReport method.
|
89
95
|
def get_historical_report()
|
90
96
|
return MicrosoftGraph::DeviceManagement::Reports::GetHistoricalReport::GetHistoricalReportRequestBuilder.new(@path_parameters, @request_adapter)
|
@@ -17,7 +17,7 @@ require_relative './delta/delta_request_builder'
|
|
17
17
|
require_relative './delta_with_token/delta_with_token_request_builder'
|
18
18
|
require_relative './follow/follow_request_builder'
|
19
19
|
require_relative './get_activities_by_interval/get_activities_by_interval_request_builder'
|
20
|
-
require_relative './get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/
|
20
|
+
require_relative './get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder'
|
21
21
|
require_relative './invite/invite_request_builder'
|
22
22
|
require_relative './item'
|
23
23
|
require_relative './list_item/list_item_request_builder'
|
@@ -10,7 +10,7 @@ require_relative './document_set_versions/item/document_set_version_item_request
|
|
10
10
|
require_relative './drive_item/drive_item_request_builder'
|
11
11
|
require_relative './fields/fields_request_builder'
|
12
12
|
require_relative './get_activities_by_interval/get_activities_by_interval_request_builder'
|
13
|
-
require_relative './get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/
|
13
|
+
require_relative './get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder'
|
14
14
|
require_relative './list_item'
|
15
15
|
require_relative './versions/item/list_item_version_item_request_builder'
|
16
16
|
require_relative './versions/versions_request_builder'
|
@@ -17,7 +17,7 @@ require_relative './delta/delta_request_builder'
|
|
17
17
|
require_relative './delta_with_token/delta_with_token_request_builder'
|
18
18
|
require_relative './follow/follow_request_builder'
|
19
19
|
require_relative './get_activities_by_interval/get_activities_by_interval_request_builder'
|
20
|
-
require_relative './get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/
|
20
|
+
require_relative './get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder'
|
21
21
|
require_relative './invite/invite_request_builder'
|
22
22
|
require_relative './list_item/list_item_request_builder'
|
23
23
|
require_relative './permissions/item/permission_item_request_builder'
|
@@ -56,7 +56,7 @@ module MicrosoftGraph::Groups::Item::Conversations
|
|
56
56
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ConversationCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
57
57
|
end
|
58
58
|
##
|
59
|
-
##
|
59
|
+
## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
|
60
60
|
## @param body The request body
|
61
61
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
## @return a Fiber of conversation
|
@@ -90,7 +90,7 @@ module MicrosoftGraph::Groups::Item::Conversations
|
|
90
90
|
return request_info
|
91
91
|
end
|
92
92
|
##
|
93
|
-
##
|
93
|
+
## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions.
|
94
94
|
## @param body The request body
|
95
95
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
96
96
|
## @return a request_information
|
@@ -45,7 +45,7 @@ module MicrosoftGraph::Groups::Item::Conversations::Item::Threads::Item::Posts
|
|
45
45
|
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
46
46
|
end
|
47
47
|
##
|
48
|
-
## Get the
|
48
|
+
## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance.
|
49
49
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
50
50
|
## @return a Fiber of post_collection_response
|
51
51
|
##
|
@@ -59,7 +59,7 @@ module MicrosoftGraph::Groups::Item::Conversations::Item::Threads::Item::Posts
|
|
59
59
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::PostCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
60
60
|
end
|
61
61
|
##
|
62
|
-
## Get the
|
62
|
+
## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance.
|
63
63
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
64
64
|
## @return a request_information
|
65
65
|
##
|
@@ -78,7 +78,7 @@ module MicrosoftGraph::Groups::Item::Conversations::Item::Threads::Item::Posts
|
|
78
78
|
end
|
79
79
|
|
80
80
|
##
|
81
|
-
# Get the
|
81
|
+
# Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance.
|
82
82
|
class PostsRequestBuilderGetQueryParameters
|
83
83
|
|
84
84
|
##
|
@@ -460,7 +460,7 @@ module MicrosoftGraph::Groups::Item
|
|
460
460
|
return MicrosoftGraph::Groups::Item::Owners::Item::DirectoryObjectItemRequestBuilder.new(url_tpl_params, @request_adapter)
|
461
461
|
end
|
462
462
|
##
|
463
|
-
##
|
463
|
+
## Add a member to a security or Microsoft 365 group through the **members** navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups.
|
464
464
|
## @param body The request body
|
465
465
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
466
466
|
## @return a Fiber of group
|
@@ -576,7 +576,7 @@ module MicrosoftGraph::Groups::Item
|
|
576
576
|
return request_info
|
577
577
|
end
|
578
578
|
##
|
579
|
-
##
|
579
|
+
## Add a member to a security or Microsoft 365 group through the **members** navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups.
|
580
580
|
## @param body The request body
|
581
581
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
582
582
|
## @return a request_information
|
@@ -67,7 +67,7 @@ module MicrosoftGraph::Groups::Item::Team::Channels::Item::Messages
|
|
67
67
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
68
68
|
end
|
69
69
|
##
|
70
|
-
## Send a new chatMessage in the specified channel
|
70
|
+
## Send a new chatMessage in the specified channel.
|
71
71
|
## @param body The request body
|
72
72
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
73
73
|
## @return a Fiber of chat_message
|
@@ -101,7 +101,7 @@ module MicrosoftGraph::Groups::Item::Team::Channels::Item::Messages
|
|
101
101
|
return request_info
|
102
102
|
end
|
103
103
|
##
|
104
|
-
## Send a new chatMessage in the specified channel
|
104
|
+
## Send a new chatMessage in the specified channel.
|
105
105
|
## @param body The request body
|
106
106
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
107
107
|
## @return a request_information
|
@@ -66,7 +66,7 @@ module MicrosoftGraph::Groups::Item::Team::PrimaryChannel::Messages
|
|
66
66
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
67
67
|
end
|
68
68
|
##
|
69
|
-
## Send a new chatMessage in the specified channel
|
69
|
+
## Send a new chatMessage in the specified channel.
|
70
70
|
## @param body The request body
|
71
71
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
72
72
|
## @return a Fiber of chat_message
|
@@ -100,7 +100,7 @@ module MicrosoftGraph::Groups::Item::Team::PrimaryChannel::Messages
|
|
100
100
|
return request_info
|
101
101
|
end
|
102
102
|
##
|
103
|
-
## Send a new chatMessage in the specified channel
|
103
|
+
## Send a new chatMessage in the specified channel.
|
104
104
|
## @param body The request body
|
105
105
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
106
106
|
## @return a request_information
|
@@ -43,7 +43,7 @@ module MicrosoftGraph::Groups::Item::Threads::Item::Posts
|
|
43
43
|
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
44
44
|
end
|
45
45
|
##
|
46
|
-
## Get the
|
46
|
+
## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance.
|
47
47
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
48
48
|
## @return a Fiber of post_collection_response
|
49
49
|
##
|
@@ -57,7 +57,7 @@ module MicrosoftGraph::Groups::Item::Threads::Item::Posts
|
|
57
57
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::PostCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
58
58
|
end
|
59
59
|
##
|
60
|
-
## Get the
|
60
|
+
## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance.
|
61
61
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
62
62
|
## @return a request_information
|
63
63
|
##
|
@@ -76,7 +76,7 @@ module MicrosoftGraph::Groups::Item::Threads::Item::Posts
|
|
76
76
|
end
|
77
77
|
|
78
78
|
##
|
79
|
-
# Get the
|
79
|
+
# Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance.
|
80
80
|
class PostsRequestBuilderGetQueryParameters
|
81
81
|
|
82
82
|
##
|
@@ -43,7 +43,7 @@ module MicrosoftGraph::IdentityProtection::RiskyUsers::Item::History
|
|
43
43
|
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
44
44
|
end
|
45
45
|
##
|
46
|
-
##
|
46
|
+
## Read the properties and relationships of a riskyUserHistoryItem object.
|
47
47
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
48
48
|
## @return a Fiber of risky_user_history_item_collection_response
|
49
49
|
##
|
@@ -73,7 +73,7 @@ module MicrosoftGraph::IdentityProtection::RiskyUsers::Item::History
|
|
73
73
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::RiskyUserHistoryItem.create_from_discriminator_value(pn) }, error_mapping)
|
74
74
|
end
|
75
75
|
##
|
76
|
-
##
|
76
|
+
## Read the properties and relationships of a riskyUserHistoryItem object.
|
77
77
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
## @return a request_information
|
79
79
|
##
|
@@ -112,7 +112,7 @@ module MicrosoftGraph::IdentityProtection::RiskyUsers::Item::History
|
|
112
112
|
end
|
113
113
|
|
114
114
|
##
|
115
|
-
#
|
115
|
+
# Read the properties and relationships of a riskyUserHistoryItem object.
|
116
116
|
class HistoryRequestBuilderGetQueryParameters
|
117
117
|
|
118
118
|
##
|
data/lib/kiota-lock.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"descriptionHash": "
|
2
|
+
"descriptionHash": "CF89A42E7B0011081CAF148CB34AD241F956B4132BB4D27D3C24E35562E34B65B43D79724D5FE8FD1E7FCC89307B764C3597DA3D90C00F3603D97D785C54EEC2",
|
3
3
|
"descriptionLocation": "/home/vsts/work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml",
|
4
4
|
"lockFileVersion": "1.0.0",
|
5
|
-
"kiotaVersion": "0.10.0
|
5
|
+
"kiotaVersion": "0.10.0-preview",
|
6
6
|
"clientClassName": "MicrosoftGraphBaseServiceClient",
|
7
7
|
"clientNamespaceName": "MicrosoftGraph",
|
8
8
|
"language": "Ruby",
|