microsoft_graph 0.18.0 → 0.19.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/item/replies/replies_request_builder.rb +2 -2
- data/lib/chats/item/messages/messages_request_builder.rb +2 -2
- data/lib/contacts/item/member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/contacts/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/contacts/item/member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/contacts/item/member_of/member_of_request_builder.rb +6 -0
- data/lib/contacts/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/contacts/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/contacts/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/contacts/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
- data/lib/devices/item/member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/devices/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/devices/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/devices/item/member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/devices/item/member_of/member_of_request_builder.rb +6 -0
- data/lib/devices/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/devices/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/devices/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/devices/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
- data/lib/drives/item/items/item/workbook/names/item/range/range_request_builder.rb +2 -2
- data/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.rb +3 -3
- data/lib/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.rb +2 -2
- data/lib/groups/item/conversations/conversations_request_builder.rb +2 -2
- data/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb +2 -2
- data/lib/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.rb +2 -2
- data/lib/groups/item/conversations/item/threads/item/reply/reply_request_builder.rb +2 -2
- data/lib/groups/item/member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/groups/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/groups/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/groups/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/groups/item/member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/groups/item/member_of/member_of_request_builder.rb +6 -0
- data/lib/groups/item/team/channels/item/messages/item/replies/replies_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/item/replies/replies_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/item/in_reply_to/reply/reply_request_builder.rb +2 -2
- data/lib/groups/item/threads/item/posts/item/reply/reply_request_builder.rb +2 -2
- data/lib/groups/item/threads/item/reply/reply_request_builder.rb +2 -2
- data/lib/groups/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/groups/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/groups/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/groups/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
- data/lib/identity_protection/risky_users/item/history/history_request_builder.rb +3 -3
- data/lib/kiota-lock.json +1 -1
- data/lib/me/authentication/methods/item/reset_password/reset_password_request_builder.rb +2 -2
- data/lib/me/chats/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/me/chats/item/messages/messages_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
- data/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +3 -3
- data/lib/me/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +3 -3
- data/lib/me/member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/me/member_of/graph_administrative_unit/count/count_request_builder.rb +121 -0
- data/lib/me/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/me/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +155 -0
- data/lib/me/member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/me/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/me/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +122 -0
- data/lib/me/member_of/member_of_request_builder.rb +6 -0
- data/lib/me/messages/item/attachments/attachments_request_builder.rb +3 -3
- data/lib/me/messages/messages_request_builder.rb +3 -3
- data/lib/me/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/me/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +121 -0
- data/lib/me/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/me/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +155 -0
- data/lib/me/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/me/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/me/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +122 -0
- data/lib/me/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
- data/lib/models/access_review_history_definition.rb +1 -1
- data/lib/models/administrative_unit.rb +1 -1
- data/lib/models/application_template.rb +1 -1
- data/lib/models/audit_event.rb +3 -1
- data/lib/models/authentication_method_configuration.rb +1 -1
- data/lib/models/authorization_policy.rb +20 -0
- data/lib/models/booking_appointment.rb +1 -3
- data/lib/models/delegated_admin_access_assignment.rb +1 -1
- data/lib/models/delegated_admin_relationship.rb +1 -1
- data/lib/models/deleted_team.rb +3 -3
- data/lib/models/device_category.rb +0 -2
- data/lib/models/directory_object_partner_reference.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/identity_api_connector.rb +1 -1
- data/lib/models/mac_o_s_general_device_configuration.rb +1 -3
- data/lib/models/microsoft_authenticator_authentication_method_configuration.rb +1 -1
- data/lib/models/offer_shift_request.rb +1 -1
- data/lib/models/open_shift.rb +1 -1
- data/lib/models/organization.rb +1 -1
- data/lib/models/post.rb +1 -1
- data/lib/models/risk_detection.rb +1 -1
- data/lib/models/role_definition.rb +2 -0
- data/lib/models/schema_extension.rb +1 -1
- data/lib/models/security/ediscovery_noncustodial_data_source.rb +1 -1
- data/lib/models/security/ediscovery_review_tag.rb +1 -1
- data/lib/models/teamwork.rb +3 -3
- data/lib/service_principals/item/member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/service_principals/item/member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/service_principals/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/service_principals/item/member_of/member_of_request_builder.rb +6 -0
- data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/service_principals/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/service_principals/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/service_principals/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/service_principals/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
- data/lib/teams/item/channels/item/messages/item/replies/replies_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/item/replies/replies_request_builder.rb +2 -2
- data/lib/teams/item/primary_channel/messages/messages_request_builder.rb +2 -2
- data/lib/teamwork/deleted_teams/deleted_teams_request_builder.rb +3 -3
- data/lib/teamwork/deleted_teams/item/channels/channels_request_builder.rb +3 -3
- data/lib/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.rb +3 -3
- data/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.rb +2 -2
- data/lib/teamwork/deleted_teams/item/deleted_team_item_request_builder.rb +3 -3
- data/lib/users/item/authentication/methods/item/reset_password/reset_password_request_builder.rb +2 -2
- data/lib/users/item/chats/item/messages/item/replies/replies_request_builder.rb +2 -2
- data/lib/users/item/chats/item/messages/messages_request_builder.rb +2 -2
- data/lib/users/item/joined_teams/item/channels/item/messages/item/replies/replies_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/item/replies/replies_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/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +3 -3
- data/lib/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +3 -3
- data/lib/users/item/member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/users/item/member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/users/item/member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/users/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/users/item/member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/users/item/member_of/member_of_request_builder.rb +6 -0
- data/lib/users/item/messages/item/attachments/attachments_request_builder.rb +3 -3
- data/lib/users/item/messages/messages_request_builder.rb +3 -3
- data/lib/users/item/transitive_member_of/graph_administrative_unit/count/count.rb +0 -0
- data/lib/users/item/transitive_member_of/graph_administrative_unit/count/count_request_builder.rb +124 -0
- data/lib/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.rb +158 -0
- data/lib/users/item/transitive_member_of/item/directory_object_item_request_builder.rb +6 -0
- data/lib/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit.rb +0 -0
- data/lib/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.rb +125 -0
- data/lib/users/item/transitive_member_of/transitive_member_of_request_builder.rb +6 -0
- data/lib/version_information.rb +2 -1
- metadata +74 -2
data/lib/models/deleted_team.rb
CHANGED
@@ -7,17 +7,17 @@ module MicrosoftGraph
|
|
7
7
|
class DeletedTeam < MicrosoftGraph::Models::Entity
|
8
8
|
include MicrosoftKiotaAbstractions::Parsable
|
9
9
|
##
|
10
|
-
# The channels
|
10
|
+
# The channels that are either shared with this deleted team or created in this deleted team.
|
11
11
|
@channels
|
12
12
|
##
|
13
|
-
## Gets the channels property value. The channels
|
13
|
+
## Gets the channels property value. The channels that are either shared with this deleted team or created in this deleted team.
|
14
14
|
## @return a channel
|
15
15
|
##
|
16
16
|
def channels
|
17
17
|
return @channels
|
18
18
|
end
|
19
19
|
##
|
20
|
-
## Sets the channels property value. The channels
|
20
|
+
## Sets the channels property value. The channels that are either shared with this deleted team or created in this deleted team.
|
21
21
|
## @param value Value to set for the channels property.
|
22
22
|
## @return a void
|
23
23
|
##
|
@@ -4,8 +4,6 @@ require_relative './models'
|
|
4
4
|
|
5
5
|
module MicrosoftGraph
|
6
6
|
module Models
|
7
|
-
##
|
8
|
-
# Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
|
9
7
|
class DeviceCategory < MicrosoftGraph::Models::Entity
|
10
8
|
include MicrosoftKiotaAbstractions::Parsable
|
11
9
|
##
|
@@ -19,7 +19,7 @@ module MicrosoftGraph
|
|
19
19
|
# The type of the referenced object in the partner tenant. Read-only.
|
20
20
|
@object_type
|
21
21
|
##
|
22
|
-
## Instantiates a new
|
22
|
+
## Instantiates a new DirectoryObjectPartnerReference and sets the default values.
|
23
23
|
## @return a void
|
24
24
|
##
|
25
25
|
def initialize()
|
@@ -50,7 +50,7 @@ module MicrosoftGraph
|
|
50
50
|
@added_student_action = value
|
51
51
|
end
|
52
52
|
##
|
53
|
-
## Instantiates a new
|
53
|
+
## Instantiates a new educationAssignmentDefaults and sets the default values.
|
54
54
|
## @return a void
|
55
55
|
##
|
56
56
|
def initialize()
|
@@ -10,7 +10,7 @@ module MicrosoftGraph
|
|
10
10
|
# Indicates whether turn-in celebration animation will be shown. A value of true indicates that the animation will not be shown. Default value is false.
|
11
11
|
@submission_animation_disabled
|
12
12
|
##
|
13
|
-
## Instantiates a new
|
13
|
+
## Instantiates a new educationAssignmentSettings and sets the default values.
|
14
14
|
## @return a void
|
15
15
|
##
|
16
16
|
def initialize()
|
@@ -31,7 +31,7 @@ module MicrosoftGraph
|
|
31
31
|
@authentication_configuration = value
|
32
32
|
end
|
33
33
|
##
|
34
|
-
## Instantiates a new
|
34
|
+
## Instantiates a new IdentityApiConnector and sets the default values.
|
35
35
|
## @return a void
|
36
36
|
##
|
37
37
|
def initialize()
|
@@ -4,8 +4,6 @@ require_relative './models'
|
|
4
4
|
|
5
5
|
module MicrosoftGraph
|
6
6
|
module Models
|
7
|
-
##
|
8
|
-
# This topic provides descriptions of the declared methods, properties and relationships exposed by the macOSGeneralDeviceConfiguration resource.
|
9
7
|
class MacOSGeneralDeviceConfiguration < MicrosoftGraph::Models::DeviceConfiguration
|
10
8
|
include MicrosoftKiotaAbstractions::Parsable
|
11
9
|
##
|
@@ -75,7 +73,7 @@ module MicrosoftGraph
|
|
75
73
|
@compliant_apps_list = value
|
76
74
|
end
|
77
75
|
##
|
78
|
-
## Instantiates a new
|
76
|
+
## Instantiates a new MacOSGeneralDeviceConfiguration and sets the default values.
|
79
77
|
## @return a void
|
80
78
|
##
|
81
79
|
def initialize()
|
@@ -13,7 +13,7 @@ module MicrosoftGraph
|
|
13
13
|
# A collection of groups that are enabled to use the authentication method. Expanded by default.
|
14
14
|
@include_targets
|
15
15
|
##
|
16
|
-
## Instantiates a new
|
16
|
+
## Instantiates a new microsoftAuthenticatorAuthenticationMethodConfiguration and sets the default values.
|
17
17
|
## @return a void
|
18
18
|
##
|
19
19
|
def initialize()
|
@@ -20,7 +20,7 @@ module MicrosoftGraph
|
|
20
20
|
# User ID of the sender of the offer shift request.
|
21
21
|
@sender_shift_id
|
22
22
|
##
|
23
|
-
## Instantiates a new
|
23
|
+
## Instantiates a new OfferShiftRequest and sets the default values.
|
24
24
|
## @return a void
|
25
25
|
##
|
26
26
|
def initialize()
|
data/lib/models/open_shift.rb
CHANGED
data/lib/models/organization.rb
CHANGED
data/lib/models/post.rb
CHANGED
@@ -110,7 +110,7 @@ module MicrosoftGraph
|
|
110
110
|
@additional_info = value
|
111
111
|
end
|
112
112
|
##
|
113
|
-
## Instantiates a new
|
113
|
+
## Instantiates a new RiskDetection and sets the default values.
|
114
114
|
## @return a void
|
115
115
|
##
|
116
116
|
def initialize()
|
@@ -4,6 +4,8 @@ require_relative './models'
|
|
4
4
|
|
5
5
|
module MicrosoftGraph
|
6
6
|
module Models
|
7
|
+
##
|
8
|
+
# The Role Definition resource. The role definition is the foundation of role based access in Intune. The role combines an Intune resource such as a Mobile App and associated role permissions such as Create or Read for the resource. There are two types of roles, built-in and custom. Built-in roles cannot be modified. Both built-in roles and custom roles must have assignments to be enforced. Create custom roles if you want to define a role that allows any of the available resources and role permissions to be combined into a single role.
|
7
9
|
class RoleDefinition < MicrosoftGraph::Models::Entity
|
8
10
|
include MicrosoftKiotaAbstractions::Parsable
|
9
11
|
##
|
@@ -22,7 +22,7 @@ module MicrosoftGraph
|
|
22
22
|
# Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from administrativeUnit, contact, device, event, group, message, organization, post, todoTask, todoTaskList, or user.
|
23
23
|
@target_types
|
24
24
|
##
|
25
|
-
## Instantiates a new
|
25
|
+
## Instantiates a new schemaExtension and sets the default values.
|
26
26
|
## @return a void
|
27
27
|
##
|
28
28
|
def initialize()
|
@@ -15,7 +15,7 @@ module MicrosoftGraph
|
|
15
15
|
# Operation entity that represents the latest indexing for the non-custodial data source.
|
16
16
|
@last_index_operation
|
17
17
|
##
|
18
|
-
## Instantiates a new
|
18
|
+
## Instantiates a new EdiscoveryNoncustodialDataSource and sets the default values.
|
19
19
|
## @return a void
|
20
20
|
##
|
21
21
|
def initialize()
|
data/lib/models/teamwork.rb
CHANGED
@@ -7,7 +7,7 @@ module MicrosoftGraph
|
|
7
7
|
class Teamwork < MicrosoftGraph::Models::Entity
|
8
8
|
include MicrosoftKiotaAbstractions::Parsable
|
9
9
|
##
|
10
|
-
# The
|
10
|
+
# The deleted team.
|
11
11
|
@deleted_teams
|
12
12
|
##
|
13
13
|
# The workforceIntegrations property
|
@@ -29,14 +29,14 @@ module MicrosoftGraph
|
|
29
29
|
return Teamwork.new
|
30
30
|
end
|
31
31
|
##
|
32
|
-
## Gets the deletedTeams property value. The
|
32
|
+
## Gets the deletedTeams property value. The deleted team.
|
33
33
|
## @return a deleted_team
|
34
34
|
##
|
35
35
|
def deleted_teams
|
36
36
|
return @deleted_teams
|
37
37
|
end
|
38
38
|
##
|
39
|
-
## Sets the deletedTeams property value. The
|
39
|
+
## Sets the deletedTeams property value. The deleted team.
|
40
40
|
## @param value Value to set for the deleted_teams property.
|
41
41
|
## @return a void
|
42
42
|
##
|
File without changes
|
data/lib/service_principals/item/member_of/graph_administrative_unit/count/count_request_builder.rb
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../../../../../microsoft_graph'
|
3
|
+
require_relative '../../../../../models/o_data_errors/o_data_error'
|
4
|
+
require_relative '../../../../service_principals'
|
5
|
+
require_relative '../../../item'
|
6
|
+
require_relative '../../member_of'
|
7
|
+
require_relative '../graph_administrative_unit'
|
8
|
+
require_relative './count'
|
9
|
+
|
10
|
+
module MicrosoftGraph
|
11
|
+
module ServicePrincipals
|
12
|
+
module Item
|
13
|
+
module MemberOf
|
14
|
+
module GraphAdministrativeUnit
|
15
|
+
module Count
|
16
|
+
##
|
17
|
+
# Provides operations to count the resources in the collection.
|
18
|
+
class CountRequestBuilder
|
19
|
+
|
20
|
+
##
|
21
|
+
# Path parameters for the request
|
22
|
+
@path_parameters
|
23
|
+
##
|
24
|
+
# The request adapter to use to execute the requests.
|
25
|
+
@request_adapter
|
26
|
+
##
|
27
|
+
# Url template to use to build the URL for the current request builder
|
28
|
+
@url_template
|
29
|
+
##
|
30
|
+
## Instantiates a new CountRequestBuilder and sets the default values.
|
31
|
+
## @param pathParameters Path parameters for the request
|
32
|
+
## @param requestAdapter The request adapter to use to execute the requests.
|
33
|
+
## @return a void
|
34
|
+
##
|
35
|
+
def initialize(path_parameters, request_adapter)
|
36
|
+
raise StandardError, 'path_parameters cannot be null' if path_parameters.nil?
|
37
|
+
raise StandardError, 'request_adapter cannot be null' if request_adapter.nil?
|
38
|
+
@url_template = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/memberOf/graph.administrativeUnit/$count{?%24search,%24filter}"
|
39
|
+
@request_adapter = request_adapter
|
40
|
+
path_parameters = { "request-raw-url" => path_parameters } if path_parameters.is_a? String
|
41
|
+
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
42
|
+
end
|
43
|
+
##
|
44
|
+
## Get the number of the resource
|
45
|
+
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
46
|
+
## @return a Fiber of integer
|
47
|
+
##
|
48
|
+
def get(request_configuration=nil)
|
49
|
+
request_info = self.to_get_request_information(
|
50
|
+
request_configuration
|
51
|
+
)
|
52
|
+
error_mapping = Hash.new
|
53
|
+
error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
|
54
|
+
error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
|
55
|
+
return @request_adapter.send_async(request_info, number, error_mapping)
|
56
|
+
end
|
57
|
+
##
|
58
|
+
## Get the number of the resource
|
59
|
+
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
60
|
+
## @return a request_information
|
61
|
+
##
|
62
|
+
def to_get_request_information(request_configuration=nil)
|
63
|
+
request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
|
64
|
+
request_info.url_template = @url_template
|
65
|
+
request_info.path_parameters = @path_parameters
|
66
|
+
request_info.http_method = :GET
|
67
|
+
request_info.headers.add('Accept', 'text/plain')
|
68
|
+
unless request_configuration.nil?
|
69
|
+
request_info.add_headers_from_raw_object(request_configuration.headers)
|
70
|
+
request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters)
|
71
|
+
request_info.add_request_options(request_configuration.options)
|
72
|
+
end
|
73
|
+
return request_info
|
74
|
+
end
|
75
|
+
|
76
|
+
##
|
77
|
+
# Get the number of the resource
|
78
|
+
class CountRequestBuilderGetQueryParameters
|
79
|
+
|
80
|
+
##
|
81
|
+
# Filter items by property values
|
82
|
+
attr_accessor :filter
|
83
|
+
##
|
84
|
+
# Search items by search phrases
|
85
|
+
attr_accessor :search
|
86
|
+
##
|
87
|
+
## Maps the query parameters names to their encoded names for the URI template parsing.
|
88
|
+
## @param originalName The original query parameter name in the class.
|
89
|
+
## @return a string
|
90
|
+
##
|
91
|
+
def get_query_parameter(original_name)
|
92
|
+
raise StandardError, 'original_name cannot be null' if original_name.nil?
|
93
|
+
case original_name
|
94
|
+
when "filter"
|
95
|
+
return "%24filter"
|
96
|
+
when "search"
|
97
|
+
return "%24search"
|
98
|
+
else
|
99
|
+
return original_name
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
##
|
105
|
+
# Configuration for the request such as headers, query parameters, and middleware options.
|
106
|
+
class CountRequestBuilderGetRequestConfiguration
|
107
|
+
|
108
|
+
##
|
109
|
+
# Request headers
|
110
|
+
attr_accessor :headers
|
111
|
+
##
|
112
|
+
# Request options
|
113
|
+
attr_accessor :options
|
114
|
+
##
|
115
|
+
# Request query parameters
|
116
|
+
attr_accessor :query_parameters
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
data/lib/service_principals/item/member_of/graph_administrative_unit/graph_administrative_unit.rb
ADDED
File without changes
|
@@ -0,0 +1,158 @@
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
2
|
+
require_relative '../../../../microsoft_graph'
|
3
|
+
require_relative '../../../../models/administrative_unit_collection_response'
|
4
|
+
require_relative '../../../../models/o_data_errors/o_data_error'
|
5
|
+
require_relative '../../../service_principals'
|
6
|
+
require_relative '../../item'
|
7
|
+
require_relative '../member_of'
|
8
|
+
require_relative './count/count_request_builder'
|
9
|
+
require_relative './graph_administrative_unit'
|
10
|
+
|
11
|
+
module MicrosoftGraph
|
12
|
+
module ServicePrincipals
|
13
|
+
module Item
|
14
|
+
module MemberOf
|
15
|
+
module GraphAdministrativeUnit
|
16
|
+
##
|
17
|
+
# Casts the previous resource to administrativeUnit.
|
18
|
+
class GraphAdministrativeUnitRequestBuilder
|
19
|
+
|
20
|
+
##
|
21
|
+
# Provides operations to count the resources in the collection.
|
22
|
+
def count()
|
23
|
+
return MicrosoftGraph::ServicePrincipals::Item::MemberOf::GraphAdministrativeUnit::Count::CountRequestBuilder.new(@path_parameters, @request_adapter)
|
24
|
+
end
|
25
|
+
##
|
26
|
+
# Path parameters for the request
|
27
|
+
@path_parameters
|
28
|
+
##
|
29
|
+
# The request adapter to use to execute the requests.
|
30
|
+
@request_adapter
|
31
|
+
##
|
32
|
+
# Url template to use to build the URL for the current request builder
|
33
|
+
@url_template
|
34
|
+
##
|
35
|
+
## Instantiates a new GraphAdministrativeUnitRequestBuilder and sets the default values.
|
36
|
+
## @param pathParameters Path parameters for the request
|
37
|
+
## @param requestAdapter The request adapter to use to execute the requests.
|
38
|
+
## @return a void
|
39
|
+
##
|
40
|
+
def initialize(path_parameters, request_adapter)
|
41
|
+
raise StandardError, 'path_parameters cannot be null' if path_parameters.nil?
|
42
|
+
raise StandardError, 'request_adapter cannot be null' if request_adapter.nil?
|
43
|
+
@url_template = "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/memberOf/graph.administrativeUnit{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}"
|
44
|
+
@request_adapter = request_adapter
|
45
|
+
path_parameters = { "request-raw-url" => path_parameters } if path_parameters.is_a? String
|
46
|
+
@path_parameters = path_parameters if path_parameters.is_a? Hash
|
47
|
+
end
|
48
|
+
##
|
49
|
+
## Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
50
|
+
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
51
|
+
## @return a Fiber of administrative_unit_collection_response
|
52
|
+
##
|
53
|
+
def get(request_configuration=nil)
|
54
|
+
request_info = self.to_get_request_information(
|
55
|
+
request_configuration
|
56
|
+
)
|
57
|
+
error_mapping = Hash.new
|
58
|
+
error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
|
59
|
+
error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) }
|
60
|
+
return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AdministrativeUnitCollectionResponse.create_from_discriminator_value(pn) }, error_mapping)
|
61
|
+
end
|
62
|
+
##
|
63
|
+
## Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
64
|
+
## @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
65
|
+
## @return a request_information
|
66
|
+
##
|
67
|
+
def to_get_request_information(request_configuration=nil)
|
68
|
+
request_info = MicrosoftKiotaAbstractions::RequestInformation.new()
|
69
|
+
request_info.url_template = @url_template
|
70
|
+
request_info.path_parameters = @path_parameters
|
71
|
+
request_info.http_method = :GET
|
72
|
+
request_info.headers.add('Accept', 'application/json')
|
73
|
+
unless request_configuration.nil?
|
74
|
+
request_info.add_headers_from_raw_object(request_configuration.headers)
|
75
|
+
request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters)
|
76
|
+
request_info.add_request_options(request_configuration.options)
|
77
|
+
end
|
78
|
+
return request_info
|
79
|
+
end
|
80
|
+
|
81
|
+
##
|
82
|
+
# Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
|
83
|
+
class GraphAdministrativeUnitRequestBuilderGetQueryParameters
|
84
|
+
|
85
|
+
##
|
86
|
+
# Include count of items
|
87
|
+
attr_accessor :count
|
88
|
+
##
|
89
|
+
# Expand related entities
|
90
|
+
attr_accessor :expand
|
91
|
+
##
|
92
|
+
# Filter items by property values
|
93
|
+
attr_accessor :filter
|
94
|
+
##
|
95
|
+
# Order items by property values
|
96
|
+
attr_accessor :orderby
|
97
|
+
##
|
98
|
+
# Search items by search phrases
|
99
|
+
attr_accessor :search
|
100
|
+
##
|
101
|
+
# Select properties to be returned
|
102
|
+
attr_accessor :select
|
103
|
+
##
|
104
|
+
# Skip the first n items
|
105
|
+
attr_accessor :skip
|
106
|
+
##
|
107
|
+
# Show only the first n items
|
108
|
+
attr_accessor :top
|
109
|
+
##
|
110
|
+
## Maps the query parameters names to their encoded names for the URI template parsing.
|
111
|
+
## @param originalName The original query parameter name in the class.
|
112
|
+
## @return a string
|
113
|
+
##
|
114
|
+
def get_query_parameter(original_name)
|
115
|
+
raise StandardError, 'original_name cannot be null' if original_name.nil?
|
116
|
+
case original_name
|
117
|
+
when "count"
|
118
|
+
return "%24count"
|
119
|
+
when "expand"
|
120
|
+
return "%24expand"
|
121
|
+
when "filter"
|
122
|
+
return "%24filter"
|
123
|
+
when "orderby"
|
124
|
+
return "%24orderby"
|
125
|
+
when "search"
|
126
|
+
return "%24search"
|
127
|
+
when "select"
|
128
|
+
return "%24select"
|
129
|
+
when "skip"
|
130
|
+
return "%24skip"
|
131
|
+
when "top"
|
132
|
+
return "%24top"
|
133
|
+
else
|
134
|
+
return original_name
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
##
|
140
|
+
# Configuration for the request such as headers, query parameters, and middleware options.
|
141
|
+
class GraphAdministrativeUnitRequestBuilderGetRequestConfiguration
|
142
|
+
|
143
|
+
##
|
144
|
+
# Request headers
|
145
|
+
attr_accessor :headers
|
146
|
+
##
|
147
|
+
# Request options
|
148
|
+
attr_accessor :options
|
149
|
+
##
|
150
|
+
# Request query parameters
|
151
|
+
attr_accessor :query_parameters
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
@@ -5,6 +5,7 @@ require_relative '../../../../models/o_data_errors/o_data_error'
|
|
5
5
|
require_relative '../../../service_principals'
|
6
6
|
require_relative '../../item'
|
7
7
|
require_relative '../member_of'
|
8
|
+
require_relative './graph_administrative_unit/graph_administrative_unit_request_builder'
|
8
9
|
require_relative './graph_group/graph_group_request_builder'
|
9
10
|
require_relative './item'
|
10
11
|
|
@@ -17,6 +18,11 @@ module MicrosoftGraph
|
|
17
18
|
# Provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity.
|
18
19
|
class DirectoryObjectItemRequestBuilder
|
19
20
|
|
21
|
+
##
|
22
|
+
# Casts the previous resource to administrativeUnit.
|
23
|
+
def graph_administrative_unit()
|
24
|
+
return MicrosoftGraph::ServicePrincipals::Item::MemberOf::Item::GraphAdministrativeUnit::GraphAdministrativeUnitRequestBuilder.new(@path_parameters, @request_adapter)
|
25
|
+
end
|
20
26
|
##
|
21
27
|
# Casts the previous resource to group.
|
22
28
|
def graph_group()
|
File without changes
|