msgraph-sdk 1.35.0__py3-none-any.whl → 1.36.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/applications/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/contacts/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/contracts/item/restore/restore_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/item/managed_app_registration_item_request_builder.py +4 -4
- msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +3 -3
- msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +3 -3
- msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_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_app_configurations/mobile_app_configurations_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 +7 -7
- 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 +6 -6
- 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 +6 -6
- 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/devices/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/deleted_items_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/graph_group/graph_group_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/item/directory_object_item_request_builder.py +5 -5
- msgraph/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py +3 -3
- msgraph/generated/directory/deleted_items/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/certificate_based_auth_configurations_request_builder.py +7 -5
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/certificate_authorities_request_builder.py +7 -5
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_authorities/item/certificate_authority_detail_item_request_builder.py +9 -7
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/certificate_based_auth_pki_item_request_builder.py +10 -7
- msgraph/generated/directory/public_key_infrastructure/certificate_based_auth_configurations/item/upload/upload_request_builder.py +3 -2
- msgraph/generated/directory/public_key_infrastructure/public_key_infrastructure_request_builder.py +3 -3
- msgraph/generated/directory_objects/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_role_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/directory_roles/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +3 -3
- msgraph/generated/group_setting_templates/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/groups/groups_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/conversations_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +1 -1
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +1 -1
- 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 +3 -3
- msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +4 -4
- msgraph/generated/identity_governance/entitlement_management/catalogs/item/custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +6 -6
- msgraph/generated/kiota-dom-export.txt +99 -0
- msgraph/generated/kiota-lock.json +1 -1
- msgraph/generated/models/administrative_unit.py +1 -1
- msgraph/generated/models/call_event.py +84 -0
- msgraph/generated/models/call_event_type.py +8 -0
- msgraph/generated/models/certificate_authority_detail.py +10 -10
- msgraph/generated/models/certificate_based_auth_pki.py +5 -5
- msgraph/generated/models/device.py +1 -1
- msgraph/generated/models/directory.py +1 -1
- msgraph/generated/models/emergency_call_event.py +68 -0
- msgraph/generated/models/emergency_caller_info.py +77 -0
- msgraph/generated/models/entity.py +21 -0
- msgraph/generated/models/group.py +1 -1
- msgraph/generated/models/partners/billing/billing_reconciliation.py +7 -0
- msgraph/generated/models/partners/billing/unbilled_reconciliation.py +53 -0
- msgraph/generated/models/public_key_infrastructure_root.py +1 -1
- msgraph/generated/models/user.py +1 -1
- msgraph/generated/models/workbook_worksheet_protection_options.py +11 -11
- msgraph/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +3 -3
- msgraph/generated/organization/item/organization_item_request_builder.py +7 -7
- msgraph/generated/organization/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/permission_grants/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/reports/partners/billing/reconciliation/reconciliation_request_builder.py +10 -0
- msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/export_post_request_body.py +68 -0
- msgraph/generated/reports/partners/billing/reconciliation/unbilled/microsoft_graph_partners_billing_export/microsoft_graph_partners_billing_export_request_builder.py +89 -0
- msgraph/generated/reports/partners/billing/reconciliation/unbilled/unbilled_request_builder.py +198 -0
- msgraph/generated/service_principals/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +6 -6
- msgraph/generated/teams/item/channels/item/members/members_request_builder.py +3 -3
- msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py +2 -2
- msgraph/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +3 -3
- msgraph/generated/users/item/presence/presence_request_builder.py +4 -4
- msgraph/generated/users/item/restore/restore_request_builder.py +2 -2
- msgraph/generated/users/item/user_item_request_builder.py +7 -7
- msgraph/generated/users/users_request_builder.py +3 -3
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +7 -7
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.36.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.36.0.dist-info}/RECORD +96 -88
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.36.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.35.0.dist-info → msgraph_sdk-1.36.0.dist-info}/licenses/LICENSE +0 -0
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
|
34
34
|
"""
|
35
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
35
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: Optional[DirectoryObject]
|
38
38
|
Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
|
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
55
55
|
"""
|
56
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
56
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: RequestInformation
|
59
59
|
"""
|
msgraph/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py
CHANGED
@@ -32,10 +32,10 @@ class ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
34
|
"""
|
35
|
-
Delete a conversationMember from a channel.
|
35
|
+
Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: None
|
38
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
38
|
+
Find more info here: https://learn.microsoft.com/graph/api/channel-delete-members?view=graph-rest-1.0
|
39
39
|
"""
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
@@ -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 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-update-members?view=graph-rest-1.0
|
80
80
|
"""
|
81
81
|
if body is None:
|
82
82
|
raise TypeError("body cannot be null.")
|
@@ -96,7 +96,7 @@ class ConversationMemberItemRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
|
97
97
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
98
98
|
"""
|
99
|
-
Delete a conversationMember from a channel.
|
99
|
+
Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
@@ -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 channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
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.
|
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-add?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.
|
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
|
@@ -71,11 +71,11 @@ class MessagesRequestBuilder(BaseRequestBuilder):
|
|
71
71
|
|
72
72
|
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
|
73
73
|
"""
|
74
|
-
Send a new chatMessage in the specified channel.
|
74
|
+
Send a new chatMessage in the specified channel or a chat.
|
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[ChatMessage]
|
78
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
78
|
+
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0
|
79
79
|
"""
|
80
80
|
if body is None:
|
81
81
|
raise TypeError("body cannot be null.")
|
@@ -106,7 +106,7 @@ class MessagesRequestBuilder(BaseRequestBuilder):
|
|
106
106
|
|
107
107
|
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
108
108
|
"""
|
109
|
-
Send a new chatMessage in the specified channel.
|
109
|
+
Send a new chatMessage in the specified channel or a chat.
|
110
110
|
param body: The request body
|
111
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
112
112
|
Returns: RequestInformation
|
@@ -72,7 +72,7 @@ class ShiftItemRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def patch(self,body: Shift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Shift]:
|
74
74
|
"""
|
75
|
-
Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than
|
75
|
+
Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than one minute or longer than 24 hours.
|
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[Shift]
|
@@ -118,7 +118,7 @@ class ShiftItemRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_patch_request_information(self,body: Shift, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than
|
121
|
+
Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than one minute or longer than 24 hours.
|
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
|
@@ -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
|
@@ -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
|
+
Get a user's presence information.
|
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-get?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
|
+
Get a user's presence information.
|
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
|
+
Get a user's presence information.
|
203
203
|
"""
|
204
204
|
def get_query_parameter(self,original_name: str) -> str:
|
205
205
|
"""
|
@@ -32,7 +32,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DirectoryObject]:
|
34
34
|
"""
|
35
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
35
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
36
36
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
37
37
|
Returns: Optional[DirectoryObject]
|
38
38
|
Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0
|
@@ -53,7 +53,7 @@ class RestoreRequestBuilder(BaseRequestBuilder):
|
|
53
53
|
|
54
54
|
def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
55
55
|
"""
|
56
|
-
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items.
|
56
|
+
Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal
|
57
57
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
58
58
|
Returns: RequestInformation
|
59
59
|
"""
|
@@ -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
|
+
Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
|
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/
|
114
|
+
Find more info here: https://learn.microsoft.com/graph/api/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
|
+
Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
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/
|
148
|
+
Find more info here: https://learn.microsoft.com/graph/api/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
|
+
Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
|
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
|
+
Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
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
|
+
Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
927
927
|
"""
|
928
928
|
def get_query_parameter(self,original_name: str) -> str:
|
929
929
|
"""
|
@@ -74,11 +74,11 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
74
74
|
|
75
75
|
async def post(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[User]:
|
76
76
|
"""
|
77
|
-
Create a new user
|
77
|
+
Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties.
|
78
78
|
param body: The request body
|
79
79
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
80
80
|
Returns: Optional[User]
|
81
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
81
|
+
Find more info here: https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0
|
82
82
|
"""
|
83
83
|
if body is None:
|
84
84
|
raise TypeError("body cannot be null.")
|
@@ -109,7 +109,7 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
109
109
|
|
110
110
|
def to_post_request_information(self,body: User, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
111
111
|
"""
|
112
|
-
Create a new user
|
112
|
+
Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties.
|
113
113
|
param body: The request body
|
114
114
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
Returns: RequestInformation
|
msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py
CHANGED
@@ -35,10 +35,10 @@ class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
35
35
|
|
36
36
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
37
37
|
"""
|
38
|
-
|
38
|
+
Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
|
39
39
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
40
40
|
Returns: None
|
41
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
41
|
+
Find more info here: https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0
|
42
42
|
"""
|
43
43
|
request_info = self.to_delete_request_information(
|
44
44
|
request_configuration
|
@@ -54,10 +54,10 @@ class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
54
54
|
|
55
55
|
async def get(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]:
|
56
56
|
"""
|
57
|
-
|
57
|
+
Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
58
58
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
59
59
|
Returns: Optional[User]
|
60
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
60
|
+
Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0
|
61
61
|
"""
|
62
62
|
request_info = self.to_get_request_information(
|
63
63
|
request_configuration
|
@@ -99,7 +99,7 @@ class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
99
99
|
|
100
100
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
101
101
|
"""
|
102
|
-
|
102
|
+
Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
|
103
103
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
104
104
|
Returns: RequestInformation
|
105
105
|
"""
|
@@ -110,7 +110,7 @@ class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
110
110
|
|
111
111
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
112
112
|
"""
|
113
|
-
|
113
|
+
Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
114
114
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
Returns: RequestInformation
|
116
116
|
"""
|
@@ -154,7 +154,7 @@ class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
154
154
|
@dataclass
|
155
155
|
class UsersWithUserPrincipalNameRequestBuilderGetQueryParameters():
|
156
156
|
"""
|
157
|
-
|
157
|
+
Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
158
158
|
"""
|
159
159
|
def get_query_parameter(self,original_name: str) -> str:
|
160
160
|
"""
|