msgraph-sdk 1.44.0__py3-none-any.whl → 1.45.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/chats/item/members/item/conversation_member_item_request_builder.py +4 -4
- msgraph/generated/chats/item/messages/messages_request_builder.py +3 -3
- msgraph/generated/device_app_management/device_app_management_request_builder.py +1 -1
- 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_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/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/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 +7 -7
- 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 +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 +7 -7
- msgraph/generated/device_management/device_management_request_builder.py +2 -2
- msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +3 -3
- msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +7 -7
- msgraph/generated/drives/item/items/item/retention_label/retention_label_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/tables/add/add_request_builder.py +3 -3
- msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +4 -4
- msgraph/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +3 -3
- msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +5 -5
- 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 +7 -7
- 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-lock.json +1 -1
- msgraph/generated/models/online_meeting_base.py +1 -1
- msgraph/generated/organization/item/organization_item_request_builder.py +3 -3
- msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +3 -3
- 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/teams/item/channels/item/messages/messages_request_builder.py +3 -3
- 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/user_item_request_builder.py +2 -2
- msgraph/generated/users/users_request_builder.py +7 -7
- msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +2 -2
- {msgraph_sdk-1.44.0.dist-info → msgraph_sdk-1.45.0.dist-info}/METADATA +1 -1
- {msgraph_sdk-1.44.0.dist-info → msgraph_sdk-1.45.0.dist-info}/RECORD +55 -55
- {msgraph_sdk-1.44.0.dist-info → msgraph_sdk-1.45.0.dist-info}/WHEEL +0 -0
- {msgraph_sdk-1.44.0.dist-info → msgraph_sdk-1.45.0.dist-info}/licenses/LICENSE +0 -0
@@ -48,10 +48,10 @@ class PostsRequestBuilder(BaseRequestBuilder):
|
|
48
48
|
|
49
49
|
async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]:
|
50
50
|
"""
|
51
|
-
Get the
|
51
|
+
Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
|
52
52
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
53
53
|
Returns: Optional[PostCollectionResponse]
|
54
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
54
|
+
Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0
|
55
55
|
"""
|
56
56
|
request_info = self.to_get_request_information(
|
57
57
|
request_configuration
|
@@ -69,7 +69,7 @@ class PostsRequestBuilder(BaseRequestBuilder):
|
|
69
69
|
|
70
70
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
71
71
|
"""
|
72
|
-
Get the
|
72
|
+
Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
|
73
73
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
74
74
|
Returns: RequestInformation
|
75
75
|
"""
|
@@ -100,7 +100,7 @@ class PostsRequestBuilder(BaseRequestBuilder):
|
|
100
100
|
@dataclass
|
101
101
|
class PostsRequestBuilderGetQueryParameters():
|
102
102
|
"""
|
103
|
-
Get the
|
103
|
+
Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
|
104
104
|
"""
|
105
105
|
def get_query_parameter(self,original_name: str) -> str:
|
106
106
|
"""
|
@@ -32,11 +32,11 @@ class ReplyRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
34
|
"""
|
35
|
-
|
35
|
+
Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
36
36
|
param body: The request body
|
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/post-
|
39
|
+
Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0
|
40
40
|
"""
|
41
41
|
if body is None:
|
42
42
|
raise TypeError("body cannot be null.")
|
@@ -54,7 +54,7 @@ class ReplyRequestBuilder(BaseRequestBuilder):
|
|
54
54
|
|
55
55
|
def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
56
56
|
"""
|
57
|
-
|
57
|
+
Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
|
58
58
|
param body: The request body
|
59
59
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
60
60
|
Returns: RequestInformation
|
@@ -32,10 +32,10 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
|
|
32
32
|
|
33
33
|
async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None:
|
34
34
|
"""
|
35
|
-
Delete
|
35
|
+
Delete a namedLocation object.
|
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/namedlocation-delete?view=graph-rest-1.0
|
39
39
|
"""
|
40
40
|
request_info = self.to_delete_request_information(
|
41
41
|
request_configuration
|
@@ -51,10 +51,10 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
|
|
51
51
|
|
52
52
|
async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]:
|
53
53
|
"""
|
54
|
-
Retrieve the properties and relationships of
|
54
|
+
Retrieve the properties and relationships of an ipNamedLocation object.
|
55
55
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
56
56
|
Returns: Optional[NamedLocation]
|
57
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
57
|
+
Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0
|
58
58
|
"""
|
59
59
|
request_info = self.to_get_request_information(
|
60
60
|
request_configuration
|
@@ -96,7 +96,7 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
|
|
96
96
|
|
97
97
|
def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
98
98
|
"""
|
99
|
-
Delete
|
99
|
+
Delete a namedLocation object.
|
100
100
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
101
101
|
Returns: RequestInformation
|
102
102
|
"""
|
@@ -107,7 +107,7 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
|
|
107
107
|
|
108
108
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
109
109
|
"""
|
110
|
-
Retrieve the properties and relationships of
|
110
|
+
Retrieve the properties and relationships of an ipNamedLocation object.
|
111
111
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
112
112
|
Returns: RequestInformation
|
113
113
|
"""
|
@@ -151,7 +151,7 @@ class NamedLocationItemRequestBuilder(BaseRequestBuilder):
|
|
151
151
|
@dataclass
|
152
152
|
class NamedLocationItemRequestBuilderGetQueryParameters():
|
153
153
|
"""
|
154
|
-
Retrieve the properties and relationships of
|
154
|
+
Retrieve the properties and relationships of an ipNamedLocation object.
|
155
155
|
"""
|
156
156
|
def get_query_parameter(self,original_name: str) -> str:
|
157
157
|
"""
|
@@ -72,11 +72,11 @@ class CustomCalloutExtensionItemRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def patch(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomCalloutExtension]:
|
74
74
|
"""
|
75
|
-
Update the properties of an
|
75
|
+
Update the properties of an accessPackageAssignmentWorkflowExtension object.
|
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[CustomCalloutExtension]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-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 CustomCalloutExtensionItemRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_patch_request_information(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
Update the properties of an
|
121
|
+
Update the properties of an accessPackageAssignmentWorkflowExtension object.
|
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
|
msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py
CHANGED
@@ -54,10 +54,10 @@ class AgreementItemRequestBuilder(BaseRequestBuilder):
|
|
54
54
|
|
55
55
|
async def get(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> Optional[Agreement]:
|
56
56
|
"""
|
57
|
-
Retrieve
|
57
|
+
Retrieve all files related to an agreement. This includes the default file and all localized files.
|
58
58
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
59
59
|
Returns: Optional[Agreement]
|
60
|
-
Find more info here: https://learn.microsoft.com/graph/api/agreement-
|
60
|
+
Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0
|
61
61
|
"""
|
62
62
|
request_info = self.to_get_request_information(
|
63
63
|
request_configuration
|
@@ -110,7 +110,7 @@ class AgreementItemRequestBuilder(BaseRequestBuilder):
|
|
110
110
|
|
111
111
|
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
|
112
112
|
"""
|
113
|
-
Retrieve
|
113
|
+
Retrieve all files related to an agreement. This includes the default file and all localized files.
|
114
114
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
115
115
|
Returns: RequestInformation
|
116
116
|
"""
|
@@ -181,7 +181,7 @@ class AgreementItemRequestBuilder(BaseRequestBuilder):
|
|
181
181
|
@dataclass
|
182
182
|
class AgreementItemRequestBuilderGetQueryParameters():
|
183
183
|
"""
|
184
|
-
Retrieve
|
184
|
+
Retrieve all files related to an agreement. This includes the default file and all localized files.
|
185
185
|
"""
|
186
186
|
def get_query_parameter(self,original_name: str) -> str:
|
187
187
|
"""
|
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"descriptionHash": "
|
2
|
+
"descriptionHash": "9F8BCAD2CBA94367538D693D2B5E1A5481EC3B46A855EF4176C4BDAC7D0E781179163B42991046F2FAC996400537402F6AEBDDEEE56FD857329D1F3CAEF6A8BA",
|
3
3
|
"descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml",
|
4
4
|
"lockFileVersion": "1.0.0",
|
5
5
|
"kiotaVersion": "1.29.0",
|
@@ -32,7 +32,7 @@ class OnlineMeetingBase(Entity, Parsable):
|
|
32
32
|
allow_attendee_to_enable_mic: Optional[bool] = None
|
33
33
|
# Indicates whether breakout rooms are enabled for the meeting.
|
34
34
|
allow_breakout_rooms: Optional[bool] = None
|
35
|
-
#
|
35
|
+
# Indicates whether the ability to copy and share meeting content is enabled for the meeting.
|
36
36
|
allow_copying_and_sharing_meeting_content: Optional[bool] = None
|
37
37
|
# Indicates whether live share is enabled for the meeting. Possible values are: enabled, disabled, unknownFutureValue.
|
38
38
|
allow_live_share: Optional[MeetingLiveShareOptions] = None
|
@@ -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
|
@@ -72,11 +72,11 @@ class IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
|
|
72
72
|
|
73
73
|
async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]:
|
74
74
|
"""
|
75
|
-
|
75
|
+
Create a cross-tenant user synchronization policy for a partner-specific configuration.
|
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[CrossTenantIdentitySyncPolicyPartner]
|
79
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
79
|
+
Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?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 IdentitySynchronizationRequestBuilder(BaseRequestBuilder):
|
|
118
118
|
|
119
119
|
def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
|
120
120
|
"""
|
121
|
-
|
121
|
+
Create a cross-tenant user synchronization policy for a partner-specific configuration.
|
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
|
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 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.")
|
@@ -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. 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
|
@@ -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
|
@@ -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
|
+
Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage 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/multitenantorganization
|
62
|
+
Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?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
|
+
Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage 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
|
+
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
|
"""
|
@@ -146,7 +146,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
146
146
|
Read properties and relationships of the user object.
|
147
147
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
148
148
|
Returns: Optional[User]
|
149
|
-
Find more info here: https://learn.microsoft.com/graph/api/intune-
|
149
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0
|
150
150
|
"""
|
151
151
|
request_info = self.to_get_request_information(
|
152
152
|
request_configuration
|
@@ -168,7 +168,7 @@ class UserItemRequestBuilder(BaseRequestBuilder):
|
|
168
168
|
param body: The request body
|
169
169
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
170
170
|
Returns: Optional[User]
|
171
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
171
|
+
Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0
|
172
172
|
"""
|
173
173
|
if body is None:
|
174
174
|
raise TypeError("body cannot be null.")
|
@@ -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
|
+
Retrieve a list of 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/
|
59
|
+
Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0
|
60
60
|
"""
|
61
61
|
request_info = self.to_get_request_information(
|
62
62
|
request_configuration
|
@@ -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 object.
|
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/user-
|
81
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0
|
82
82
|
"""
|
83
83
|
if body is None:
|
84
84
|
raise TypeError("body cannot be null.")
|
@@ -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
|
+
Retrieve a list of 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
|
"""
|
@@ -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 object.
|
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
|
@@ -180,7 +180,7 @@ class UsersRequestBuilder(BaseRequestBuilder):
|
|
180
180
|
@dataclass
|
181
181
|
class UsersRequestBuilderGetQueryParameters():
|
182
182
|
"""
|
183
|
-
|
183
|
+
Retrieve a list of user objects.
|
184
184
|
"""
|
185
185
|
def get_query_parameter(self,original_name: str) -> str:
|
186
186
|
"""
|
msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py
CHANGED
@@ -57,7 +57,7 @@ class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
57
57
|
Read properties and relationships of the user object.
|
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/intune-
|
60
|
+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0
|
61
61
|
"""
|
62
62
|
request_info = self.to_get_request_information(
|
63
63
|
request_configuration
|
@@ -79,7 +79,7 @@ class UsersWithUserPrincipalNameRequestBuilder(BaseRequestBuilder):
|
|
79
79
|
param body: The request body
|
80
80
|
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
|
81
81
|
Returns: Optional[User]
|
82
|
-
Find more info here: https://learn.microsoft.com/graph/api/
|
82
|
+
Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0
|
83
83
|
"""
|
84
84
|
if body is None:
|
85
85
|
raise TypeError("body cannot be null.")
|