Skip to content

Commit 4b3919c

Browse files
authored
Merge pull request #933 from microsoftgraph/v1.0/pipelinebuild/167435
Generated models and request builders
2 parents 58f61a0 + 03b3c7a commit 4b3919c

File tree

61 files changed

+244
-246
lines changed

Some content is hidden

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

61 files changed

+244
-246
lines 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 channel or a chat.
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.
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/chatmessage-post?view=graph-rest-1.0
77+
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0
7878
"""
7979
if body is None:
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 channel or a chat.
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.
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/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.py

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

3838
async def get(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters]] = None) -> Optional[GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse]:
3939
"""
40-
Get log of PSTN calls as a collection of pstnCallLogRow entries.
40+
Get a log of PSTN calls as a collection of pstnCallLogRow entries.
4141
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
4242
Returns: Optional[GetPstnCallsWithFromDateTimeWithToDateTimeGetResponse]
4343
"""
@@ -57,7 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof
5757

5858
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
5959
"""
60-
Get log of PSTN calls as a collection of pstnCallLogRow entries.
60+
Get a log of PSTN calls as a collection of pstnCallLogRow entries.
6161
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6262
Returns: RequestInformation
6363
"""
@@ -79,7 +79,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphCallRecordsGetPstnCallsWithFrom
7979
@dataclass
8080
class MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilderGetQueryParameters():
8181
"""
82-
Get log of PSTN calls as a collection of pstnCallLogRow entries.
82+
Get a log of PSTN calls as a collection of pstnCallLogRow entries.
8383
"""
8484
def get_query_parameter(self,original_name: str) -> str:
8585
"""

msgraph/generated/device_app_management/device_app_management_request_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp
4949
Read properties and relationships of the deviceAppManagement object.
5050
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5151
Returns: Optional[DeviceAppManagement]
52-
Find more info here: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0
52+
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0
5353
"""
5454
request_info = self.to_get_request_information(
5555
request_configuration
@@ -71,7 +71,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[
7171
param body: The request body
7272
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7373
Returns: Optional[DeviceAppManagement]
74-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0
74+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0
7575
"""
7676
if body is None:
7777
raise TypeError("body cannot be null.")

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 managedAppRegistration objects.
52+
List properties and relationships of the iosManagedAppRegistration 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-managedappregistration-list?view=graph-rest-1.0
55+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-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 managedAppRegistration objects.
97+
List properties and relationships of the iosManagedAppRegistration 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 managedAppRegistration objects.
152+
List properties and relationships of the iosManagedAppRegistration objects.
153153
"""
154154
def get_query_parameter(self,original_name: str) -> str:
155155
"""

msgraph/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py

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

5050
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatus]:
5151
"""
52-
Read properties and relationships of the managedAppStatus object.
52+
Read properties and relationships of the managedAppStatusRaw object.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[ManagedAppStatus]
55-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0
55+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0
5656
"""
5757
request_info = self.to_get_request_information(
5858
request_configuration
@@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
104104

105105
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
106106
"""
107-
Read properties and relationships of the managedAppStatus object.
107+
Read properties and relationships of the managedAppStatusRaw object.
108108
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
109109
Returns: RequestInformation
110110
"""
@@ -148,7 +148,7 @@ class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguration(RequestConfig
148148
@dataclass
149149
class ManagedAppStatusItemRequestBuilderGetQueryParameters():
150150
"""
151-
Read properties and relationships of the managedAppStatus object.
151+
Read properties and relationships of the managedAppStatusRaw object.
152152
"""
153153
def get_query_parameter(self,original_name: str) -> str:
154154
"""

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 managedAppStatus objects.
51+
List properties and relationships of the managedAppStatusRaw 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-managedappstatus-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-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 managedAppStatus objects.
95+
List properties and relationships of the managedAppStatusRaw 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 managedAppStatus objects.
141+
List properties and relationships of the managedAppStatusRaw 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: 7 additions & 7 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 iosVppEBookAssignment objects.
51+
List properties and relationships of the managedEBookAssignment 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-iosvppebookassignment-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme
6969

7070
async def post(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
7171
"""
72-
Create a new iosVppEBookAssignment object.
72+
Create a new managedEBookAssignment object.
7373
param body: The request body
7474
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7575
Returns: Optional[ManagedEBookAssignment]
76-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0
76+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0
7777
"""
7878
if body is None:
7979
raise TypeError("body cannot be null.")
@@ -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 iosVppEBookAssignment objects.
96+
List properties and relationships of the managedEBookAssignment objects.
9797
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9898
Returns: RequestInformation
9999
"""
@@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
104104

105105
def to_post_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
106106
"""
107-
Create a new iosVppEBookAssignment object.
107+
Create a new managedEBookAssignment object.
108108
param body: The request body
109109
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
110110
Returns: RequestInformation
@@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder:
139139
@dataclass
140140
class AssignmentsRequestBuilderGetQueryParameters():
141141
"""
142-
List properties and relationships of the iosVppEBookAssignment objects.
142+
List properties and relationships of the managedEBookAssignment 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: 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[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookAssignment]:
5252
"""
53-
Read properties and relationships of the iosVppEBookAssignment object.
53+
Read properties and relationships of the managedEBookAssignment object.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[ManagedEBookAssignment]
56-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0
56+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0
5757
"""
5858
request_info = self.to_get_request_information(
5959
request_configuration
@@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
106106

107107
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Read properties and relationships of the iosVppEBookAssignment object.
109+
Read properties and relationships of the managedEBookAssignment object.
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation
112112
"""
@@ -150,7 +150,7 @@ class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration(Request
150150
@dataclass
151151
class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters():
152152
"""
153-
Read properties and relationships of the iosVppEBookAssignment object.
153+
Read properties and relationships of the managedEBookAssignment object.
154154
"""
155155
def get_query_parameter(self,original_name: str) -> str:
156156
"""

msgraph/generated/device_app_management/managed_e_books/managed_e_books_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_id(self,managed_e_book_id: str) -> ManagedEBookItemRequest
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookCollectionResponse]:
5050
"""
51-
List properties and relationships of the iosVppEBook objects.
51+
List properties and relationships of the managedEBook objects.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[ManagedEBookCollectionResponse]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-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: ManagedEBook, request_configuration: Optional[RequestC
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List properties and relationships of the iosVppEBook objects.
96+
List properties and relationships of the managedEBook 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 ManagedEBooksRequestBuilderGetQueryParameters():
141141
"""
142-
List properties and relationships of the iosVppEBook objects.
142+
List properties and relationships of the managedEBook objects.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

0 commit comments

Comments
 (0)