Skip to content

Commit 2abb271

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 185973
1 parent 8d3945a commit 2abb271

File tree

179 files changed

+5396
-590
lines changed

Some content is hidden

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

179 files changed

+5396
-590
lines changed

msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py

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

7474
async def patch(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ComplianceChange]:
7575
"""
76-
Update the properties of a contentApproval object.
76+
Update the properties of a complianceChange object.
7777
param body: The request body
7878
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7979
Returns: Optional[ComplianceChange]
80-
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta
80+
Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta
8181
"""
8282
if body is None:
8383
raise TypeError("body cannot be null.")
@@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
118118

119119
def to_patch_request_information(self,body: ComplianceChange, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
120120
"""
121-
Update the properties of a contentApproval object.
121+
Update the properties of a complianceChange object.
122122
param body: The request body
123123
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
124124
Returns: RequestInformation

msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py

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

3434
async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]:
3535
"""
36-
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.
36+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
3737
param body: The request body
3838
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3939
Returns: Optional[InviteParticipantsOperation]
40-
Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta
4141
"""
4242
if body is None:
4343
raise TypeError("body cannot be null.")
@@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional
5757

5858
def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5959
"""
60-
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.
60+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
6161
param body: The request body
6262
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6363
Returns: RequestInformation

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

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

7474
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
7575
"""
76-
Send a new chatMessage in the specified channel or a chat.
76+
Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
7777
param body: The request body
7878
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7979
Returns: Optional[ChatMessage]
80-
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta
80+
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta
8181
"""
8282
if body is None:
8383
raise TypeError("body cannot be null.")
@@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
108108

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

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

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

3434
async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]:
3535
"""
36-
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.
36+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
3737
param body: The request body
3838
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3939
Returns: Optional[InviteParticipantsOperation]
40-
Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta
40+
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta
4141
"""
4242
if body is None:
4343
raise TypeError("body cannot be null.")
@@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional
5757

5858
def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
5959
"""
60-
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.
60+
Invite participants to the active call. For more information about how to handle operations, see commsOperation.
6161
param body: The request body
6262
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
6363
Returns: RequestInformation

msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py

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

5151
async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]:
5252
"""
53-
List of relationships for this mobile app.
53+
The set of direct relationships for this app.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[MobileAppRelationship]
5656
"""
@@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
103103

104104
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
105105
"""
106-
List of relationships for this mobile app.
106+
The set of direct relationships for this app.
107107
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
108108
Returns: RequestInformation
109109
"""
@@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC
147147
@dataclass
148148
class MobileAppRelationshipItemRequestBuilderGetQueryParameters():
149149
"""
150-
List of relationships for this mobile app.
150+
The set of direct relationships for this app.
151151
"""
152152
def get_query_parameter(self,original_name: str) -> str:
153153
"""

msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]:
5151
"""
52-
List of relationships for this mobile app.
52+
The set of direct relationships for this app.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MobileAppRelationshipCollectionResponse]
5555
"""
@@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
List of relationships for this mobile app.
95+
The set of direct relationships for this app.
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 RelationshipsRequestBuilderGetQueryParameters():
140140
"""
141-
List of relationships for this mobile app.
141+
The set of direct relationships for this app.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py

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

5151
async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]:
5252
"""
53-
List of relationships for this mobile app.
53+
The set of direct relationships for this app.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[MobileAppRelationship]
5656
"""
@@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
103103

104104
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
105105
"""
106-
List of relationships for this mobile app.
106+
The set of direct relationships for this app.
107107
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
108108
Returns: RequestInformation
109109
"""
@@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC
147147
@dataclass
148148
class MobileAppRelationshipItemRequestBuilderGetQueryParameters():
149149
"""
150-
List of relationships for this mobile app.
150+
The set of direct relationships for this app.
151151
"""
152152
def get_query_parameter(self,original_name: str) -> str:
153153
"""

msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]:
5151
"""
52-
List of relationships for this mobile app.
52+
The set of direct relationships for this app.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MobileAppRelationshipCollectionResponse]
5555
"""
@@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
List of relationships for this mobile app.
95+
The set of direct relationships for this app.
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 RelationshipsRequestBuilderGetQueryParameters():
140140
"""
141-
List of relationships for this mobile app.
141+
The set of direct relationships for this app.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py

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

5151
async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationship]:
5252
"""
53-
List of relationships for this mobile app.
53+
The set of direct relationships for this app.
5454
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5555
Returns: Optional[MobileAppRelationship]
5656
"""
@@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo
103103

104104
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppRelationshipItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
105105
"""
106-
List of relationships for this mobile app.
106+
The set of direct relationships for this app.
107107
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
108108
Returns: RequestInformation
109109
"""
@@ -147,7 +147,7 @@ class MobileAppRelationshipItemRequestBuilderDeleteRequestConfiguration(RequestC
147147
@dataclass
148148
class MobileAppRelationshipItemRequestBuilderGetQueryParameters():
149149
"""
150-
List of relationships for this mobile app.
150+
The set of direct relationships for this app.
151151
"""
152152
def get_query_parameter(self,original_name: str) -> str:
153153
"""

msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def by_mobile_app_relationship_id(self,mobile_app_relationship_id: str) -> Mobil
4949

5050
async def get(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppRelationshipCollectionResponse]:
5151
"""
52-
List of relationships for this mobile app.
52+
The set of direct relationships for this app.
5353
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5454
Returns: Optional[MobileAppRelationshipCollectionResponse]
5555
"""
@@ -92,7 +92,7 @@ async def post(self,body: MobileAppRelationship, request_configuration: Optional
9292

9393
def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RelationshipsRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
9494
"""
95-
List of relationships for this mobile app.
95+
The set of direct relationships for this app.
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 RelationshipsRequestBuilderGetQueryParameters():
140140
"""
141-
List of relationships for this mobile app.
141+
The set of direct relationships for this app.
142142
"""
143143
def get_query_parameter(self,original_name: str) -> str:
144144
"""

0 commit comments

Comments
 (0)