msgraph-sdk 1.18.0__py3-none-any.whl → 1.20.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- msgraph/_version.py +1 -1
- msgraph/generated/app_role_assignments/app_role_assignments_request_builder.py +248 -0
- msgraph/generated/app_role_assignments/count/count_request_builder.py +104 -0
- msgraph/generated/app_role_assignments/delta/delta_get_response.py +58 -0
- msgraph/generated/app_role_assignments/delta/delta_request_builder.py +138 -0
- msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_post_response.py +58 -0
- msgraph/generated/app_role_assignments/get_available_extension_properties/get_available_extension_properties_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_request_body.py +54 -0
- msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_post_response.py +58 -0
- msgraph/generated/app_role_assignments/get_by_ids/get_by_ids_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py +238 -0
- msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/check_member_groups/check_member_groups_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/check_member_objects/check_member_objects_request_builder.py +89 -0
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/get_member_groups/get_member_groups_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_request_body.py +50 -0
- msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_post_response.py +55 -0
- msgraph/generated/app_role_assignments/item/get_member_objects/get_member_objects_request_builder.py +90 -0
- msgraph/generated/app_role_assignments/item/restore/restore_request_builder.py +82 -0
- msgraph/generated/app_role_assignments/validate_properties/validate_properties_post_request_body.py +63 -0
- msgraph/generated/app_role_assignments/validate_properties/validate_properties_request_builder.py +87 -0
- msgraph/generated/applications/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/applications/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/base_graph_service_client.py +10 -0
- msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/device_app_management/device_app_management_request_builder.py +2 -2
- msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +1 -1
- msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +4 -4
- msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +10 -10
- msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +3 -3
- msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +7 -7
- msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +7 -7
- msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +10 -10
- msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +7 -7
- msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +3 -3
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +7 -7
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +7 -7
- msgraph/generated/devices/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/devices/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +3 -3
- msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +3 -3
- msgraph/generated/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/groups/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +5 -5
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +4 -4
- msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +4 -4
- msgraph/generated/groups/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +10 -10
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +3 -3
- msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +4 -4
- msgraph/generated/kiota-dom-export.txt +295 -0
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/certification.py +1 -1
- msgraph/generated/models/chat_restrictions.py +1 -1
- msgraph/generated/models/cloud_pc_provisioning_policy.py +7 -0
- msgraph/generated/models/cloud_pc_provisioning_policy_autopatch.py +54 -0
- msgraph/generated/models/device_configuration_device_status.py +3 -0
- msgraph/generated/models/device_configuration_state.py +1 -1
- msgraph/generated/models/device_enrollment_platform_restrictions_configuration.py +1 -1
- msgraph/generated/models/device_enrollment_type.py +5 -5
- msgraph/generated/models/device_management.py +0 -3
- msgraph/generated/models/managed_device_owner_type.py +5 -3
- msgraph/generated/models/online_meeting_base.py +1 -1
- msgraph/generated/models/schedule.py +1 -1
- msgraph/generated/models/shift.py +1 -1
- msgraph/generated/models/user.py +1 -1
- msgraph/generated/models/user_teamwork.py +1 -1
- msgraph/generated/models/workforce_integration.py +2 -2
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/organization/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/organization/item/organization_item_request_builder.py +3 -3
- msgraph/generated/organization/organization_request_builder.py +4 -4
- msgraph/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py +4 -3
- msgraph/generated/service_principals/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/service_principals/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/sites/item/lists/item/list_item_request_builder.py +4 -4
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
- msgraph/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py +2 -2
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/check_member_groups/check_member_groups_request_builder.py +2 -2
- msgraph/generated/users/item/get_member_objects/get_member_objects_request_builder.py +2 -2
- msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
- msgraph/generated/users/item/user_item_request_builder.py +7 -7
- msgraph/generated/users/users_request_builder.py +4 -4
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +7 -7
- {msgraph_sdk-1.18.0.dist-info → msgraph_sdk-1.20.0.dist-info}/METADATA +7 -9
- {msgraph_sdk-1.18.0.dist-info → msgraph_sdk-1.20.0.dist-info}/RECORD +128 -101
- {msgraph_sdk-1.18.0.dist-info → msgraph_sdk-1.20.0.dist-info}/LICENSE +0 -0
- {msgraph_sdk-1.18.0.dist-info → msgraph_sdk-1.20.0.dist-info}/WHEEL +0 -0
msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py
CHANGED
@@ -52,10 +52,10 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
52
52
|
|
53
53
|
async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]:
|
54
54
|
"""
|
55
|
-
Read properties and relationships of the
|
55
|
+
Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
|
56
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
57
57
|
Returns: Optional[RoleDefinition]
|
58
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
58
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0
|
59
59
|
"""
|
60
60
|
request_info = self.to_get_request_information(
|
61
61
|
request_configuration
|
@@ -73,11 +73,11 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
73
73
|
|
74
74
|
async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
|
75
75
|
"""
|
76
|
-
Update the properties of a
|
76
|
+
Update the properties of a deviceAndAppManagementRoleDefinition object.
|
77
77
|
param body: The request body
|
78
78
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
79
79
|
Returns: Optional[RoleDefinition]
|
80
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
80
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0
|
81
81
|
"""
|
82
82
|
if body is None:
|
83
83
|
raise TypeError("body cannot be null.")
|
@@ -108,7 +108,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
108
108
|
|
109
109
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
110
110
|
"""
|
111
|
-
Read properties and relationships of the
|
111
|
+
Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
|
112
112
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
113
113
|
Returns: RequestInformation
|
114
114
|
"""
|
@@ -119,7 +119,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
119
119
|
|
120
120
|
def to_patch_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
121
121
|
"""
|
122
|
-
Update the properties of a
|
122
|
+
Update the properties of a deviceAndAppManagementRoleDefinition object.
|
123
123
|
param body: The request body
|
124
124
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
125
125
|
Returns: RequestInformation
|
@@ -161,7 +161,7 @@ class RoleDefinitionItemRequestBuilder(BaseRequestBuilder):
|
|
161
161
|
@dataclass
|
162
162
|
class RoleDefinitionItemRequestBuilderGetQueryParameters():
|
163
163
|
"""
|
164
|
-
Read properties and relationships of the
|
164
|
+
Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
|
165
165
|
"""
|
166
166
|
def get_query_parameter(self,original_name: str) -> str:
|
167
167
|
"""
|
@@ -49,10 +49,10 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]:
|
51
51
|
"""
|
52
|
-
List properties and relationships of the
|
52
|
+
List properties and relationships of the roleDefinition objects.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: Optional[RoleDefinitionCollectionResponse]
|
55
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0
|
56
56
|
"""
|
57
57
|
request_info = self.to_get_request_information(
|
58
58
|
request_configuration
|
@@ -70,11 +70,11 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def post(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]:
|
72
72
|
"""
|
73
|
-
Create a new
|
73
|
+
Create a new deviceAndAppManagementRoleDefinition object.
|
74
74
|
param body: The request body
|
75
75
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
76
76
|
Returns: Optional[RoleDefinition]
|
77
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0
|
78
78
|
"""
|
79
79
|
if body is None:
|
80
80
|
raise TypeError("body cannot be null.")
|
@@ -94,7 +94,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
94
94
|
|
95
95
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
96
96
|
"""
|
97
|
-
List properties and relationships of the
|
97
|
+
List properties and relationships of the roleDefinition objects.
|
98
98
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
99
99
|
Returns: RequestInformation
|
100
100
|
"""
|
@@ -105,7 +105,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_post_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Create a new
|
108
|
+
Create a new deviceAndAppManagementRoleDefinition object.
|
109
109
|
param body: The request body
|
110
110
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
111
111
|
Returns: RequestInformation
|
@@ -140,7 +140,7 @@ class RoleDefinitionsRequestBuilder(BaseRequestBuilder):
|
|
140
140
|
@dataclass
|
141
141
|
class RoleDefinitionsRequestBuilderGetQueryParameters():
|
142
142
|
"""
|
143
|
-
List properties and relationships of the
|
143
|
+
List properties and relationships of the roleDefinition objects.
|
144
144
|
"""
|
145
145
|
def get_query_parameter(self,original_name: str) -> str:
|
146
146
|
"""
|
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
|
35
35
|
"""
|
36
|
-
Check for membership in a specified list of group IDs, and return from that list
|
36
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[CheckMemberGroupsPostResponse]
|
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Check for membership in a specified list of group IDs, and return from that list
|
60
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
36
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetMemberObjectsPostResponse]
|
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
60
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
|
35
35
|
"""
|
36
|
-
Check for membership in a specified list of group IDs, and return from that list
|
36
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[CheckMemberGroupsPostResponse]
|
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Check for membership in a specified list of group IDs, and return from that list
|
60
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
36
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetMemberObjectsPostResponse]
|
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
60
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
msgraph/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py
CHANGED
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
|
35
35
|
"""
|
36
|
-
Check for membership in a specified list of group IDs, and return from that list
|
36
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[CheckMemberGroupsPostResponse]
|
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Check for membership in a specified list of group IDs, and return from that list
|
60
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
msgraph/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py
CHANGED
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
36
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetMemberObjectsPostResponse]
|
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
60
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
|
35
35
|
"""
|
36
|
-
Check for membership in a specified list of group IDs, and return from that list
|
36
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[CheckMemberGroupsPostResponse]
|
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Check for membership in a specified list of group IDs, and return from that list
|
60
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
36
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetMemberObjectsPostResponse]
|
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
60
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
msgraph/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py
CHANGED
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
|
35
35
|
"""
|
36
|
-
Check for membership in a specified list of group IDs, and return from that list
|
36
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[CheckMemberGroupsPostResponse]
|
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Check for membership in a specified list of group IDs, and return from that list
|
60
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
msgraph/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py
CHANGED
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
36
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetMemberObjectsPostResponse]
|
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
60
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -71,11 +71,11 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
|
|
71
71
|
|
72
72
|
async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]:
|
73
73
|
"""
|
74
|
-
|
74
|
+
Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
75
75
|
param body: The request body
|
76
76
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
77
77
|
Returns: Optional[ItemRetentionLabel]
|
78
|
-
Find more info here: https://learn.microsoft.com/graph/api/driveitem-
|
78
|
+
Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0
|
79
79
|
"""
|
80
80
|
if body is None:
|
81
81
|
raise TypeError("body cannot be null.")
|
@@ -117,7 +117,7 @@ class RetentionLabelRequestBuilder(BaseRequestBuilder):
|
|
117
117
|
|
118
118
|
def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
119
119
|
"""
|
120
|
-
|
120
|
+
Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
|
121
121
|
param body: The request body
|
122
122
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
123
123
|
Returns: RequestInformation
|
@@ -126,10 +126,10 @@ class RangeRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]:
|
128
128
|
"""
|
129
|
-
|
129
|
+
Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: Optional[WorkbookRange]
|
132
|
-
Find more info here: https://learn.microsoft.com/graph/api/range
|
132
|
+
Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0
|
133
133
|
"""
|
134
134
|
request_info = self.to_get_request_information(
|
135
135
|
request_configuration
|
@@ -225,7 +225,7 @@ class RangeRequestBuilder(BaseRequestBuilder):
|
|
225
225
|
|
226
226
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
227
227
|
"""
|
228
|
-
|
228
|
+
Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
229
229
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
230
230
|
Returns: RequestInformation
|
231
231
|
"""
|
@@ -33,11 +33,11 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
|
35
35
|
"""
|
36
|
-
|
36
|
+
Use this API to create a new Table.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[WorkbookTable]
|
40
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
40
|
+
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0
|
41
41
|
"""
|
42
42
|
if body is None:
|
43
43
|
raise TypeError("body cannot be null.")
|
@@ -57,7 +57,7 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
|
60
|
+
Use this API to create a new Table.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -126,10 +126,10 @@ class RangeRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]:
|
128
128
|
"""
|
129
|
-
|
129
|
+
Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
130
130
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
131
131
|
Returns: Optional[WorkbookRange]
|
132
|
-
Find more info here: https://learn.microsoft.com/graph/api/range
|
132
|
+
Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0
|
133
133
|
"""
|
134
134
|
request_info = self.to_get_request_information(
|
135
135
|
request_configuration
|
@@ -225,7 +225,7 @@ class RangeRequestBuilder(BaseRequestBuilder):
|
|
225
225
|
|
226
226
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
227
227
|
"""
|
228
|
-
|
228
|
+
Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
|
229
229
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
230
230
|
Returns: RequestInformation
|
231
231
|
"""
|
msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py
CHANGED
@@ -33,11 +33,11 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]:
|
35
35
|
"""
|
36
|
-
|
36
|
+
Use this API to create a new Table.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[WorkbookTable]
|
40
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
40
|
+
Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-1.0
|
41
41
|
"""
|
42
42
|
if body is None:
|
43
43
|
raise TypeError("body cannot be null.")
|
@@ -57,7 +57,7 @@ class AddRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
|
60
|
+
Use this API to create a new Table.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
|
35
35
|
"""
|
36
|
-
Check for membership in a specified list of group IDs, and return from that list
|
36
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[CheckMemberGroupsPostResponse]
|
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Check for membership in a specified list of group IDs, and return from that list
|
60
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[GetMemberObjectsPostResponse]:
|
35
35
|
"""
|
36
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
36
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[GetMemberObjectsPostResponse]
|
@@ -57,7 +57,7 @@ class GetMemberObjectsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: GetMemberObjectsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Return all IDs for the groups, administrative units, and directory roles that a user
|
60
|
+
Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -33,7 +33,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
33
33
|
|
34
34
|
async def post(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CheckMemberGroupsPostResponse]:
|
35
35
|
"""
|
36
|
-
Check for membership in a specified list of group IDs, and return from that list
|
36
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
37
37
|
param body: The request body
|
38
38
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
39
39
|
Returns: Optional[CheckMemberGroupsPostResponse]
|
@@ -57,7 +57,7 @@ class CheckMemberGroupsRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
|
58
58
|
def to_post_request_information(self,body: CheckMemberGroupsPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
59
59
|
"""
|
60
|
-
Check for membership in a specified list of group IDs, and return from that list
|
60
|
+
Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
61
61
|
param body: The request body
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: RequestInformation
|
@@ -70,11 +70,11 @@ class ConversationsRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]:
|
72
72
|
"""
|
73
|
-
|
73
|
+
Use reply thread or reply post to further post to that conversation.
|
74
74
|
param body: The request body
|
75
75
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
76
76
|
Returns: Optional[Conversation]
|
77
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
77
|
+
Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0
|
78
78
|
"""
|
79
79
|
if body is None:
|
80
80
|
raise TypeError("body cannot be null.")
|
@@ -105,7 +105,7 @@ class ConversationsRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
|
108
|
+
Use reply thread or reply post to further post to that conversation.
|
109
109
|
param body: The request body
|
110
110
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
111
111
|
Returns: RequestInformation
|
@@ -36,7 +36,7 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
36
36
|
Delete conversation.
|
37
37
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
38
38
|
Returns: None
|
39
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0
|
40
40
|
"""
|
41
41
|
request_info = self.to_delete_request_information(
|
42
42
|
request_configuration
|
@@ -52,10 +52,10 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
52
52
|
|
53
53
|
async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]:
|
54
54
|
"""
|
55
|
-
|
55
|
+
Retrieve the properties and relationships of conversation object.
|
56
56
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
57
57
|
Returns: Optional[Conversation]
|
58
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
58
|
+
Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0
|
59
59
|
"""
|
60
60
|
request_info = self.to_get_request_information(
|
61
61
|
request_configuration
|
@@ -84,7 +84,7 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
84
84
|
|
85
85
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
86
86
|
"""
|
87
|
-
|
87
|
+
Retrieve the properties and relationships of conversation object.
|
88
88
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
89
89
|
Returns: RequestInformation
|
90
90
|
"""
|
@@ -122,7 +122,7 @@ class ConversationItemRequestBuilder(BaseRequestBuilder):
|
|
122
122
|
@dataclass
|
123
123
|
class ConversationItemRequestBuilderGetQueryParameters():
|
124
124
|
"""
|
125
|
-
|
125
|
+
Retrieve the properties and relationships of conversation object.
|
126
126
|
"""
|
127
127
|
def get_query_parameter(self,original_name: str) -> str:
|
128
128
|
"""
|