Skip to content

Commit 9255252

Browse files
authored
Merge pull request #703 from microsoftgraph/v1.0/pipelinebuild/148567
Generated models and request builders
2 parents 1bfa16a + 2a49f64 commit 9255252

File tree

70 files changed

+1334
-223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1334
-223
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.5.0] - 2024-05-16
9+
10+
### Changed
11+
12+
- Weekly generation with Kiota - 14th May 2024
13+
814
## [1.4.0] - 2024-05-08
915

1016
### Changed

msgraph/generated/chats/item/messages/messages_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages
7070

7171
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
7272
"""
73-
Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
73+
Send a new chatMessage in the specified channel or a chat.
7474
param body: The request body
7575
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7676
Returns: Optional[ChatMessage]
77-
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0
77+
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0
7878
"""
7979
if not body:
8080
raise TypeError("body cannot be null.")
@@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
105105

106106
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
108+
Send a new chatMessage in the specified channel or a chat.
109109
param body: The request body
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation

msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D
3232

3333
async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]:
3434
"""
35-
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
35+
Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: Optional[InviteParticipantsOperation]
39-
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0
4040
"""
4141
if not body:
4242
raise TypeError("body cannot be null.")
@@ -56,7 +56,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional
5656

5757
def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5858
"""
59-
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
59+
Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
6060
param body: The request body
6161
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6262
Returns: RequestInformation

msgraph/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5050

5151
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]:
5252
"""
53-
Read properties and relationships of the windowsInformationProtection object.
53+
Read properties and relationships of the managedAppPolicy object.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[ManagedAppPolicy]
56-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-get?view=graph-rest-1.0
56+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0
5757
"""
5858
request_info = self.to_get_request_information(
5959
request_configuration
@@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
105105

106106
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
107107
"""
108-
Read properties and relationships of the windowsInformationProtection object.
108+
Read properties and relationships of the managedAppPolicy object.
109109
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110110
Returns: RequestInformation
111111
"""
@@ -158,7 +158,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig
158158
@dataclass
159159
class ManagedAppPolicyItemRequestBuilderGetQueryParameters():
160160
"""
161-
Read properties and relationships of the windowsInformationProtection object.
161+
Read properties and relationships of the managedAppPolicy object.
162162
"""
163163
def get_query_parameter(self,original_name: str) -> str:
164164
"""

msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]:
5050
"""
51-
List properties and relationships of the managedAppPolicy objects.
51+
List properties and relationships of the managedAppConfiguration objects.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[ManagedAppPolicyCollectionResponse]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -92,7 +92,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
List properties and relationships of the managedAppPolicy objects.
95+
List properties and relationships of the managedAppConfiguration objects.
9696
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9797
Returns: RequestInformation
9898
"""
@@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder:
138138
@dataclass
139139
class ManagedAppPoliciesRequestBuilderGetQueryParameters():
140140
"""
141-
List properties and relationships of the managedAppPolicy objects.
141+
List properties and relationships of the managedAppConfiguration objects.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5252

5353
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]:
5454
"""
55-
Read properties and relationships of the iosManagedAppRegistration object.
55+
Read properties and relationships of the androidManagedAppRegistration object.
5656
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5757
Returns: Optional[ManagedAppRegistration]
58-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0
58+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0
5959
"""
6060
request_info = self.to_get_request_information(
6161
request_configuration
@@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
107107

108108
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
109109
"""
110-
Read properties and relationships of the iosManagedAppRegistration object.
110+
Read properties and relationships of the androidManagedAppRegistration object.
111111
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112112
Returns: RequestInformation
113113
"""
@@ -178,7 +178,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request
178178
@dataclass
179179
class ManagedAppRegistrationItemRequestBuilderGetQueryParameters():
180180
"""
181-
Read properties and relationships of the iosManagedAppRegistration object.
181+
Read properties and relationships of the androidManagedAppRegistration object.
182182
"""
183183
def get_query_parameter(self,original_name: str) -> str:
184184
"""

msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def by_managed_app_registration_id(self,managed_app_registration_id: str) -> Man
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistrationCollectionResponse]:
5151
"""
52-
List properties and relationships of the iosManagedAppRegistration objects.
52+
List properties and relationships of the managedAppRegistration objects.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[ManagedAppRegistrationCollectionResponse]
55-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0
55+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0
5656
"""
5757
request_info = self.to_get_request_information(
5858
request_configuration
@@ -94,7 +94,7 @@ async def post(self,body: ManagedAppRegistration, request_configuration: Optiona
9494

9595
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9696
"""
97-
List properties and relationships of the iosManagedAppRegistration objects.
97+
List properties and relationships of the managedAppRegistration objects.
9898
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9999
Returns: RequestInformation
100100
"""
@@ -149,7 +149,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp
149149
@dataclass
150150
class ManagedAppRegistrationsRequestBuilderGetQueryParameters():
151151
"""
152-
List properties and relationships of the iosManagedAppRegistration objects.
152+
List properties and relationships of the managedAppRegistration objects.
153153
"""
154154
def get_query_parameter(self,original_name: str) -> str:
155155
"""

msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def by_managed_app_status_id(self,managed_app_status_id: str) -> ManagedAppStatu
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatusCollectionResponse]:
5050
"""
51-
List properties and relationships of the managedAppStatusRaw objects.
51+
List properties and relationships of the managedAppStatus objects.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[ManagedAppStatusCollectionResponse]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -92,7 +92,7 @@ async def post(self,body: ManagedAppStatus, request_configuration: Optional[Requ
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
List properties and relationships of the managedAppStatusRaw objects.
95+
List properties and relationships of the managedAppStatus objects.
9696
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9797
Returns: RequestInformation
9898
"""
@@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder:
138138
@dataclass
139139
class ManagedAppStatusesRequestBuilderGetQueryParameters():
140140
"""
141-
List properties and relationships of the managedAppStatusRaw objects.
141+
List properties and relationships of the managedAppStatus objects.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def by_managed_e_book_assignment_id(self,managed_e_book_assignment_id: str) -> M
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignmentCollectionResponse]:
5050
"""
51-
List properties and relationships of the managedEBookAssignment objects.
51+
List properties and relationships of the iosVppEBookAssignment objects.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[ManagedEBookAssignmentCollectionResponse]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -93,7 +93,7 @@ async def post(self,body: ManagedEBookAssignment, request_configuration: Optiona
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List properties and relationships of the managedEBookAssignment objects.
96+
List properties and relationships of the iosVppEBookAssignment objects.
9797
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9898
Returns: RequestInformation
9999
"""
@@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder:
139139
@dataclass
140140
class AssignmentsRequestBuilderGetQueryParameters():
141141
"""
142-
List properties and relationships of the managedEBookAssignment objects.
142+
List properties and relationships of the iosVppEBookAssignment objects.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE
7171

7272
async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
7373
"""
74-
Update the properties of a iosVppEBookAssignment object.
74+
Update the properties of a managedEBookAssignment object.
7575
param body: The request body
7676
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7777
Returns: Optional[ManagedEBookAssignment]
78-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0
78+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0
7979
"""
8080
if not body:
8181
raise TypeError("body cannot be null.")
@@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
117117

118118
def to_patch_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
119119
"""
120-
Update the properties of a iosVppEBookAssignment object.
120+
Update the properties of a managedEBookAssignment object.
121121
param body: The request body
122122
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
123123
Returns: RequestInformation

0 commit comments

Comments
 (0)