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
data/lib/models/site.rb
CHANGED
@@ -9,7 +9,7 @@ module MicrosoftGraph::Models
|
|
9
9
|
# Type of conversation. Possible values are: team, channel, chat, and unknownFutureValue.
|
10
10
|
@conversation_identity_type
|
11
11
|
##
|
12
|
-
## Instantiates a new
|
12
|
+
## Instantiates a new TeamworkConversationIdentity and sets the default values.
|
13
13
|
## @return a void
|
14
14
|
##
|
15
15
|
def initialize()
|
@@ -42,7 +42,7 @@ module MicrosoftGraph::Models
|
|
42
42
|
@agreements = value
|
43
43
|
end
|
44
44
|
##
|
45
|
-
## Instantiates a new
|
45
|
+
## Instantiates a new TermsOfUseContainer and sets the default values.
|
46
46
|
## @return a void
|
47
47
|
##
|
48
48
|
def initialize()
|
data/lib/models/time_off.rb
CHANGED
@@ -15,7 +15,7 @@ module MicrosoftGraph::Models
|
|
15
15
|
# ID of the user assigned to the timeOff. Required.
|
16
16
|
@user_id
|
17
17
|
##
|
18
|
-
## Instantiates a new
|
18
|
+
## Instantiates a new TimeOff and sets the default values.
|
19
19
|
## @return a void
|
20
20
|
##
|
21
21
|
def initialize()
|
data/lib/models/time_off_item.rb
CHANGED
@@ -9,7 +9,7 @@ module MicrosoftGraph::Models
|
|
9
9
|
# ID of the timeOffReason for this timeOffItem. Required.
|
10
10
|
@time_off_reason_id
|
11
11
|
##
|
12
|
-
## Instantiates a new
|
12
|
+
## Instantiates a new TimeOffItem and sets the default values.
|
13
13
|
## @return a void
|
14
14
|
##
|
15
15
|
def initialize()
|
@@ -15,7 +15,7 @@ module MicrosoftGraph::Models
|
|
15
15
|
# Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required.
|
16
16
|
@is_active
|
17
17
|
##
|
18
|
-
## Instantiates a new
|
18
|
+
## Instantiates a new TimeOffReason and sets the default values.
|
19
19
|
## @return a void
|
20
20
|
##
|
21
21
|
def initialize()
|
data/lib/models/user.rb
CHANGED
@@ -268,7 +268,7 @@ module MicrosoftGraph::Models
|
|
268
268
|
# Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values).
|
269
269
|
@password_policies
|
270
270
|
##
|
271
|
-
# Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required.
|
271
|
+
# Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values).
|
272
272
|
@password_profile
|
273
273
|
##
|
274
274
|
# A list for the user to enumerate their past projects. Returned only on $select.
|
@@ -1809,14 +1809,14 @@ module MicrosoftGraph::Models
|
|
1809
1809
|
@password_policies = value
|
1810
1810
|
end
|
1811
1811
|
##
|
1812
|
-
## Gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required.
|
1812
|
+
## Gets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values).
|
1813
1813
|
## @return a password_profile
|
1814
1814
|
##
|
1815
1815
|
def password_profile
|
1816
1816
|
return @password_profile
|
1817
1817
|
end
|
1818
1818
|
##
|
1819
|
-
## Sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required.
|
1819
|
+
## Sets the passwordProfile property value. Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values).
|
1820
1820
|
## @param value Value to set for the passwordProfile property.
|
1821
1821
|
## @return a void
|
1822
1822
|
##
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph::Models
|
6
|
+
class WindowsAppXAppAssignmentSettings < MicrosoftGraph::Models::MobileAppAssignmentSettings
|
7
|
+
include MicrosoftKiotaAbstractions::Parsable
|
8
|
+
##
|
9
|
+
# Whether or not to use device execution context for Windows AppX mobile app.
|
10
|
+
@use_device_context
|
11
|
+
##
|
12
|
+
## Instantiates a new WindowsAppXAppAssignmentSettings and sets the default values.
|
13
|
+
## @return a void
|
14
|
+
##
|
15
|
+
def initialize()
|
16
|
+
super
|
17
|
+
@odata_type = "#microsoft.graph.windowsAppXAppAssignmentSettings"
|
18
|
+
end
|
19
|
+
##
|
20
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
21
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
22
|
+
## @return a windows_app_x_app_assignment_settings
|
23
|
+
##
|
24
|
+
def self.create_from_discriminator_value(parse_node)
|
25
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
26
|
+
return WindowsAppXAppAssignmentSettings.new
|
27
|
+
end
|
28
|
+
##
|
29
|
+
## The deserialization information for the current model
|
30
|
+
## @return a i_dictionary
|
31
|
+
##
|
32
|
+
def get_field_deserializers()
|
33
|
+
return super.merge({
|
34
|
+
"useDeviceContext" => lambda {|n| @use_device_context = n.get_boolean_value() },
|
35
|
+
})
|
36
|
+
end
|
37
|
+
##
|
38
|
+
## Serializes information the current object
|
39
|
+
## @param writer Serialization writer to use to serialize this model
|
40
|
+
## @return a void
|
41
|
+
##
|
42
|
+
def serialize(writer)
|
43
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
44
|
+
super
|
45
|
+
writer.write_boolean_value("useDeviceContext", @use_device_context)
|
46
|
+
end
|
47
|
+
##
|
48
|
+
## Gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app.
|
49
|
+
## @return a boolean
|
50
|
+
##
|
51
|
+
def use_device_context
|
52
|
+
return @use_device_context
|
53
|
+
end
|
54
|
+
##
|
55
|
+
## Sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app.
|
56
|
+
## @param value Value to set for the useDeviceContext property.
|
57
|
+
## @return a void
|
58
|
+
##
|
59
|
+
def use_device_context=(value)
|
60
|
+
@use_device_context = value
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph::Models
|
6
|
+
class WindowsMicrosoftEdgeApp < MicrosoftGraph::Models::MobileApp
|
7
|
+
include MicrosoftKiotaAbstractions::Parsable
|
8
|
+
##
|
9
|
+
# The enum to specify the channels for Microsoft Edge apps.
|
10
|
+
@channel
|
11
|
+
##
|
12
|
+
# The language locale to use when the Edge app displays text to the user.
|
13
|
+
@display_language_locale
|
14
|
+
##
|
15
|
+
## Gets the channel property value. The enum to specify the channels for Microsoft Edge apps.
|
16
|
+
## @return a microsoft_edge_channel
|
17
|
+
##
|
18
|
+
def channel
|
19
|
+
return @channel
|
20
|
+
end
|
21
|
+
##
|
22
|
+
## Sets the channel property value. The enum to specify the channels for Microsoft Edge apps.
|
23
|
+
## @param value Value to set for the channel property.
|
24
|
+
## @return a void
|
25
|
+
##
|
26
|
+
def channel=(value)
|
27
|
+
@channel = value
|
28
|
+
end
|
29
|
+
##
|
30
|
+
## Instantiates a new WindowsMicrosoftEdgeApp and sets the default values.
|
31
|
+
## @return a void
|
32
|
+
##
|
33
|
+
def initialize()
|
34
|
+
super
|
35
|
+
@odata_type = "#microsoft.graph.windowsMicrosoftEdgeApp"
|
36
|
+
end
|
37
|
+
##
|
38
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
39
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
40
|
+
## @return a windows_microsoft_edge_app
|
41
|
+
##
|
42
|
+
def self.create_from_discriminator_value(parse_node)
|
43
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
44
|
+
return WindowsMicrosoftEdgeApp.new
|
45
|
+
end
|
46
|
+
##
|
47
|
+
## Gets the displayLanguageLocale property value. The language locale to use when the Edge app displays text to the user.
|
48
|
+
## @return a string
|
49
|
+
##
|
50
|
+
def display_language_locale
|
51
|
+
return @display_language_locale
|
52
|
+
end
|
53
|
+
##
|
54
|
+
## Sets the displayLanguageLocale property value. The language locale to use when the Edge app displays text to the user.
|
55
|
+
## @param value Value to set for the displayLanguageLocale property.
|
56
|
+
## @return a void
|
57
|
+
##
|
58
|
+
def display_language_locale=(value)
|
59
|
+
@display_language_locale = value
|
60
|
+
end
|
61
|
+
##
|
62
|
+
## The deserialization information for the current model
|
63
|
+
## @return a i_dictionary
|
64
|
+
##
|
65
|
+
def get_field_deserializers()
|
66
|
+
return super.merge({
|
67
|
+
"channel" => lambda {|n| @channel = n.get_enum_value(MicrosoftGraph::Models::MicrosoftEdgeChannel) },
|
68
|
+
"displayLanguageLocale" => lambda {|n| @display_language_locale = n.get_string_value() },
|
69
|
+
})
|
70
|
+
end
|
71
|
+
##
|
72
|
+
## Serializes information the current object
|
73
|
+
## @param writer Serialization writer to use to serialize this model
|
74
|
+
## @return a void
|
75
|
+
##
|
76
|
+
def serialize(writer)
|
77
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
78
|
+
super
|
79
|
+
writer.write_enum_value("channel", @channel)
|
80
|
+
writer.write_string_value("displayLanguageLocale", @display_language_locale)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph::Models
|
6
|
+
class WindowsMicrosoftEdgeAppCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse
|
7
|
+
include MicrosoftKiotaAbstractions::Parsable
|
8
|
+
##
|
9
|
+
# The value property
|
10
|
+
@value
|
11
|
+
##
|
12
|
+
## Instantiates a new WindowsMicrosoftEdgeAppCollectionResponse and sets the default values.
|
13
|
+
## @return a void
|
14
|
+
##
|
15
|
+
def initialize()
|
16
|
+
super
|
17
|
+
end
|
18
|
+
##
|
19
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
20
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
21
|
+
## @return a windows_microsoft_edge_app_collection_response
|
22
|
+
##
|
23
|
+
def self.create_from_discriminator_value(parse_node)
|
24
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
25
|
+
return WindowsMicrosoftEdgeAppCollectionResponse.new
|
26
|
+
end
|
27
|
+
##
|
28
|
+
## The deserialization information for the current model
|
29
|
+
## @return a i_dictionary
|
30
|
+
##
|
31
|
+
def get_field_deserializers()
|
32
|
+
return super.merge({
|
33
|
+
"value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsMicrosoftEdgeApp.create_from_discriminator_value(pn) }) },
|
34
|
+
})
|
35
|
+
end
|
36
|
+
##
|
37
|
+
## Serializes information the current object
|
38
|
+
## @param writer Serialization writer to use to serialize this model
|
39
|
+
## @return a void
|
40
|
+
##
|
41
|
+
def serialize(writer)
|
42
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
43
|
+
super
|
44
|
+
writer.write_collection_of_object_values("value", @value)
|
45
|
+
end
|
46
|
+
##
|
47
|
+
## Gets the value property value. The value property
|
48
|
+
## @return a windows_microsoft_edge_app
|
49
|
+
##
|
50
|
+
def value
|
51
|
+
return @value
|
52
|
+
end
|
53
|
+
##
|
54
|
+
## Sets the value property value. The value property
|
55
|
+
## @param value Value to set for the value property.
|
56
|
+
## @return a void
|
57
|
+
##
|
58
|
+
def value=(value)
|
59
|
+
@value = value
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -12,6 +12,9 @@ module MicrosoftGraph::Models
|
|
12
12
|
# Contains properties for Windows device type.
|
13
13
|
@applicable_device_types
|
14
14
|
##
|
15
|
+
# The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app.
|
16
|
+
@committed_contained_apps
|
17
|
+
##
|
15
18
|
# The Identity Name.
|
16
19
|
@identity_name
|
17
20
|
##
|
@@ -60,6 +63,21 @@ module MicrosoftGraph::Models
|
|
60
63
|
@applicable_device_types = value
|
61
64
|
end
|
62
65
|
##
|
66
|
+
## Gets the committedContainedApps property value. The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app.
|
67
|
+
## @return a mobile_contained_app
|
68
|
+
##
|
69
|
+
def committed_contained_apps
|
70
|
+
return @committed_contained_apps
|
71
|
+
end
|
72
|
+
##
|
73
|
+
## Sets the committedContainedApps property value. The collection of contained apps in the committed mobileAppContent of a windowsUniversalAppX app.
|
74
|
+
## @param value Value to set for the committedContainedApps property.
|
75
|
+
## @return a void
|
76
|
+
##
|
77
|
+
def committed_contained_apps=(value)
|
78
|
+
@committed_contained_apps = value
|
79
|
+
end
|
80
|
+
##
|
63
81
|
## Instantiates a new WindowsUniversalAppX and sets the default values.
|
64
82
|
## @return a void
|
65
83
|
##
|
@@ -84,6 +102,7 @@ module MicrosoftGraph::Models
|
|
84
102
|
return super.merge({
|
85
103
|
"applicableArchitectures" => lambda {|n| @applicable_architectures = n.get_enum_value(MicrosoftGraph::Models::WindowsArchitecture) },
|
86
104
|
"applicableDeviceTypes" => lambda {|n| @applicable_device_types = n.get_enum_value(MicrosoftGraph::Models::WindowsDeviceType) },
|
105
|
+
"committedContainedApps" => lambda {|n| @committed_contained_apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::MobileContainedApp.create_from_discriminator_value(pn) }) },
|
87
106
|
"identityName" => lambda {|n| @identity_name = n.get_string_value() },
|
88
107
|
"identityPublisherHash" => lambda {|n| @identity_publisher_hash = n.get_string_value() },
|
89
108
|
"identityResourceIdentifier" => lambda {|n| @identity_resource_identifier = n.get_string_value() },
|
@@ -192,6 +211,7 @@ module MicrosoftGraph::Models
|
|
192
211
|
super
|
193
212
|
writer.write_enum_value("applicableArchitectures", @applicable_architectures)
|
194
213
|
writer.write_enum_value("applicableDeviceTypes", @applicable_device_types)
|
214
|
+
writer.write_collection_of_object_values("committedContainedApps", @committed_contained_apps)
|
195
215
|
writer.write_string_value("identityName", @identity_name)
|
196
216
|
writer.write_string_value("identityPublisherHash", @identity_publisher_hash)
|
197
217
|
writer.write_string_value("identityResourceIdentifier", @identity_resource_identifier)
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph::Models
|
6
|
+
class WindowsUniversalAppXContainedApp < MicrosoftGraph::Models::MobileContainedApp
|
7
|
+
include MicrosoftKiotaAbstractions::Parsable
|
8
|
+
##
|
9
|
+
# The app user model ID of the contained app of a WindowsUniversalAppX app.
|
10
|
+
@app_user_model_id
|
11
|
+
##
|
12
|
+
## Gets the appUserModelId property value. The app user model ID of the contained app of a WindowsUniversalAppX app.
|
13
|
+
## @return a string
|
14
|
+
##
|
15
|
+
def app_user_model_id
|
16
|
+
return @app_user_model_id
|
17
|
+
end
|
18
|
+
##
|
19
|
+
## Sets the appUserModelId property value. The app user model ID of the contained app of a WindowsUniversalAppX app.
|
20
|
+
## @param value Value to set for the appUserModelId property.
|
21
|
+
## @return a void
|
22
|
+
##
|
23
|
+
def app_user_model_id=(value)
|
24
|
+
@app_user_model_id = value
|
25
|
+
end
|
26
|
+
##
|
27
|
+
## Instantiates a new WindowsUniversalAppXContainedApp and sets the default values.
|
28
|
+
## @return a void
|
29
|
+
##
|
30
|
+
def initialize()
|
31
|
+
super
|
32
|
+
@odata_type = "#microsoft.graph.windowsUniversalAppXContainedApp"
|
33
|
+
end
|
34
|
+
##
|
35
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
36
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
37
|
+
## @return a windows_universal_app_x_contained_app
|
38
|
+
##
|
39
|
+
def self.create_from_discriminator_value(parse_node)
|
40
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
41
|
+
return WindowsUniversalAppXContainedApp.new
|
42
|
+
end
|
43
|
+
##
|
44
|
+
## The deserialization information for the current model
|
45
|
+
## @return a i_dictionary
|
46
|
+
##
|
47
|
+
def get_field_deserializers()
|
48
|
+
return super.merge({
|
49
|
+
"appUserModelId" => lambda {|n| @app_user_model_id = n.get_string_value() },
|
50
|
+
})
|
51
|
+
end
|
52
|
+
##
|
53
|
+
## Serializes information the current object
|
54
|
+
## @param writer Serialization writer to use to serialize this model
|
55
|
+
## @return a void
|
56
|
+
##
|
57
|
+
def serialize(writer)
|
58
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
59
|
+
super
|
60
|
+
writer.write_string_value("appUserModelId", @app_user_model_id)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../microsoft_graph'
|
3
|
+
require_relative './models'
|
4
|
+
|
5
|
+
module MicrosoftGraph::Models
|
6
|
+
class WindowsUniversalAppXContainedAppCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse
|
7
|
+
include MicrosoftKiotaAbstractions::Parsable
|
8
|
+
##
|
9
|
+
# The value property
|
10
|
+
@value
|
11
|
+
##
|
12
|
+
## Instantiates a new WindowsUniversalAppXContainedAppCollectionResponse and sets the default values.
|
13
|
+
## @return a void
|
14
|
+
##
|
15
|
+
def initialize()
|
16
|
+
super
|
17
|
+
end
|
18
|
+
##
|
19
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
20
|
+
## @param parseNode The parse node to use to read the discriminator value and create the object
|
21
|
+
## @return a windows_universal_app_x_contained_app_collection_response
|
22
|
+
##
|
23
|
+
def self.create_from_discriminator_value(parse_node)
|
24
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
25
|
+
return WindowsUniversalAppXContainedAppCollectionResponse.new
|
26
|
+
end
|
27
|
+
##
|
28
|
+
## The deserialization information for the current model
|
29
|
+
## @return a i_dictionary
|
30
|
+
##
|
31
|
+
def get_field_deserializers()
|
32
|
+
return super.merge({
|
33
|
+
"value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsUniversalAppXContainedApp.create_from_discriminator_value(pn) }) },
|
34
|
+
})
|
35
|
+
end
|
36
|
+
##
|
37
|
+
## Serializes information the current object
|
38
|
+
## @param writer Serialization writer to use to serialize this model
|
39
|
+
## @return a void
|
40
|
+
##
|
41
|
+
def serialize(writer)
|
42
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
43
|
+
super
|
44
|
+
writer.write_collection_of_object_values("value", @value)
|
45
|
+
end
|
46
|
+
##
|
47
|
+
## Gets the value property value. The value property
|
48
|
+
## @return a windows_universal_app_x_contained_app
|
49
|
+
##
|
50
|
+
def value
|
51
|
+
return @value
|
52
|
+
end
|
53
|
+
##
|
54
|
+
## Sets the value property value. The value property
|
55
|
+
## @param value Value to set for the value property.
|
56
|
+
## @return a void
|
57
|
+
##
|
58
|
+
def value=(value)
|
59
|
+
@value = value
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -1091,7 +1091,7 @@ module MicrosoftGraph::Reports
|
|
1091
1091
|
end
|
1092
1092
|
##
|
1093
1093
|
## Update reports
|
1094
|
-
## @param body The
|
1094
|
+
## @param body The resource that represents an instance of Enrollment Failure Reports.
|
1095
1095
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
1096
1096
|
## @return a Fiber of report_root
|
1097
1097
|
##
|
@@ -1125,7 +1125,7 @@ module MicrosoftGraph::Reports
|
|
1125
1125
|
end
|
1126
1126
|
##
|
1127
1127
|
## Update reports
|
1128
|
-
## @param body The
|
1128
|
+
## @param body The resource that represents an instance of Enrollment Failure Reports.
|
1129
1129
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
1130
1130
|
## @return a request_information
|
1131
1131
|
##
|
@@ -66,7 +66,7 @@ module MicrosoftGraph::Teams::Item::Channels::Item::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::Teams::Item::Channels::Item::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
|
@@ -65,7 +65,7 @@ module MicrosoftGraph::Teams::Item::PrimaryChannel::Messages
|
|
65
65
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
66
66
|
end
|
67
67
|
##
|
68
|
-
## Send a new chatMessage in the specified channel
|
68
|
+
## Send a new chatMessage in the specified channel.
|
69
69
|
## @param body The request body
|
70
70
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
71
71
|
## @return a Fiber of chat_message
|
@@ -99,7 +99,7 @@ module MicrosoftGraph::Teams::Item::PrimaryChannel::Messages
|
|
99
99
|
return request_info
|
100
100
|
end
|
101
101
|
##
|
102
|
-
## Send a new chatMessage in the specified channel
|
102
|
+
## Send a new chatMessage in the specified channel.
|
103
103
|
## @param body The request body
|
104
104
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
105
105
|
## @return a request_information
|
@@ -43,7 +43,7 @@ module MicrosoftGraph::Users::Item::Authentication::Methods
|
|
43
43
|
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
44
44
|
end
|
45
45
|
##
|
46
|
-
## Retrieve a list of
|
46
|
+
## Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Azure AD authentication methods API overview for a list of currently supported methods.
|
47
47
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
48
48
|
## @return a Fiber of authentication_method_collection_response
|
49
49
|
##
|
@@ -73,7 +73,7 @@ module MicrosoftGraph::Users::Item::Authentication::Methods
|
|
73
73
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AuthenticationMethod.create_from_discriminator_value(pn) }, error_mapping)
|
74
74
|
end
|
75
75
|
##
|
76
|
-
## Retrieve a list of
|
76
|
+
## Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Azure AD authentication methods API overview for a list of currently supported methods.
|
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::Users::Item::Authentication::Methods
|
|
112
112
|
end
|
113
113
|
|
114
114
|
##
|
115
|
-
# Retrieve a list of
|
115
|
+
# Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Azure AD authentication methods API overview for a list of currently supported methods.
|
116
116
|
class MethodsRequestBuilderGetQueryParameters
|
117
117
|
|
118
118
|
##
|
@@ -66,7 +66,7 @@ module MicrosoftGraph::Users::Item::Chats::Item::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
|
69
|
+
## 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.
|
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::Users::Item::Chats::Item::Messages
|
|
100
100
|
return request_info
|
101
101
|
end
|
102
102
|
##
|
103
|
-
## Send a new chatMessage in the specified
|
103
|
+
## 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.
|
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
|
@@ -68,7 +68,7 @@ module MicrosoftGraph::Users::Item::JoinedTeams::Item::Channels::Item::Messages
|
|
68
68
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ChatMessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
69
69
|
end
|
70
70
|
##
|
71
|
-
## Send a new chatMessage in the specified channel
|
71
|
+
## Send a new chatMessage in the specified channel.
|
72
72
|
## @param body The request body
|
73
73
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
74
74
|
## @return a Fiber of chat_message
|
@@ -102,7 +102,7 @@ module MicrosoftGraph::Users::Item::JoinedTeams::Item::Channels::Item::Messages
|
|
102
102
|
return request_info
|
103
103
|
end
|
104
104
|
##
|
105
|
-
## Send a new chatMessage in the specified channel
|
105
|
+
## Send a new chatMessage in the specified channel.
|
106
106
|
## @param body The request body
|
107
107
|
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
108
108
|
## @return a request_information
|
@@ -67,7 +67,7 @@ module MicrosoftGraph::Users::Item::JoinedTeams::Item::PrimaryChannel::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::Users::Item::JoinedTeams::Item::PrimaryChannel::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
|
@@ -64,7 +64,7 @@ module MicrosoftGraph::Users::Item::Messages
|
|
64
64
|
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::MessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
65
65
|
end
|
66
66
|
##
|
67
|
-
## Create
|
67
|
+
## 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.
|
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 message
|
@@ -98,7 +98,7 @@ module MicrosoftGraph::Users::Item::Messages
|
|
98
98
|
return request_info
|
99
99
|
end
|
100
100
|
##
|
101
|
-
## Create
|
101
|
+
## 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.
|
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
|