Skip to content

Commit 5b410d7

Browse files
Merge pull request #1342 from microsoftgraph/v1.0/pipelinebuild/197481
Generated models and request builders
2 parents 16c1e50 + 15044b9 commit 5b410d7

File tree

69 files changed

+322
-234
lines changed

Some content is hidden

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

69 files changed

+322
-234
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
matrix:
1818
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install dependencies

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v5
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
needs: [build]
1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v5
2121
- name: Set up Python
22-
uses: actions/setup-python@v5
22+
uses: actions/setup-python@v6
2323
with:
2424
python-version: 3.13
2525
- name: Install flit

.github/workflows/validate-public-api-surface.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
validate-public-api-surface:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- uses: microsoftgraph/kiota-dom-export-diff-tool/export@main
2121
id: generatePatch
2222
- uses: microsoftgraph/kiota-dom-export-diff-tool/tool@main

msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py

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

5252
async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]:
5353
"""
54-
Retrieve a conversationMember from a chat.
54+
Retrieve a conversationMember from a chat or channel.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[ConversationMember]
57-
Find more info here: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0
57+
Find more info here: https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0
5858
"""
5959
request_info = self.to_get_request_information(
6060
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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Retrieve a conversationMember from a chat.
109+
Retrieve a conversationMember from a chat or channel.
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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration(RequestConf
150150
@dataclass
151151
class ConversationMemberItemRequestBuilderGetQueryParameters():
152152
"""
153-
Retrieve a conversationMember from a chat.
153+
Retrieve a conversationMember from a chat or channel.
154154
"""
155155
def get_query_parameter(self,original_name: str) -> str:
156156
"""

msgraph/generated/chats/item/messages/messages_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[Messages
7171

7272
async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]:
7373
"""
74-
Send a new chatMessage in the specified channel or a chat.
74+
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.
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[ChatMessage]
78-
Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0
78+
Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0
7979
"""
8080
if body is None:
8181
raise TypeError("body cannot be null.")
@@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi
106106

107107
def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Send a new chatMessage in the specified channel or a chat.
109+
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.
110110
param body: The request body
111111
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
112112
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
@@ -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-1.0
40+
Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0
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/generated/device_app_management/device_app_management_request_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceAp
5151
Read properties and relationships of the deviceAppManagement object.
5252
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5353
Returns: Optional[DeviceAppManagement]
54-
Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0
54+
Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0
5555
"""
5656
request_info = self.to_get_request_information(
5757
request_configuration
@@ -73,7 +73,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[
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[DeviceAppManagement]
76-
Find more info here: https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0
76+
Find more info here: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-update?view=graph-rest-1.0
7777
"""
7878
if body is None:
7979
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
@@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query
5151

5252
async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicy]:
5353
"""
54-
Read properties and relationships of the targetedManagedAppProtection object.
54+
Read properties and relationships of the managedAppConfiguration object.
5555
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5656
Returns: Optional[ManagedAppPolicy]
57-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0
57+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0
5858
"""
5959
request_info = self.to_get_request_information(
6060
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[ManagedAppPolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation:
108108
"""
109-
Read properties and relationships of the targetedManagedAppProtection object.
109+
Read properties and relationships of the managedAppConfiguration object.
110110
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
111111
Returns: RequestInformation
112112
"""
@@ -159,7 +159,7 @@ class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfig
159159
@dataclass
160160
class ManagedAppPolicyItemRequestBuilderGetQueryParameters():
161161
"""
162-
Read properties and relationships of the targetedManagedAppProtection object.
162+
Read properties and relationships of the managedAppConfiguration object.
163163
"""
164164
def get_query_parameter(self,original_name: str) -> str:
165165
"""

msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti
3636
param body: The request body
3737
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
3838
Returns: None
39-
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0
39+
Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0
4040
"""
4141
if body is None:
4242
raise TypeError("body cannot be null.")

0 commit comments

Comments
 (0)