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/models/user.py
CHANGED
@@ -244,7 +244,7 @@ class User(DirectoryObject, Parsable):
|
|
244
244
|
onenote: Optional[Onenote] = None
|
245
245
|
# Information about a meeting, including the URL used to join a meeting, the attendees list, and the description.
|
246
246
|
online_meetings: Optional[list[OnlineMeeting]] = None
|
247
|
-
# A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0).
|
247
|
+
# A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0).
|
248
248
|
other_mails: Optional[list[str]] = None
|
249
249
|
# The outlook property
|
250
250
|
outlook: Optional[OutlookUser] = None
|
@@ -17,7 +17,7 @@ class UserTeamwork(Entity, Parsable):
|
|
17
17
|
associated_teams: Optional[list[AssociatedTeamInfo]] = None
|
18
18
|
# The apps installed in the personal scope of this user.
|
19
19
|
installed_apps: Optional[list[UserScopeTeamsAppInstallation]] = None
|
20
|
-
# Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user
|
20
|
+
# Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user's locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2.
|
21
21
|
locale: Optional[str] = None
|
22
22
|
# The OdataType property
|
23
23
|
odata_type: Optional[str] = None
|
@@ -16,7 +16,7 @@ from .change_tracked_entity import ChangeTrackedEntity
|
|
16
16
|
class WorkforceIntegration(ChangeTrackedEntity, Parsable):
|
17
17
|
# The OdataType property
|
18
18
|
odata_type: Optional[str] = "#microsoft.graph.workforceIntegration"
|
19
|
-
# API version for the
|
19
|
+
# API version for the callback URL. Start with 1.
|
20
20
|
api_version: Optional[int] = None
|
21
21
|
# Name of the workforce integration.
|
22
22
|
display_name: Optional[str] = None
|
@@ -26,7 +26,7 @@ class WorkforceIntegration(ChangeTrackedEntity, Parsable):
|
|
26
26
|
encryption: Optional[WorkforceIntegrationEncryption] = None
|
27
27
|
# Indicates whether this workforce integration is currently active and available.
|
28
28
|
is_active: Optional[bool] = None
|
29
|
-
# The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest.
|
29
|
+
# The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest.
|
30
30
|
supported_entities: Optional[WorkforceIntegrationSupportedEntities] = None
|
31
31
|
# Workforce Integration URL for callbacks from the Shifts service.
|
32
32
|
url: Optional[str] = None
|
@@ -49,10 +49,10 @@ class BannerLogoRequestBuilder(BaseRequestBuilder):
|
|
49
49
|
|
50
50
|
async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]:
|
51
51
|
"""
|
52
|
-
|
52
|
+
Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
|
53
53
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
54
54
|
Returns: bytes
|
55
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
55
|
+
Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0
|
56
56
|
"""
|
57
57
|
request_info = self.to_get_request_information(
|
58
58
|
request_configuration
|
@@ -104,7 +104,7 @@ class BannerLogoRequestBuilder(BaseRequestBuilder):
|
|
104
104
|
|
105
105
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
106
106
|
"""
|
107
|
-
|
107
|
+
Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
|
108
108
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
109
109
|
Returns: RequestInformation
|
110
110
|
"""
|
msgraph/generated/organization/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/organization/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
|
@@ -80,11 +80,11 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
80
80
|
|
81
81
|
async def patch(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Organization]:
|
82
82
|
"""
|
83
|
-
Update the properties of
|
83
|
+
Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.
|
84
84
|
param body: The request body
|
85
85
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
86
86
|
Returns: Optional[Organization]
|
87
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
87
|
+
Find more info here: https://learn.microsoft.com/graph/api/organization-update?view=graph-rest-1.0
|
88
88
|
"""
|
89
89
|
if body is None:
|
90
90
|
raise TypeError("body cannot be null.")
|
@@ -126,7 +126,7 @@ class OrganizationItemRequestBuilder(BaseRequestBuilder):
|
|
126
126
|
|
127
127
|
def to_patch_request_information(self,body: Organization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
128
128
|
"""
|
129
|
-
Update the properties of
|
129
|
+
Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization.
|
130
130
|
param body: The request body
|
131
131
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
132
132
|
Returns: RequestInformation
|
@@ -53,10 +53,10 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]:
|
55
55
|
"""
|
56
|
-
|
56
|
+
List properties and relationships of the organization objects.
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: Optional[OrganizationCollectionResponse]
|
59
|
-
Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0
|
59
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0
|
60
60
|
"""
|
61
61
|
request_info = self.to_get_request_information(
|
62
62
|
request_configuration
|
@@ -97,7 +97,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
|
|
97
97
|
|
98
98
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
99
99
|
"""
|
100
|
-
|
100
|
+
List properties and relationships of the organization objects.
|
101
101
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
102
102
|
Returns: RequestInformation
|
103
103
|
"""
|
@@ -179,7 +179,7 @@ class OrganizationRequestBuilder(BaseRequestBuilder):
|
|
179
179
|
@dataclass
|
180
180
|
class OrganizationRequestBuilderGetQueryParameters():
|
181
181
|
"""
|
182
|
-
|
182
|
+
List properties and relationships of the organization objects.
|
183
183
|
"""
|
184
184
|
def get_query_parameter(self,original_name: str) -> str:
|
185
185
|
"""
|
msgraph/generated/permission_grants/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/permission_grants/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
|
@@ -48,9 +48,10 @@ class ChildTagsRequestBuilder(BaseRequestBuilder):
|
|
48
48
|
|
49
49
|
async def get(self,request_configuration: Optional[RequestConfiguration[ChildTagsRequestBuilderGetQueryParameters]] = None) -> Optional[EdiscoveryReviewTagCollectionResponse]:
|
50
50
|
"""
|
51
|
-
|
51
|
+
List eDiscovery review tags with the tag hierarchy shown.
|
52
52
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
53
53
|
Returns: Optional[EdiscoveryReviewTagCollectionResponse]
|
54
|
+
Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-ashierarchy?view=graph-rest-1.0
|
54
55
|
"""
|
55
56
|
request_info = self.to_get_request_information(
|
56
57
|
request_configuration
|
@@ -68,7 +69,7 @@ class ChildTagsRequestBuilder(BaseRequestBuilder):
|
|
68
69
|
|
69
70
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ChildTagsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
70
71
|
"""
|
71
|
-
|
72
|
+
List eDiscovery review tags with the tag hierarchy shown.
|
72
73
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
73
74
|
Returns: RequestInformation
|
74
75
|
"""
|
@@ -99,7 +100,7 @@ class ChildTagsRequestBuilder(BaseRequestBuilder):
|
|
99
100
|
@dataclass
|
100
101
|
class ChildTagsRequestBuilderGetQueryParameters():
|
101
102
|
"""
|
102
|
-
|
103
|
+
List eDiscovery review tags with the tag hierarchy shown.
|
103
104
|
"""
|
104
105
|
def get_query_parameter(self,original_name: str) -> str:
|
105
106
|
"""
|
msgraph/generated/service_principals/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/service_principals/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
|
@@ -58,10 +58,10 @@ class ListItemRequestBuilder(BaseRequestBuilder):
|
|
58
58
|
|
59
59
|
async def get(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> Optional[List_]:
|
60
60
|
"""
|
61
|
-
|
61
|
+
Returns the metadata for a list.
|
62
62
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
63
63
|
Returns: Optional[List_]
|
64
|
-
Find more info here: https://learn.microsoft.com/graph/api/list-
|
64
|
+
Find more info here: https://learn.microsoft.com/graph/api/list-get?view=graph-rest-1.0
|
65
65
|
"""
|
66
66
|
request_info = self.to_get_request_information(
|
67
67
|
request_configuration
|
@@ -113,7 +113,7 @@ class ListItemRequestBuilder(BaseRequestBuilder):
|
|
113
113
|
|
114
114
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ListItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
115
115
|
"""
|
116
|
-
|
116
|
+
Returns the metadata for a list.
|
117
117
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
118
118
|
Returns: RequestInformation
|
119
119
|
"""
|
@@ -229,7 +229,7 @@ class ListItemRequestBuilder(BaseRequestBuilder):
|
|
229
229
|
@dataclass
|
230
230
|
class ListItemRequestBuilderGetQueryParameters():
|
231
231
|
"""
|
232
|
-
|
232
|
+
Returns the metadata for a list.
|
233
233
|
"""
|
234
234
|
def get_query_parameter(self,original_name: str) -> str:
|
235
235
|
"""
|
msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py
CHANGED
@@ -72,11 +72,11 @@ class ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]:
|
74
74
|
"""
|
75
|
-
Update the role of a conversationMember in a
|
75
|
+
Update the role of a conversationMember in a team or channel.
|
76
76
|
param body: The request body
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: Optional[ConversationMember]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -118,7 +118,7 @@ class ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
Update the role of a conversationMember in a
|
121
|
+
Update the role of a conversationMember in a team or channel.
|
122
122
|
param body: The request body
|
123
123
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
124
124
|
Returns: RequestInformation
|
@@ -72,11 +72,11 @@ class MembersRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]:
|
74
74
|
"""
|
75
|
-
Add a conversationMember to a channel.
|
75
|
+
Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
76
76
|
param body: The request body
|
77
77
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
78
78
|
Returns: Optional[ConversationMember]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/channel-post-members?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -107,7 +107,7 @@ class MembersRequestBuilder(BaseRequestBuilder):
|
|
107
107
|
|
108
108
|
def to_post_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
109
109
|
"""
|
110
|
-
Add a conversationMember to a channel.
|
110
|
+
Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
111
111
|
param body: The request body
|
112
112
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
113
113
|
Returns: RequestInformation
|
@@ -70,7 +70,7 @@ class WorkforceIntegrationsRequestBuilder(BaseRequestBuilder):
|
|
70
70
|
|
71
71
|
async def post(self,body: WorkforceIntegration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkforceIntegration]:
|
72
72
|
"""
|
73
|
-
Create a new workforceIntegration object.
|
73
|
+
Create a new workforceIntegration 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[WorkforceIntegration]
|
@@ -105,7 +105,7 @@ class WorkforceIntegrationsRequestBuilder(BaseRequestBuilder):
|
|
105
105
|
|
106
106
|
def to_post_request_information(self,body: WorkforceIntegration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
107
107
|
"""
|
108
|
-
Create a new workforceIntegration object.
|
108
|
+
Create a new workforceIntegration 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
|
@@ -55,11 +55,11 @@ class MultiTenantOrganizationRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
|
56
56
|
async def patch(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MultiTenantOrganization]:
|
57
57
|
"""
|
58
|
-
|
58
|
+
Update the properties of a multitenant organization.
|
59
59
|
param body: The request body
|
60
60
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
61
61
|
Returns: Optional[MultiTenantOrganization]
|
62
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
62
|
+
Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0
|
63
63
|
"""
|
64
64
|
if body is None:
|
65
65
|
raise TypeError("body cannot be null.")
|
@@ -90,7 +90,7 @@ class MultiTenantOrganizationRequestBuilder(BaseRequestBuilder):
|
|
90
90
|
|
91
91
|
def to_patch_request_information(self,body: MultiTenantOrganization, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
92
92
|
"""
|
93
|
-
|
93
|
+
Update the properties of a multitenant organization.
|
94
94
|
param body: The request body
|
95
95
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
96
96
|
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
|
@@ -55,10 +55,10 @@ class PresenceRequestBuilder(BaseRequestBuilder):
|
|
55
55
|
|
56
56
|
async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]:
|
57
57
|
"""
|
58
|
-
|
58
|
+
Set a presence status message for a user. An optional expiration date and time can be supplied.
|
59
59
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
60
60
|
Returns: Optional[Presence]
|
61
|
-
Find more info here: https://learn.microsoft.com/graph/api/presence-
|
61
|
+
Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0
|
62
62
|
"""
|
63
63
|
request_info = self.to_get_request_information(
|
64
64
|
request_configuration
|
@@ -110,7 +110,7 @@ class PresenceRequestBuilder(BaseRequestBuilder):
|
|
110
110
|
|
111
111
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
112
112
|
"""
|
113
|
-
|
113
|
+
Set a presence status message for a user. An optional expiration date and time can be supplied.
|
114
114
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
Returns: RequestInformation
|
116
116
|
"""
|
@@ -199,7 +199,7 @@ class PresenceRequestBuilder(BaseRequestBuilder):
|
|
199
199
|
@dataclass
|
200
200
|
class PresenceRequestBuilderGetQueryParameters():
|
201
201
|
"""
|
202
|
-
|
202
|
+
Set a presence status message for a user. An optional expiration date and time can be supplied.
|
203
203
|
"""
|
204
204
|
def get_query_parameter(self,original_name: str) -> str:
|
205
205
|
"""
|
@@ -108,10 +108,10 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
108
108
|
|
109
109
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
110
110
|
"""
|
111
|
-
|
111
|
+
Deletes a user.
|
112
112
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
113
113
|
Returns: None
|
114
|
-
Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0
|
114
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0
|
115
115
|
"""
|
116
116
|
request_info = self.to_delete_request_information(
|
117
117
|
request_configuration
|
@@ -142,10 +142,10 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
142
142
|
|
143
143
|
async def get(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> Optional[User]:
|
144
144
|
"""
|
145
|
-
|
145
|
+
Read properties and relationships of the user object.
|
146
146
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
147
147
|
Returns: Optional[User]
|
148
|
-
Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0
|
148
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0
|
149
149
|
"""
|
150
150
|
request_info = self.to_get_request_information(
|
151
151
|
request_configuration
|
@@ -202,7 +202,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
202
202
|
|
203
203
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
204
204
|
"""
|
205
|
-
|
205
|
+
Deletes a user.
|
206
206
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
207
207
|
Returns: RequestInformation
|
208
208
|
"""
|
@@ -213,7 +213,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
213
213
|
|
214
214
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
215
215
|
"""
|
216
|
-
|
216
|
+
Read properties and relationships of the user object.
|
217
217
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
218
218
|
Returns: RequestInformation
|
219
219
|
"""
|
@@ -923,7 +923,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
923
923
|
@dataclass
|
924
924
|
class UserItemRequestBuilderGetQueryParameters():
|
925
925
|
"""
|
926
|
-
|
926
|
+
Read properties and relationships of the user object.
|
927
927
|
"""
|
928
928
|
def get_query_parameter(self,original_name: str) -> str:
|
929
929
|
"""
|
@@ -53,10 +53,10 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]:
|
55
55
|
"""
|
56
|
-
|
56
|
+
List properties and relationships of the user objects.
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: Optional[UserCollectionResponse]
|
59
|
-
Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0
|
59
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0
|
60
60
|
"""
|
61
61
|
request_info = self.to_get_request_information(
|
62
62
|
request_configuration
|
@@ -98,7 +98,7 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
98
98
|
|
99
99
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
100
100
|
"""
|
101
|
-
|
101
|
+
List properties and relationships of the user objects.
|
102
102
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
103
103
|
Returns: RequestInformation
|
104
104
|
"""
|
@@ -180,7 +180,7 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
180
180
|
@dataclass
|
181
181
|
class UsersRequestBuilderGetQueryParameters():
|
182
182
|
"""
|
183
|
-
|
183
|
+
List properties and relationships of the user objects.
|
184
184
|
"""
|
185
185
|
def get_query_parameter(self,original_name: str) -> str:
|
186
186
|
"""
|