diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py index b8e1ea42d8e..45e50af67b1 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an operationalInsightsConnection object. + Delete a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[ResourceConnection]: """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceConnection] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,7 @@ async def patch(self,body: ResourceConnection, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an operationalInsightsConnection object. + Delete a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ResourceConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ResourceConnectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an operationalInsightsConnection object. + Read the properties and relationships of a resourceConnection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py index b62810aaa7a..e035cc74925 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> Optional[UpdatableAsset]: """ - Read the properties of an azureADDevice object. + Read the properties and relationships of an updatableAsset object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties of an azureADDevice object. + Read the properties and relationships of an updatableAsset object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -190,7 +190,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class UpdatableAssetItemRequestBuilderGetQueryParameters(): """ - Read the properties of an azureADDevice object. + Read the properties and relationships of an updatableAsset object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index b63a8e140b1..9dc5ebe3b4c 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a complianceChange object. + Delete a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -97,7 +97,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a complianceChange object. + Delete a contentApproval object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py index 0985c839f61..c439efd0545 100644 --- a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - 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. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py index 9ed3df14b29..43848d3c624 100644 --- a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - 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. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py index 4380aae4bfa..b11fa707900 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - 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. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - 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. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py index dc3e60042e2..ef159db0b1b 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py @@ -49,7 +49,7 @@ def by_ios_lob_app_provisioning_configuration_assignment_id(self,ios_lob_app_pro async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: IosLobAppProvisioningConfigurationAssignment, request_ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py index 426f188bedc..313b3485ab9 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignment]: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignment] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -148,7 +148,7 @@ class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderDeleteReques @dataclass class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration. + The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_action_result/retrieve_policy_apply_action_result_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_action_result/retrieve_policy_apply_action_result_request_builder.py index 63940c43e89..4b830c3dffb 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_action_result/retrieve_policy_apply_action_result_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_action_result/retrieve_policy_apply_action_result_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CloudPcPolicyApplyActionResult]: """ - Invoke function retrievePolicyApplyActionResult + Get the result of the latest apply operation of a provision policy. Frontline shared only. Administrators only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcPolicyApplyActionResult] + Find more info here: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-retrievepolicyapplyactionresult?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke function retrievePolicyApplyActionResult + Get the result of the latest apply operation of a provision policy. Frontline shared only. Administrators only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_schedule/retrieve_policy_apply_schedule_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_schedule/retrieve_policy_apply_schedule_request_builder.py index 12cc97435a9..6d6f011c7ee 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_schedule/retrieve_policy_apply_schedule_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/retrieve_policy_apply_schedule/retrieve_policy_apply_schedule_request_builder.py @@ -32,9 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CloudPcPolicyScheduledApplyActionDetail]: """ - Invoke function retrievePolicyApplySchedule + Get the scheduled apply rule set on the policy. Frontline shared only. Administrators only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcPolicyScheduledApplyActionDetail] + Find more info here: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-retrievepolicyapplyschedule?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -52,7 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[QueryPar def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke function retrievePolicyApplySchedule + Get the scheduled apply rule set on the policy. Frontline shared only. Administrators only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/schedule_policy_apply_task/schedule_policy_apply_task_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/schedule_policy_apply_task/schedule_policy_apply_task_request_builder.py index 01e5583b619..81822bac47c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/schedule_policy_apply_task/schedule_policy_apply_task_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/schedule_policy_apply_task/schedule_policy_apply_task_request_builder.py @@ -32,10 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: SchedulePolicyApplyTaskPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Invoke action schedulePolicyApplyTask + Set a scheduled auto-reprovision task to do automatic regular apply. Frontline shared only. Administrators only. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None + Find more info here: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-schedulepolicyapplytask?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: SchedulePolicyApplyTaskPostRequestBody, request_config def to_post_request_information(self,body: SchedulePolicyApplyTaskPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action schedulePolicyApplyTask + Set a scheduled auto-reprovision task to do automatic regular apply. Frontline shared only. Administrators only. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py index 9231707d403..4814d5b5994 100644 --- a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Hardware async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] - Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-post-hardwareoathdevices?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 340a044831c..70ff82f190b 100644 --- a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py index 6712a3e556d..512d9db0ab0 100644 --- a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py @@ -78,11 +78,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Educatio async def patch(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EducationUser]: """ - Update the properties of an educationuser object. + Update the relatedContact collection of an educationUser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUser] - Find more info here: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: EducationUser, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an educationuser object. + Update the relatedContact collection of an educationUser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py index 3a26cd25a05..5d4a940343e 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]: """ - Update the properties of an externalitem. + Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an externalitem. + Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py index dde7c04adbb..6d8c916f5bd 100644 --- a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py @@ -53,11 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SchemaRe async def patch(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Schema]: """ - Create a new or update an existing schema for a Microsoft Search connection. + Update the properties of a schema for an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new or update an existing schema for a Microsoft Search connection. + Update the properties of a schema for an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index 80446b0372d..d5e20d4262c 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataConn async def post(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Create a new oneRosterApiDataConnector object. + Create a new azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new oneRosterApiDataConnector object. + Create a new azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py index 3f4b41a1524..1ec1c4fc8a5 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Industry async def patch(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Update the properties of a oneRosterApiDataConnector object. + Update the properties of an azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a oneRosterApiDataConnector object. + Update the properties of an azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py b/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py index e40f54f84cc..c35c265fb8d 100644 --- a/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[LongRunningOperationItemRequestBuilderGetQueryParameters]] = None) -> Optional[LongRunningOperation]: """ - Read the properties and relationships of a fileValidateOperation object. + Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperation] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-filevalidateoperation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/longrunningoperation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[LongRunningOperationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a fileValidateOperation object. + Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class LongRunningOperationItemRequestBuilderDeleteRequestConfiguration(RequestCo @dataclass class LongRunningOperationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a fileValidateOperation object. + Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/groups_request_builder.py b/msgraph_beta/generated/groups/groups_request_builder.py index efbfe77eb55..bbc94865639 100644 --- a/msgraph_beta/generated/groups/groups_request_builder.py +++ b/msgraph_beta/generated/groups/groups_request_builder.py @@ -75,11 +75,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupsRe async def post(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]: """ - Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] - Find more info here: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -110,7 +110,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py index 9a425d08704..1d630f999f6 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]: """ - Get a group's conversation object. + Retrieve the properties and relationships of conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -84,7 +84,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a group's conversation object. + Retrieve the properties and relationships of conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Get a group's conversation object. + Retrieve the properties and relationships of conversation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index 10805e41ed7..d561b1a43ce 100644 --- a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -34,10 +34,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete conversationThread. + Delete a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -98,7 +98,7 @@ async def patch(self,body: ConversationThread, request_configuration: Optional[R def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete conversationThread. + Delete a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 05fe85e2048..5dc1c0963fa 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a namedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of a countryNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -96,7 +96,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a namedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[NamedLocationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of a countryNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -151,7 +151,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a namedLocation object. + Retrieve the properties and relationships of a countryNamedLocation object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py index 9ef31df1048..ff93b054f79 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters]] = None) -> Optional[CustomAuthenticationExtension]: """ - Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAuthenticationExtension] - Find more info here: https://learn.microsoft.com/graph/api/customauthenticationextension-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/authenticationeventlistener-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -160,7 +160,7 @@ class CustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration( @dataclass class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py index 80958f160e8..5f3ef898ea6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions", DeprecationWarning) request_info = self.to_delete_request_information( @@ -99,7 +99,7 @@ async def patch(self,body: CustomAccessPackageWorkflowExtension, request_configu def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 11a43b1f369..77fd9ddf1e9 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -72,10 +72,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -128,7 +128,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -244,7 +244,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py index 4cd8c04b3d0..870ae695cfb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages_with_unique_name/access_packages_with_unique_name_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -174,7 +174,7 @@ class AccessPackagesWithUniqueNameRequestBuilderDeleteRequestConfiguration(Reque @dataclass class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters(): """ - Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. + Retrieve the properties and relationships of an accessPackage object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index c2df0820563..9de9cb10c00 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> Optional[Agreement]: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] - Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -181,7 +181,7 @@ class AgreementItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class AgreementItemRequestBuilderGetQueryParameters(): """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py index d1fb69c29e2..a8f690d99f1 100644 --- a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetection]: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetection] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class RiskDetectionItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class RiskDetectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index adc0c33e7c1..b84bbfb58ce 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -155583,8 +155583,6 @@ msgraph_beta.generated.models.AiInteractionContext::|static|public|create_from_d msgraph_beta.generated.models.AiInteractionHistory-->Entity msgraph_beta.generated.models.AiInteractionHistory::|public|constructor():None msgraph_beta.generated.models.AiInteractionHistory::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.AiInteractionHistory::|public|interactions():list[AiInteraction] -msgraph_beta.generated.models.AiInteractionHistory::|public|interactions(value:list[AiInteraction]):None msgraph_beta.generated.models.AiInteractionHistory::|public|odata_type:str msgraph_beta.generated.models.AiInteractionHistory::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.AiInteractionHistory::|static|public|create_from_discriminator_value(parse_node:ParseNode):AiInteractionHistory @@ -168641,40 +168639,32 @@ msgraph_beta.generated.models.CloudPcPartnerAgentName::0002-VMware msgraph_beta.generated.models.CloudPcPartnerAgentName::0003-Hp msgraph_beta.generated.models.CloudPCPerformanceReportName::0000-PerformanceTrendReport msgraph_beta.generated.models.CloudPCPerformanceReportName::0001-UnknownFutureValue -msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|backing_store:BackingStore +msgraph_beta.generated.models.CloudPcPolicyApplyActionResult-->Entity msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|constructor():None msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|finish_date_time():datetime.datetime msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|finish_date_time(value:datetime.datetime):None msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|odata_type():str -msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|odata_type(value:str):None +msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|odata_type:str msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|start_date_time():datetime.datetime msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|start_date_time(value:datetime.datetime):None msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|status():CloudPcPolicyApplyActionStatus msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|public|status(value:CloudPcPolicyApplyActionStatus):None msgraph_beta.generated.models.CloudPcPolicyApplyActionResult::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcPolicyApplyActionResult -msgraph_beta.generated.models.CloudPcPolicyApplyActionResult~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.CloudPcPolicyApplyActionStatus::0000-Processing msgraph_beta.generated.models.CloudPcPolicyApplyActionStatus::0001-Succeeded msgraph_beta.generated.models.CloudPcPolicyApplyActionStatus::0002-Failed msgraph_beta.generated.models.CloudPcPolicyApplyActionStatus::0003-UnknownFutureValue -msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|additional_data():dict[str, Any] -msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|additional_data(value:dict[str, Any]):None -msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|backing_store:BackingStore +msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail-->Entity msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|constructor():None msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|cron_schedule_expression():str msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|cron_schedule_expression(value:str):None msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] -msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|odata_type():str -msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|odata_type(value:str):None +msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|odata_type:str msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|reserve_percentage():int msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|reserve_percentage(value:int):None msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail::|static|public|create_from_discriminator_value(parse_node:ParseNode):CloudPcPolicyScheduledApplyActionDetail -msgraph_beta.generated.models.CloudPcPolicyScheduledApplyActionDetail~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.CloudPcPolicySettingType::0000-Region msgraph_beta.generated.models.CloudPcPolicySettingType::0001-SingleSignOn msgraph_beta.generated.models.CloudPcPolicySettingType::0002-UnknownFutureValue @@ -211208,6 +211198,8 @@ msgraph_beta.generated.models.Presence::|public|get_field_deserializers():dict[s msgraph_beta.generated.models.Presence::|public|odata_type:str msgraph_beta.generated.models.Presence::|public|out_of_office_settings():OutOfOfficeSettings msgraph_beta.generated.models.Presence::|public|out_of_office_settings(value:OutOfOfficeSettings):None +msgraph_beta.generated.models.Presence::|public|sequence_number():str +msgraph_beta.generated.models.Presence::|public|sequence_number(value:str):None msgraph_beta.generated.models.Presence::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.Presence::|public|status_message():PresenceStatusMessage msgraph_beta.generated.models.Presence::|public|status_message(value:PresenceStatusMessage):None @@ -349520,26 +349512,10 @@ msgraph_beta.generated.users.item.manager.ManagerRequestBuilder.ManagerRequestBu msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|get(request_configuration?:RequestConfiguration[ManagerRequestBuilderGetQueryParameters]):DirectoryObject msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|ref:RefRequestBuilder msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|request_adapter:RequestAdapter msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[ManagerRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|url_template:str msgraph_beta.generated.users.item.manager.ManagerRequestBuilder::|public|with_url(raw_url:str):ManagerRequestBuilder -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder-->BaseRequestBuilder -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder.RefRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder.RefRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder.RefRequestBuilderPutRequestConfiguration-->RequestConfiguration[QueryParameters] -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):str -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|put(body:ReferenceUpdate; request_configuration?:RequestConfiguration[QueryParameters]):None -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|request_adapter:RequestAdapter -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|to_put_request_information(body:ReferenceUpdate; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|url_template:str -msgraph_beta.generated.users.item.manager.ref.RefRequestBuilder::|public|with_url(raw_url:str):RefRequestBuilder msgraph_beta.generated.users.item.memberOf.count.CountRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.users.item.memberOf.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph_beta.generated.users.item.memberOf.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index d9556ab394a..1ac0abe829d 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "E576FB8BD5A9C88C96D8817C443A98908B4DF074205683122B34A198373D1C7C62CCA161A06DC4F574808EB4C8F64B2BE0C08632CB186DD61F94530F59EA248F", + "descriptionHash": "2E42254B1980C905F1FEB8C0E2D25E00504B546235683769360348EAE740B92384FF4044D6446E57B3F8D7D9E4DCCD0C476AD3B00E332271A24FE9FAE61F57D7", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.23.0", + "kiotaVersion": "1.24.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "msgraph_beta.generated", diff --git a/msgraph_beta/generated/models/ai_interaction_history.py b/msgraph_beta/generated/models/ai_interaction_history.py index ba9dd156122..5f7b66bfbbf 100644 --- a/msgraph_beta/generated/models/ai_interaction_history.py +++ b/msgraph_beta/generated/models/ai_interaction_history.py @@ -5,15 +5,12 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .ai_interaction import AiInteraction from .entity import Entity from .entity import Entity @dataclass class AiInteractionHistory(Entity, Parsable): - # The interactions property - interactions: Optional[list[AiInteraction]] = None # The OdataType property odata_type: Optional[str] = None @@ -33,14 +30,11 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ - from .ai_interaction import AiInteraction from .entity import Entity - from .ai_interaction import AiInteraction from .entity import Entity fields: dict[str, Callable[[Any], None]] = { - "interactions": lambda n : setattr(self, 'interactions', n.get_collection_of_object_values(AiInteraction)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -55,6 +49,5 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_collection_of_object_values("interactions", self.interactions) diff --git a/msgraph_beta/generated/models/application.py b/msgraph_beta/generated/models/application.py index f16a3d06723..9c26c0ab4af 100644 --- a/msgraph_beta/generated/models/application.py +++ b/msgraph_beta/generated/models/application.py @@ -96,7 +96,7 @@ class Application(DirectoryObject, Parsable): on_premises_publishing: Optional[OnPremisesPublishing] = None # Application developers can configure optional claims in their Microsoft Entra applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app. optional_claims: Optional[OptionalClaims] = None - # Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + # Directory objects that are owners of this application. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. owners: Optional[list[DirectoryObject]] = None # Specifies parental control settings for an application. parental_control_settings: Optional[ParentalControlSettings] = None diff --git a/msgraph_beta/generated/models/cloud_pc_policy_apply_action_result.py b/msgraph_beta/generated/models/cloud_pc_policy_apply_action_result.py index 0cf82995a6f..33fd9199915 100644 --- a/msgraph_beta/generated/models/cloud_pc_policy_apply_action_result.py +++ b/msgraph_beta/generated/models/cloud_pc_policy_apply_action_result.py @@ -2,25 +2,22 @@ import datetime from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from .cloud_pc_policy_apply_action_status import CloudPcPolicyApplyActionStatus + from .entity import Entity -@dataclass -class CloudPcPolicyApplyActionResult(AdditionalDataHolder, BackedModel, Parsable): - # Stores model information. - backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) +from .entity import Entity - # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - additional_data: dict[str, Any] = field(default_factory=dict) - # The finishDateTime property +@dataclass +class CloudPcPolicyApplyActionResult(Entity, Parsable): + # The date and time when the operation finished. finish_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The startDateTime property + # The date and time when the operation was applied. start_date_time: Optional[datetime.datetime] = None # The status property status: Optional[CloudPcPolicyApplyActionStatus] = None @@ -42,15 +39,18 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .cloud_pc_policy_apply_action_status import CloudPcPolicyApplyActionStatus + from .entity import Entity from .cloud_pc_policy_apply_action_status import CloudPcPolicyApplyActionStatus + from .entity import Entity fields: dict[str, Callable[[Any], None]] = { "finishDateTime": lambda n : setattr(self, 'finish_date_time', n.get_datetime_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()), "status": lambda n : setattr(self, 'status', n.get_enum_value(CloudPcPolicyApplyActionStatus)), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -61,10 +61,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_datetime_value("finishDateTime", self.finish_date_time) - writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("startDateTime", self.start_date_time) writer.write_enum_value("status", self.status) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_pc_policy_scheduled_apply_action_detail.py b/msgraph_beta/generated/models/cloud_pc_policy_scheduled_apply_action_detail.py index a4340d8e349..ae5d62aa457 100644 --- a/msgraph_beta/generated/models/cloud_pc_policy_scheduled_apply_action_detail.py +++ b/msgraph_beta/generated/models/cloud_pc_policy_scheduled_apply_action_detail.py @@ -1,22 +1,21 @@ from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Optional, TYPE_CHECKING, Union -@dataclass -class CloudPcPolicyScheduledApplyActionDetail(AdditionalDataHolder, BackedModel, Parsable): - # Stores model information. - backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) +if TYPE_CHECKING: + from .entity import Entity + +from .entity import Entity - # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. - additional_data: dict[str, Any] = field(default_factory=dict) - # The cronScheduleExpression property +@dataclass +class CloudPcPolicyScheduledApplyActionDetail(Entity, Parsable): + # An expression that specifies the cron schedule. (For example, '0 0 0 20 ' means schedules a job to run at midnight on the 20th of every month) Administrators can set a cron expression to define the scheduling rules for automatic regular application. When auto-provision is disabled, cronScheduleExpression is set to null, stopping the automatic task scheduling. Read-Only. cron_schedule_expression: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The reservePercentage property + # The percentage of Cloud PCs to keep available. Administrators can set this property to a value from 0 to 99. Cloud PCs are reprovisioned only when there are no active and connected Cloud PC users. Frontline shared only. reserve_percentage: Optional[int] = None @staticmethod @@ -35,11 +34,16 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .entity import Entity + + from .entity import Entity + fields: dict[str, Callable[[Any], None]] = { "cronScheduleExpression": lambda n : setattr(self, 'cron_schedule_expression', n.get_str_value()), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "reservePercentage": lambda n : setattr(self, 'reserve_percentage', n.get_int_value()), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -50,9 +54,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if writer is None: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_str_value("cronScheduleExpression", self.cron_schedule_expression) - writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("reservePercentage", self.reserve_percentage) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py index 9425e379039..34a8130b402 100644 --- a/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_choice_setting_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationChoiceSettingCollectionDefinition(DeviceManagementConfigurationChoiceSettingDefinition, Parsable): - # Maximum number of choices in the collection. Valid values 1 to 100 + # Maximum number of choices in the collection maximum_count: Optional[int] = None - # Minimum number of choices in the collection. Valid values 1 to 100 + # Minimum number of choices in the collection minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py index f6ed83c37f3..4de4354b540 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py @@ -28,19 +28,19 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): # The accessTypes property access_types: Optional[DeviceManagementConfigurationSettingAccessTypes] = None - # Details which device setting is applicable on. Supports: $filters. + # Details which device setting is applicable on applicability: Optional[DeviceManagementConfigurationSettingApplicability] = None # Base CSP Path base_uri: Optional[str] = None - # Specify category in which the setting is under. Support $filters. + # Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) category_id: Optional[str] = None - # Description of the setting. + # Description of the item description: Optional[str] = None - # Name of the setting. For example: Allow Toast. + # Display name of the item display_name: Optional[str] = None - # Help text of the setting. Give more details of the setting. + # Help text of the item help_text: Optional[str] = None - # List of links more info for the setting can be found at. + # List of links more info for the setting can be found at info_urls: Optional[list[str]] = None # Tokens which to search settings on keywords: Optional[list[str]] = None @@ -56,7 +56,7 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): referred_setting_information_list: Optional[list[DeviceManagementConfigurationReferredSettingInformation]] = None # Setting RiskLevel risk_level: Optional[DeviceManagementConfigurationSettingRiskLevel] = None - # Root setting definition id if the setting is a child setting. + # Root setting definition if the setting is a child setting. root_definition_id: Optional[str] = None # Supported setting types setting_usage: Optional[DeviceManagementConfigurationSettingUsage] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py index 3a4b2212735..94b27c67cd3 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py @@ -14,7 +14,7 @@ @dataclass class DeviceManagementConfigurationSettingGroupDefinition(DeviceManagementConfigurationSettingDefinition, Parsable): - # Dependent child settings to this group of settings + # Dependent child settings to this group of settings. child_ids: Optional[list[str]] = None # List of child settings that depend on this setting depended_on_by: Optional[list[DeviceManagementConfigurationSettingDependedOnBy]] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py index 1d50b3b2cf9..770adb10406 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationSimpleSettingCollectionDefinition(DeviceManagementConfigurationSimpleSettingDefinition, Parsable): - # Maximum number of simple settings in the collection + # Maximum number of simple settings in the collection. Valid values 1 to 100 maximum_count: Optional[int] = None - # Minimum number of simple settings in the collection + # Minimum number of simple settings in the collection. Valid values 1 to 100 minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py index 3dbb5ddbd24..99e0d1ac5da 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py @@ -19,15 +19,15 @@ class DeviceManagementConfigurationStringSettingValueDefinition(DeviceManagement odata_type: Optional[str] = "#microsoft.graph.deviceManagementConfigurationStringSettingValueDefinition" # Supported file types for this setting. file_types: Optional[list[str]] = None - # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. + # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. format: Optional[DeviceManagementConfigurationStringFormat] = None # Regular expression or any xml or json schema that the input string should match input_validation_schema: Optional[str] = None # Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX. is_secret: Optional[bool] = None - # Maximum length of string. Valid values 0 to 87516 + # Maximum length of string maximum_length: Optional[int] = None - # Minimum length of string. Valid values 0 to 87516 + # Minimum length of string minimum_length: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/extended_key_usage.py b/msgraph_beta/generated/models/extended_key_usage.py index 1e39c859ba0..1ea561e4126 100644 --- a/msgraph_beta/generated/models/extended_key_usage.py +++ b/msgraph_beta/generated/models/extended_key_usage.py @@ -15,9 +15,9 @@ class ExtendedKeyUsage(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. + # Extended Key Usage Name name: Optional[str] = None - # The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. + # Extended Key Usage Object Identifier object_identifier: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/federated_identity_credential.py b/msgraph_beta/generated/models/federated_identity_credential.py index 8131f87482c..57e23474fff 100644 --- a/msgraph_beta/generated/models/federated_identity_credential.py +++ b/msgraph_beta/generated/models/federated_identity_credential.py @@ -14,7 +14,7 @@ class FederatedIdentityCredential(Entity, Parsable): # The audience that can appear in the external token. This field is mandatory and should be set to api://AzureADTokenExchange for Microsoft Entra ID. It says what Microsoft identity platform should accept in the aud claim in the incoming token. This value represents Microsoft Entra ID in your external identity provider and has no fixed value across identity providers - you may need to create a new application registration in your identity provider to serve as the audience of this token. This field can only accept a single value and has a limit of 600 characters. Required. audiences: Optional[list[str]] = None - # Enables the use of claims matching expressions against specified claims. For the list of supported expression syntax and claims, visit the Flexible FIC reference. + # Nullable. Defaults to null if not set. Enables the use of claims matching expressions against specified claims. If claimsMatchingExpression is defined, subject must be null. For the list of supported expression syntax and claims, visit the Flexible FIC reference. claims_matching_expression: Optional[FederatedIdentityExpression] = None # The un-validated, user-provided description of the federated identity credential. It has a limit of 600 characters. Optional. description: Optional[str] = None @@ -24,7 +24,7 @@ class FederatedIdentityCredential(Entity, Parsable): name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Required. The identifier of the external software workload within the external identity provider. Like the audience value, it has no fixed format, as each identity provider uses their own - sometimes a GUID, sometimes a colon delimited identifier, sometimes arbitrary strings. The value here must match the sub claim within the token presented to Microsoft Entra ID. The combination of issuer and subject must be unique on the app. It has a limit of 600 characters. Supports $filter (eq). + # Nullable. Defaults to null if not set. The identifier of the external software workload within the external identity provider. Like the audience value, it has no fixed format, as each identity provider uses their own - sometimes a GUID, sometimes a colon delimited identifier, sometimes arbitrary strings. The value here must match the sub claim within the token presented to Microsoft Entra ID. The combination of issuer and subject must be unique on the app. It has a limit of 600 characters. If subject is defined, claimsMatchingExpression must be null. Supports $filter (eq). subject: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/identity.py b/msgraph_beta/generated/models/identity.py index 3c725d47997..4d35aa8cef1 100644 --- a/msgraph_beta/generated/models/identity.py +++ b/msgraph_beta/generated/models/identity.py @@ -39,9 +39,9 @@ class Identity(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. + # The display name of the identity. This property is read-only. display_name: Optional[str] = None - # Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. + # The identifier of the identity. This property is read-only. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py index a188a688d36..f5a0a2e53b1 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py @@ -19,7 +19,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): """ This topic provides descriptions of the declared methods, properties and relationships exposed by the iOS Lob App Provisioning Configuration resource. """ - # The associated group assignments for IosLobAppProvisioningConfiguration. + # The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. assignments: Optional[list[IosLobAppProvisioningConfigurationAssignment]] = None # DateTime the object was created. created_date_time: Optional[datetime.datetime] = None @@ -29,7 +29,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): device_statuses: Optional[list[ManagedDeviceMobileAppConfigurationDeviceStatus]] = None # Admin provided name of the device configuration. display_name: Optional[str] = None - # Optional profile expiration date and time. + # Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. expiration_date_time: Optional[datetime.datetime] = None # The associated group assignments. group_assignments: Optional[list[MobileAppProvisioningConfigGroupAssignment]] = None diff --git a/msgraph_beta/generated/models/ios_managed_app_protection.py b/msgraph_beta/generated/models/ios_managed_app_protection.py index 5f5dfe5291a..81f05886226 100644 --- a/msgraph_beta/generated/models/ios_managed_app_protection.py +++ b/msgraph_beta/generated/models/ios_managed_app_protection.py @@ -33,7 +33,7 @@ class IosManagedAppProtection(TargetedManagedAppProtection, Parsable): app_data_encryption_type: Optional[ManagedAppDataEncryptionType] = None # List of apps to which the policy is deployed. apps: Optional[list[ManagedMobileApp]] = None - # A custom browser protocol to open weblink on iOS. + # A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. custom_browser_protocol: Optional[str] = None # Protocol of a custom dialer app to click-to-open a phone number on iOS, for example, skype:. custom_dialer_app_protocol: Optional[str] = None diff --git a/msgraph_beta/generated/models/key_value.py b/msgraph_beta/generated/models/key_value.py index 740202b69b1..3317bba6f74 100644 --- a/msgraph_beta/generated/models/key_value.py +++ b/msgraph_beta/generated/models/key_value.py @@ -12,11 +12,11 @@ class KeyValue(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Contains the name of the field that a value is associated with. + # Key. key: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Contains the corresponding value for the specified key. + # Value. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/presence.py b/msgraph_beta/generated/models/presence.py index 8c3aa7bc651..44e5577b234 100644 --- a/msgraph_beta/generated/models/presence.py +++ b/msgraph_beta/generated/models/presence.py @@ -21,6 +21,8 @@ class Presence(Entity, Parsable): odata_type: Optional[str] = None # The out of office settings for a user. out_of_office_settings: Optional[OutOfOfficeSettings] = None + # The sequenceNumber property + sequence_number: Optional[str] = None # The presence status message of a user. status_message: Optional[PresenceStatusMessage] = None @@ -52,6 +54,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "activity": lambda n : setattr(self, 'activity', n.get_str_value()), "availability": lambda n : setattr(self, 'availability', n.get_str_value()), "outOfOfficeSettings": lambda n : setattr(self, 'out_of_office_settings', n.get_object_value(OutOfOfficeSettings)), + "sequenceNumber": lambda n : setattr(self, 'sequence_number', n.get_str_value()), "statusMessage": lambda n : setattr(self, 'status_message', n.get_object_value(PresenceStatusMessage)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/protection_rule_base.py b/msgraph_beta/generated/models/protection_rule_base.py index 9a8c36f987b..13b622f9666 100644 --- a/msgraph_beta/generated/models/protection_rule_base.py +++ b/msgraph_beta/generated/models/protection_rule_base.py @@ -24,7 +24,7 @@ class ProtectionRuleBase(Entity, Parsable): created_date_time: Optional[datetime.datetime] = None # Contains error details if an operation on a rule fails. error: Optional[PublicError] = None - # true indicates that the protection rule is dynamic; false that it's static. Currently, only static rules are supported. + # true indicates that the protection rule is dynamic; false that it's static. is_auto_apply_enabled: Optional[bool] = None # The identity of the person who last modified the rule. last_modified_by: Optional[IdentitySet] = None @@ -32,7 +32,7 @@ class ProtectionRuleBase(Entity, Parsable): last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue. The draft member is currently unsupported. + # The status of the protection rule. The possible values are: draft, active, completed, completedWithErrors, unknownFutureValue, updateRequested, deleteRequested. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: updateRequested , deleteRequested. The draft member is currently unsupported. status: Optional[ProtectionRuleStatus] = None @staticmethod diff --git a/msgraph_beta/generated/models/service_principal.py b/msgraph_beta/generated/models/service_principal.py index 1f031c738ee..303cea9b922 100644 --- a/msgraph_beta/generated/models/service_principal.py +++ b/msgraph_beta/generated/models/service_principal.py @@ -112,7 +112,7 @@ class ServicePrincipal(DirectoryObject, Parsable): oauth2_permission_grants: Optional[list[OAuth2PermissionGrant]] = None # Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). owned_objects: Optional[list[DirectoryObject]] = None - # Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + # Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). owners: Optional[list[DirectoryObject]] = None # The collection of password credentials associated with the service principal. Not nullable. password_credentials: Optional[list[PasswordCredential]] = None diff --git a/msgraph_beta/generated/models/windows_domain_join_configuration.py b/msgraph_beta/generated/models/windows_domain_join_configuration.py index 343a52ff9c0..c01eaf7ff77 100644 --- a/msgraph_beta/generated/models/windows_domain_join_configuration.py +++ b/msgraph_beta/generated/models/windows_domain_join_configuration.py @@ -22,7 +22,7 @@ class WindowsDomainJoinConfiguration(DeviceConfiguration, Parsable): computer_name_static_prefix: Optional[str] = None # Dynamically generated characters used as suffix for computer name. Valid values 3 to 14 computer_name_suffix_random_char_count: Optional[int] = None - # Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + # Reference to device configurations required for network connectivity network_access_configurations: Optional[list[DeviceConfiguration]] = None # Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain. organizational_unit: Optional[str] = None diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index e30d087d3a2..0b40a4660f9 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py index b0c3503a34e..f4704a736ee 100644 --- a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py +++ b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> Optional[FederatedTokenValidationPolicy]: """ - Get a list of the federatedTokenValidationPolicy objects and their properties. + Read the properties and relationships of a federatedTokenValidationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedTokenValidationPolicy] - Find more info here: https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/federatedtokenvalidationpolicy-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the federatedTokenValidationPolicy objects and their properties. + Read the properties and relationships of a federatedTokenValidationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ class FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration(Req @dataclass class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters(): """ - Get a list of the federatedTokenValidationPolicy objects and their properties. + Read the properties and relationships of a federatedTokenValidationPolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py index 293e5a16a6e..8b3c3c4214a 100644 --- a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py +++ b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py @@ -48,10 +48,10 @@ def by_risk_detection_id(self,risk_detection_id: str) -> RiskDetectionItemReques async def get(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> Optional[RiskDetectionCollectionResponse]: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetectionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: RiskDetection, request_configuration: Optional[Request def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskDetectionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def with_url(self,raw_url: str) -> RiskDetectionsRequestBuilder: @dataclass class RiskDetectionsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of riskDetection objects. + Retrieve the properties of a riskDetection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py index ad2eb8b0913..ab8be829575 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py @@ -49,10 +49,10 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleAssignmentMultipleCollectionResponse]: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: UnifiedRoleAssignmentMultiple, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleAssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py index 6609ae07725..1e259e98446 100644 --- a/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/owners_request_builder.py @@ -53,7 +53,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[OwnersRe def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OwnersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class OwnersRequestBuilderGetQueryParameters(): """ - Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py b/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py index de9e49d4aae..687338b15ef 100644 --- a/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/owners/ref/ref_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[RefRe async def get(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderGetQueryParameters]] = None) -> Optional[StringCollectionResponse]: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RefRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -170,7 +170,7 @@ class RefRequestBuilderDeleteRequestConfiguration(RequestConfiguration[RefReques @dataclass class RefRequestBuilderGetQueryParameters(): """ - Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/all_members/all_members_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/all_members/all_members_request_builder.py index d019a4718c8..bd58f8340ce 100644 --- a/msgraph_beta/generated/teams/item/channels/item/all_members/all_members_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/all_members/all_members_request_builder.py @@ -51,7 +51,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[RequestConfiguration[AllMembersRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMember objects from a team channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-allmembers?view=graph-rest-beta @@ -95,7 +95,7 @@ async def post(self,body: ConversationMember, request_configuration: Optional[Re def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AllMembersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of conversationMember objects from a team channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -159,7 +159,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class AllMembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMember objects from a team channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. + Get a list of all members in a channel. It supports all types of channels. In the case of shared channels, it includes all cross-tenant and cross-team members in a channel. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py index c5e85c2dac6..6d207c2f350 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py index b78ed8fd9e9..93b574cdc29 100644 --- a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py @@ -49,10 +49,10 @@ def by_team_template_id(self,team_template_id: str) -> TeamTemplateItemRequestBu async def get(self,request_configuration: Optional[RequestConfiguration[TeamTemplatesRequestBuilderGetQueryParameters]] = None) -> Optional[TeamTemplateCollectionResponse]: """ - Get the list of teamTemplate objects that are available for a tenant. + List the teamTemplateDefinition objects associated with a teamTemplate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamTemplateCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: TeamTemplate, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TeamTemplatesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the list of teamTemplate objects that are available for a tenant. + List the teamTemplateDefinition objects associated with a teamTemplate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TeamTemplatesRequestBuilderGetQueryParameters(): """ - Get the list of teamTemplate objects that are available for a tenant. + List the teamTemplateDefinition objects associated with a teamTemplate. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/manager/manager_request_builder.py b/msgraph_beta/generated/users/item/manager/manager_request_builder.py index c964949b748..35b38e5d1a6 100644 --- a/msgraph_beta/generated/users/item/manager/manager_request_builder.py +++ b/msgraph_beta/generated/users/item/manager/manager_request_builder.py @@ -16,7 +16,6 @@ if TYPE_CHECKING: from ....models.directory_object import DirectoryObject from ....models.o_data_errors.o_data_error import ODataError - from .ref.ref_request_builder import RefRequestBuilder class ManagerRequestBuilder(BaseRequestBuilder): """ @@ -73,15 +72,6 @@ def with_url(self,raw_url: str) -> ManagerRequestBuilder: raise TypeError("raw_url cannot be null.") return ManagerRequestBuilder(self.request_adapter, raw_url) - @property - def ref(self) -> RefRequestBuilder: - """ - Provides operations to manage the collection of user entities. - """ - from .ref.ref_request_builder import RefRequestBuilder - - return RefRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass class ManagerRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py deleted file mode 100644 index 1aa5d67a1cb..00000000000 --- a/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py +++ /dev/null @@ -1,161 +0,0 @@ -from __future__ import annotations -from collections.abc import Callable -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -from kiota_abstractions.base_request_configuration import RequestConfiguration -from kiota_abstractions.default_query_parameters import QueryParameters -from kiota_abstractions.get_path_parameters import get_path_parameters -from kiota_abstractions.method import Method -from kiota_abstractions.request_adapter import RequestAdapter -from kiota_abstractions.request_information import RequestInformation -from kiota_abstractions.request_option import RequestOption -from kiota_abstractions.serialization import Parsable, ParsableFactory -from typing import Any, Optional, TYPE_CHECKING, Union -from warnings import warn - -if TYPE_CHECKING: - from .....models.o_data_errors.o_data_error import ODataError - from .....models.reference_update import ReferenceUpdate - -class RefRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the collection of user entities. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: - """ - Instantiates a new RefRequestBuilder and sets the default values. - param path_parameters: The raw url or the url-template parameters for the request. - param request_adapter: The request adapter to use to execute the requests. - Returns: None - """ - super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/manager/$ref", path_parameters) - - async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Remove a user's manager. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - Find more info here: https://learn.microsoft.com/graph/api/user-delete-manager?view=graph-rest-beta - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - - async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[str]: - """ - Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[str] - Find more info here: https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-beta - """ - request_info = self.to_get_request_information( - request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "str", error_mapping) - - async def put(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: - """ - Assign a user's manager. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: None - Find more info here: https://learn.microsoft.com/graph/api/user-post-manager?view=graph-rest-beta - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from .....models.o_data_errors.o_data_error import ODataError - - error_mapping: dict[str, type[ParsableFactory]] = { - "XXX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Remove a user's manager. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - - def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - return request_info - - def to_put_request_information(self,body: ReferenceUpdate, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: - """ - Assign a user's manager. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if body is None: - raise TypeError("body cannot be null.") - request_info = RequestInformation(Method.PUT, self.url_template, self.path_parameters) - request_info.configure(request_configuration) - request_info.headers.try_add("Accept", "application/json") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: str) -> RefRequestBuilder: - """ - Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - param raw_url: The raw URL to use for the request builder. - Returns: RefRequestBuilder - """ - if raw_url is None: - raise TypeError("raw_url cannot be null.") - return RefRequestBuilder(self.request_adapter, raw_url) - - @dataclass - class RefRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - - @dataclass - class RefRequestBuilderGetRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - - @dataclass - class RefRequestBuilderPutRequestConfiguration(RequestConfiguration[QueryParameters]): - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) - -