Skip to content

Commit ecb01cf

Browse files
authored
Merge pull request #1036 from microsoftgraph/v1.0/pipelinebuild/174332
Generated models and request builders
2 parents 65f75f6 + 8b8b0ff commit ecb01cf

File tree

131 files changed

+9582
-202
lines changed

Some content is hidden

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

131 files changed

+9582
-202
lines changed

msgraph/generated/app_catalogs/teams_apps/teams_apps_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def by_teams_app_id(self,teams_app_id: str) -> TeamsAppItemRequestBuilder:
4848

4949
async def get(self,request_configuration: Optional[RequestConfiguration[TeamsAppsRequestBuilderGetQueryParameters]] = None) -> Optional[TeamsAppCollectionResponse]:
5050
"""
51-
List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
51+
List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[TeamsAppCollectionResponse]
5454
Find more info here: https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0
@@ -93,7 +93,7 @@ async def post(self,body: TeamsApp, request_configuration: Optional[RequestConfi
9393

9494
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TeamsAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9595
"""
96-
List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
96+
List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
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 TeamsAppsRequestBuilderGetQueryParameters():
141141
"""
142-
List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
142+
List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request.
143143
"""
144144
def get_query_parameter(self,original_name: str) -> str:
145145
"""

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 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 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/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-policyset-deviceappmanagement-get?view=graph-rest-1.0
52+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-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-unlock-deviceappmanagement-update?view=graph-rest-1.0
74+
Find more info here: https://learn.microsoft.com/graph/api/intune-partnerintegration-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_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 managedAppConfiguration object.
53+
Read properties and relationships of the targetedManagedAppProtection 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-managedappconfiguration-get?view=graph-rest-1.0
56+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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 managedAppConfiguration object.
108+
Read properties and relationships of the targetedManagedAppProtection 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 managedAppConfiguration object.
161+
Read properties and relationships of the targetedManagedAppProtection 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 windowsInformationProtection objects.
51+
List properties and relationships of the targetedManagedAppProtection 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-windowsinformationprotection-list?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-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 windowsInformationProtection objects.
95+
List properties and relationships of the targetedManagedAppProtection 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 windowsInformationProtection objects.
141+
List properties and relationships of the targetedManagedAppProtection 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 managedAppRegistration 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-managedappregistration-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 managedAppRegistration 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 managedAppRegistration 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 androidManagedAppRegistration 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-androidmanagedappregistration-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 androidManagedAppRegistration 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 androidManagedAppRegistration 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_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
"""

0 commit comments

Comments
 (0)