From f0b4fa0683abcf530e9161264e898f14c716fe97 Mon Sep 17 00:00:00 2001 From: amber-ccc Date: Wed, 5 Mar 2025 16:57:04 -0800 Subject: [PATCH] modify client name of conversation authoring to align with text authoring (#48583) * modified the clientname to align with Text Authoring * modifed the tests * udpated exported api and updated snippets --- .../README.md | 2 +- ...Language.Conversations.Authoring.net8.0.cs | 1612 ++++++++--------- ....Conversations.Authoring.netstandard2.0.cs | 1612 ++++++++--------- ..._ConversationsAuthoring_SwapDeployments.md | 2 +- ...ersationsAuthoring_SwapDeploymentsAsync.md | 2 +- ...14_ConversationsAuthoring_DeployProject.md | 2 +- ...nversationsAuthoring_DeployProjectAsync.md | 2 +- ...e1_ConversationsAuthoring_CreateProject.md | 2 +- ...nversationsAuthoring_CreateProjectAsync.md | 2 +- .../Sample2_ConversationsAuthoring_Import.md | 6 +- ...ple2_ConversationsAuthoring_ImportAsync.md | 6 +- ...mple4_ConversationsAuthoring_GetProject.md | 4 +- ..._ConversationsAuthoring_GetProjectAsync.md | 4 +- .../Sample6_ConversationsAuthoring_Train.md | 6 +- ...mple6_ConversationsAuthoring_TrainAsync.md | 6 +- ...onversationsAuthoring_CancelTrainingJob.md | 2 +- ...sationsAuthoring_CancelTrainingJobAsync.md | 2 +- ...ionsAuthoring_GetModelEvaluationSummary.md | 4 +- ...uthoring_GetModelEvaluationSummaryAsync.md | 4 +- .../src/AssignedDeploymentResource.cs | 10 +- .../ConversationAnalysisAuthoringClient.cs | 1 - ...nversationAnalysisAuthoringModelFactory.cs | 2 +- .../src/ConversationAuthoringDeployments.cs | 49 +- .../src/ConversationAuthoringExportedModel.cs | 28 +- .../src/ConversationAuthoringProject.cs | 168 +- .../src/ConversationAuthoringTrainedModel.cs | 52 +- .../src/CreateProjectDetails.cs | 6 +- .../ConversationAnalysisAuthoringClient.cs | 80 +- ...nversationAnalysisAuthoringModelFactory.cs | 274 +-- ...ploymentResourcesDetails.Serialization.cs} | 48 +- ...horingAssignDeploymentResourcesDetails.cs} | 16 +- ...signedDeploymentResource.Serialization.cs} | 42 +- ...ionAuthoringAssignedDeploymentResource.cs} | 14 +- ...rojectDeploymentMetadata.Serialization.cs} | 42 +- ...oringAssignedProjectDeploymentMetadata.cs} | 14 +- ...ojectDeploymentsMetadata.Serialization.cs} | 48 +- ...ringAssignedProjectDeploymentsMetadata.cs} | 16 +- ...horingCopyProjectDetails.Serialization.cs} | 42 +- ...onversationAuthoringCopyProjectDetails.cs} | 14 +- ...uthoringCopyProjectState.Serialization.cs} | 42 +- ... ConversationAuthoringCopyProjectState.cs} | 14 +- ...gCreateDeploymentDetails.Serialization.cs} | 42 +- ...sationAuthoringCreateDeploymentDetails.cs} | 14 +- ...ringCreateProjectDetails.Serialization.cs} | 46 +- ...versationAuthoringCreateProjectDetails.cs} | 27 +- ...gDeleteDeploymentDetails.Serialization.cs} | 42 +- ...sationAuthoringDeleteDeploymentDetails.cs} | 10 +- ...tDeleteFromResourcesState.Serialization.cs | 242 +++ ...ringDeploymentDeleteFromResourcesState.cs} | 14 +- ...horingDeploymentResource.Serialization.cs} | 42 +- ...onversationAuthoringDeploymentResource.cs} | 14 +- ...gDeploymentResourcesState.Serialization.cs | 242 +++ ...ationAuthoringDeploymentResourcesState.cs} | 14 +- ...AuthoringDeploymentState.Serialization.cs} | 42 +- ...> ConversationAuthoringDeploymentState.cs} | 14 +- ...thoringEntityEvalSummary.Serialization.cs} | 42 +- ...ConversationAuthoringEntityEvalSummary.cs} | 14 +- ...tionAuthoringEvalSummary.Serialization.cs} | 46 +- ...cs => ConversationAuthoringEvalSummary.cs} | 16 +- ...thoringEvaluationDetails.Serialization.cs} | 42 +- ...ConversationAuthoringEvaluationDetails.cs} | 10 +- ...oringEvaluationJobResult.Serialization.cs} | 46 +- ...nversationAuthoringEvaluationJobResult.cs} | 18 +- ...AuthoringEvaluationState.Serialization.cs} | 46 +- ...> ConversationAuthoringEvaluationState.cs} | 16 +- ...horingExportProjectState.Serialization.cs} | 42 +- ...onversationAuthoringExportProjectState.cs} | 14 +- ...horingExportedEntityList.Serialization.cs} | 48 +- ...onversationAuthoringExportedEntityList.cs} | 14 +- ...xportedEntityListSynonym.Serialization.cs} | 42 +- ...tionAuthoringExportedEntityListSynonym.cs} | 10 +- ...ingExportedEntitySublist.Serialization.cs} | 48 +- ...ersationAuthoringExportedEntitySublist.cs} | 14 +- ...ringExportedModelDetails.Serialization.cs} | 42 +- ...versationAuthoringExportedModelDetails.cs} | 14 +- ...horingExportedModelState.Serialization.cs} | 42 +- ...onversationAuthoringExportedModelState.cs} | 14 +- ...ngExportedPrebuiltEntity.Serialization.cs} | 42 +- ...rsationAuthoringExportedPrebuiltEntity.cs} | 14 +- ...AuthoringExportedProject.Serialization.cs} | 50 +- ...> ConversationAuthoringExportedProject.cs} | 22 +- ...ringExportedProjectAsset.Serialization.cs} | 44 +- ...versationAuthoringExportedProjectAsset.cs} | 12 +- ...ringExportedTrainedModel.Serialization.cs} | 42 +- ...versationAuthoringExportedTrainedModel.cs} | 14 +- ...horingImportProjectState.Serialization.cs} | 42 +- ...onversationAuthoringImportProjectState.cs} | 14 +- ...thoringLoadSnapshotState.Serialization.cs} | 42 +- ...ConversationAuthoringLoadSnapshotState.cs} | 14 +- ...nAuthoringPrebuiltEntity.Serialization.cs} | 42 +- ...=> ConversationAuthoringPrebuiltEntity.cs} | 14 +- .../Generated/ConversationAuthoringProject.cs | 12 +- ...ringProjectDeletionState.Serialization.cs} | 42 +- ...versationAuthoringProjectDeletionState.cs} | 14 +- ...thoringProjectDeployment.Serialization.cs} | 48 +- ...ConversationAuthoringProjectDeployment.cs} | 16 +- ...AuthoringProjectMetadata.Serialization.cs} | 46 +- ...> ConversationAuthoringProjectMetadata.cs} | 16 +- ...AuthoringProjectSettings.Serialization.cs} | 42 +- ...> ConversationAuthoringProjectSettings.cs} | 14 +- ...oringProjectTrainedModel.Serialization.cs} | 42 +- ...nversationAuthoringProjectTrainedModel.cs} | 14 +- ...uthoringResourceMetadata.Serialization.cs} | 42 +- ... ConversationAuthoringResourceMetadata.cs} | 14 +- ...uthoringSubTrainingState.Serialization.cs} | 42 +- ... ConversationAuthoringSubTrainingState.cs} | 14 +- ...thoringSupportedLanguage.Serialization.cs} | 42 +- ...ConversationAuthoringSupportedLanguage.cs} | 14 +- ...ngSwapDeploymentsDetails.Serialization.cs} | 42 +- ...rsationAuthoringSwapDeploymentsDetails.cs} | 14 +- ...ringSwapDeploymentsState.Serialization.cs} | 42 +- ...versationAuthoringSwapDeploymentsState.cs} | 14 +- .../ConversationAuthoringTrainedModel.cs | 4 +- ...ingTrainingConfigVersion.Serialization.cs} | 44 +- ...ersationAuthoringTrainingConfigVersion.cs} | 20 +- ...horingTrainingJobDetails.Serialization.cs} | 46 +- ...onversationAuthoringTrainingJobDetails.cs} | 16 +- ...thoringTrainingJobResult.Serialization.cs} | 50 +- ...ConversationAuthoringTrainingJobResult.cs} | 18 +- ...onAuthoringTrainingState.Serialization.cs} | 46 +- ... => ConversationAuthoringTrainingState.cs} | 16 +- ...ploymentResourcesDetails.Serialization.cs} | 42 +- ...ringUnassignDeploymentResourcesDetails.cs} | 14 +- ...onversationExportedEntity.Serialization.cs | 12 +- .../Generated/ConversationExportedEntity.cs | 8 +- .../ConversationExportedProjectAsset.cs | 2 +- ...omResourcesOperationState.Serialization.cs | 242 --- ...EntitiesEvaluationSummary.Serialization.cs | 6 +- .../Generated/EntitiesEvaluationSummary.cs | 6 +- .../OrchestrationExportedProjectAsset.cs | 2 +- ...DeploymentsOperationState.Serialization.cs | 242 --- ...ringExportedProjectAsset.Serialization.cs} | 44 +- ...nversationAuthoringExportedProjectAsset.cs | 28 + .../Generated/UnknownExportedProjectAsset.cs | 28 - .../ConversationsAuthoringClientLiveTest.cs | 26 +- .../tests/Samples/CreateClient.cs | 2 +- ..._ConversationsAuthoring_SwapDeployments.cs | 3 +- ...ersationsAuthoring_SwapDeploymentsAsync.cs | 3 +- ...ConversationsAuthoring_DeleteDeployment.cs | 1 - ...rsationsAuthoring_DeleteDeploymentAsync.cs | 1 - ...14_ConversationsAuthoring_DeployProject.cs | 3 +- ...nversationsAuthoring_DeployProjectAsync.cs | 3 +- ...e1_ConversationsAuthoring_CreateProject.cs | 2 +- ...nversationsAuthoring_CreateProjectAsync.cs | 2 +- .../Sample2_ConversationsAuthoring_Import.cs | 7 +- ...ple2_ConversationsAuthoring_ImportAsync.cs | 7 +- .../Sample3_ConversationsAuthoring_Export.cs | 1 - ...ple3_ConversationsAuthoring_ExportAsync.cs | 1 - ...mple4_ConversationsAuthoring_GetProject.cs | 5 +- ..._ConversationsAuthoring_GetProjectAsync.cs | 5 +- .../Sample6_ConversationsAuthoring_Train.cs | 7 +- ...mple6_ConversationsAuthoring_TrainAsync.cs | 7 +- ...onversationsAuthoring_CancelTrainingJob.cs | 3 +- ...sationsAuthoring_CancelTrainingJobAsync.cs | 3 +- ...ionsAuthoring_GetModelEvaluationSummary.cs | 5 +- ...uthoring_GetModelEvaluationSummaryAsync.cs | 5 +- ...ionsAuthoring_GetModelEvaluationResults.cs | 1 - ...uthoring_GetModelEvaluationResultsAsync.cs | 1 - .../tsp-location.yaml | 2 +- 159 files changed, 3887 insertions(+), 3898 deletions(-) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignDeploymentResourcesDetails.Serialization.cs => ConversationAuthoringAssignDeploymentResourcesDetails.Serialization.cs} (56%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignDeploymentResourcesDetails.cs => ConversationAuthoringAssignDeploymentResourcesDetails.cs} (72%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignedDeploymentResource.Serialization.cs => ConversationAuthoringAssignedDeploymentResource.Serialization.cs} (62%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignedDeploymentResource.cs => ConversationAuthoringAssignedDeploymentResource.cs} (73%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignedProjectDeploymentMetadata.Serialization.cs => ConversationAuthoringAssignedProjectDeploymentMetadata.Serialization.cs} (62%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignedProjectDeploymentMetadata.cs => ConversationAuthoringAssignedProjectDeploymentMetadata.cs} (78%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignedProjectDeploymentsMetadata.Serialization.cs => ConversationAuthoringAssignedProjectDeploymentsMetadata.Serialization.cs} (58%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{AssignedProjectDeploymentsMetadata.cs => ConversationAuthoringAssignedProjectDeploymentsMetadata.cs} (71%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CopyProjectDetails.Serialization.cs => ConversationAuthoringCopyProjectDetails.Serialization.cs} (72%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CopyProjectDetails.cs => ConversationAuthoringCopyProjectDetails.cs} (85%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CopyProjectOperationState.Serialization.cs => ConversationAuthoringCopyProjectState.Serialization.cs} (78%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CopyProjectOperationState.cs => ConversationAuthoringCopyProjectState.cs} (84%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CreateDeploymentDetails.Serialization.cs => ConversationAuthoringCreateDeploymentDetails.Serialization.cs} (65%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CreateDeploymentDetails.cs => ConversationAuthoringCreateDeploymentDetails.cs} (85%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CreateProjectDetails.Serialization.cs => ConversationAuthoringCreateProjectDetails.Serialization.cs} (71%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{CreateProjectDetails.cs => ConversationAuthoringCreateProjectDetails.cs} (70%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeleteDeploymentDetails.Serialization.cs => ConversationAuthoringDeleteDeploymentDetails.Serialization.cs} (63%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeleteDeploymentDetails.cs => ConversationAuthoringDeleteDeploymentDetails.cs} (83%) create mode 100644 sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentDeleteFromResourcesState.Serialization.cs rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeploymentDeleteFromResourcesOperationState.cs => ConversationAuthoringDeploymentDeleteFromResourcesState.cs} (78%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeploymentResource.Serialization.cs => ConversationAuthoringDeploymentResource.Serialization.cs} (63%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeploymentResource.cs => ConversationAuthoringDeploymentResource.cs} (79%) create mode 100644 sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResourcesState.Serialization.cs rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeploymentResourcesOperationState.cs => ConversationAuthoringDeploymentResourcesState.cs} (79%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeploymentOperationState.Serialization.cs => ConversationAuthoringDeploymentState.Serialization.cs} (77%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{SwapDeploymentsOperationState.cs => ConversationAuthoringDeploymentState.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EntityEvaluationSummary.Serialization.cs => ConversationAuthoringEntityEvalSummary.Serialization.cs} (71%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EntityEvaluationSummary.cs => ConversationAuthoringEntityEvalSummary.cs} (82%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationSummary.Serialization.cs => ConversationAuthoringEvalSummary.Serialization.cs} (65%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationSummary.cs => ConversationAuthoringEvalSummary.cs} (78%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationDetails.Serialization.cs => ConversationAuthoringEvaluationDetails.Serialization.cs} (68%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationDetails.cs => ConversationAuthoringEvaluationDetails.cs} (84%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationJobResult.Serialization.cs => ConversationAuthoringEvaluationJobResult.Serialization.cs} (63%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationJobResult.cs => ConversationAuthoringEvaluationJobResult.cs} (77%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationOperationState.Serialization.cs => ConversationAuthoringEvaluationState.Serialization.cs} (76%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{EvaluationOperationState.cs => ConversationAuthoringEvaluationState.cs} (79%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportProjectOperationState.Serialization.cs => ConversationAuthoringExportProjectState.Serialization.cs} (77%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportProjectOperationState.cs => ConversationAuthoringExportProjectState.cs} (81%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedEntityList.Serialization.cs => ConversationAuthoringExportedEntityList.Serialization.cs} (60%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedEntityList.cs => ConversationAuthoringExportedEntityList.cs} (74%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedEntityListSynonym.Serialization.cs => ConversationAuthoringExportedEntityListSynonym.Serialization.cs} (64%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedEntityListSynonym.cs => ConversationAuthoringExportedEntityListSynonym.cs} (83%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedEntitySublist.Serialization.cs => ConversationAuthoringExportedEntitySublist.Serialization.cs} (61%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedEntitySublist.cs => ConversationAuthoringExportedEntitySublist.cs} (75%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedModelDetails.Serialization.cs => ConversationAuthoringExportedModelDetails.Serialization.cs} (61%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedModelDetails.cs => ConversationAuthoringExportedModelDetails.cs} (77%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedModelOperationState.Serialization.cs => ConversationAuthoringExportedModelState.Serialization.cs} (76%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedModelOperationState.cs => ConversationAuthoringExportedModelState.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedPrebuiltEntity.Serialization.cs => ConversationAuthoringExportedPrebuiltEntity.Serialization.cs} (60%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedPrebuiltEntity.cs => ConversationAuthoringExportedPrebuiltEntity.cs} (76%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedProject.Serialization.cs => ConversationAuthoringExportedProject.Serialization.cs} (63%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedProject.cs => ConversationAuthoringExportedProject.cs} (71%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedProjectAsset.Serialization.cs => ConversationAuthoringExportedProjectAsset.Serialization.cs} (58%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedProjectAsset.cs => ConversationAuthoringExportedProjectAsset.cs} (74%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedTrainedModel.Serialization.cs => ConversationAuthoringExportedTrainedModel.Serialization.cs} (71%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ExportedTrainedModel.cs => ConversationAuthoringExportedTrainedModel.cs} (81%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ImportProjectOperationState.Serialization.cs => ConversationAuthoringImportProjectState.Serialization.cs} (76%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ImportProjectOperationState.cs => ConversationAuthoringImportProjectState.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{LoadSnapshotOperationState.Serialization.cs => ConversationAuthoringLoadSnapshotState.Serialization.cs} (77%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{LoadSnapshotOperationState.cs => ConversationAuthoringLoadSnapshotState.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{PrebuiltEntity.Serialization.cs => ConversationAuthoringPrebuiltEntity.Serialization.cs} (66%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{PrebuiltEntity.cs => ConversationAuthoringPrebuiltEntity.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectDeletionOperationState.Serialization.cs => ConversationAuthoringProjectDeletionState.Serialization.cs} (76%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectDeletionOperationState.cs => ConversationAuthoringProjectDeletionState.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectDeployment.Serialization.cs => ConversationAuthoringProjectDeployment.Serialization.cs} (70%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectDeployment.cs => ConversationAuthoringProjectDeployment.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectMetadata.Serialization.cs => ConversationAuthoringProjectMetadata.Serialization.cs} (77%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectMetadata.cs => ConversationAuthoringProjectMetadata.cs} (83%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectSettings.Serialization.cs => ConversationAuthoringProjectSettings.Serialization.cs} (62%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectSettings.cs => ConversationAuthoringProjectSettings.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectTrainedModel.Serialization.cs => ConversationAuthoringProjectTrainedModel.Serialization.cs} (72%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ProjectTrainedModel.cs => ConversationAuthoringProjectTrainedModel.cs} (82%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ResourceMetadata.Serialization.cs => ConversationAuthoringResourceMetadata.Serialization.cs} (65%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{ResourceMetadata.cs => ConversationAuthoringResourceMetadata.cs} (81%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{SubTrainingOperationState.Serialization.cs => ConversationAuthoringSubTrainingState.Serialization.cs} (69%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{SubTrainingOperationState.cs => ConversationAuthoringSubTrainingState.cs} (78%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{SupportedLanguage.Serialization.cs => ConversationAuthoringSupportedLanguage.Serialization.cs} (63%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{SupportedLanguage.cs => ConversationAuthoringSupportedLanguage.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{SwapDeploymentsDetails.Serialization.cs => ConversationAuthoringSwapDeploymentsDetails.Serialization.cs} (62%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{SwapDeploymentsDetails.cs => ConversationAuthoringSwapDeploymentsDetails.cs} (79%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeploymentResourcesOperationState.Serialization.cs => ConversationAuthoringSwapDeploymentsState.Serialization.cs} (76%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{DeploymentOperationState.cs => ConversationAuthoringSwapDeploymentsState.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingConfigVersion.Serialization.cs => ConversationAuthoringTrainingConfigVersion.Serialization.cs} (62%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingConfigVersion.cs => ConversationAuthoringTrainingConfigVersion.cs} (71%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingJobDetails.Serialization.cs => ConversationAuthoringTrainingJobDetails.Serialization.cs} (65%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingJobDetails.cs => ConversationAuthoringTrainingJobDetails.cs} (79%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingJobResult.Serialization.cs => ConversationAuthoringTrainingJobResult.Serialization.cs} (69%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingJobResult.cs => ConversationAuthoringTrainingJobResult.cs} (78%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingOperationState.Serialization.cs => ConversationAuthoringTrainingState.Serialization.cs} (77%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{TrainingOperationState.cs => ConversationAuthoringTrainingState.cs} (80%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{UnassignDeploymentResourcesDetails.Serialization.cs => ConversationAuthoringUnassignDeploymentResourcesDetails.Serialization.cs} (60%) rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{UnassignDeploymentResourcesDetails.cs => ConversationAuthoringUnassignDeploymentResourcesDetails.cs} (75%) delete mode 100644 sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentDeleteFromResourcesOperationState.Serialization.cs delete mode 100644 sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsOperationState.Serialization.cs rename sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/{UnknownExportedProjectAsset.Serialization.cs => UnknownConversationAuthoringExportedProjectAsset.Serialization.cs} (55%) create mode 100644 sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownConversationAuthoringExportedProjectAsset.cs delete mode 100644 sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownExportedProjectAsset.cs diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/README.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/README.md index 1333bd4fbc68..a73a8053aa1f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/README.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/README.md @@ -183,7 +183,7 @@ try { string invalidProjectName = "InvalidProject"; ConversationAuthoringProject projectClient = client.GetProject(invalidProjectName); - CreateProjectDetails projectData = new CreateProjectDetails( + ConversationAuthoringCreateProjectDetails projectData = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "invalid-lang" ) diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.net8.0.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.net8.0.cs index 02ccf0a94003..7d1be9d11b3d 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.net8.0.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.net8.0.cs @@ -1,53 +1,5 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class AssignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public AssignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable metadata) { } - public System.Collections.Generic.IList Metadata { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class AssignedDeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal AssignedDeploymentResource() { } - public Azure.Core.AzureLocation Region { get { throw null; } } - public Azure.Core.ResourceIdentifier ResourceId { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedDeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedDeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class AssignedProjectDeploymentMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal AssignedProjectDeploymentMetadata() { } - public System.DateTimeOffset DeploymentExpiresOn { get { throw null; } } - public string DeploymentName { get { throw null; } } - public System.DateTimeOffset LastDeployedOn { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class AssignedProjectDeploymentsMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal AssignedProjectDeploymentsMetadata() { } - public System.Collections.Generic.IReadOnlyList DeploymentsMetadata { get { throw null; } } - public string ProjectName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ConversationAnalysisAuthoringClient { protected ConversationAnalysisAuthoringClient() { } @@ -57,49 +9,49 @@ public ConversationAnalysisAuthoringClient(System.Uri endpoint, Azure.Core.Token public ConversationAnalysisAuthoringClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Language.Conversations.Authoring.ConversationAnalysisAuthoringClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Pageable GetAssignedResourceDeployments(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetAssignedResourceDeployments(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAssignedResourceDeployments(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeployment GetDeployment(string projectName, string deploymentName) { throw null; } public virtual Azure.Pageable GetDeploymentResources(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetDeploymentResources(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetDeploymentResources(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetDeployments(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetDeployments(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetDeployments(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModel GetExportedModel(string projectName, string exportedModelName) { throw null; } public virtual Azure.Pageable GetExportedModels(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetExportedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetExportedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProject GetProject(string projectName) { throw null; } public virtual Azure.Pageable GetProjects(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetProjects(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetProjects(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetProjectsAsync(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetProjectsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetSupportedLanguages(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetProjectsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetSupportedLanguages(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetSupportedLanguages(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } - public virtual Azure.AsyncPageable GetSupportedLanguagesAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetSupportedLanguagesAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetSupportedLanguagesAsync(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Pageable GetSupportedPrebuiltEntities(int? maxCount, int? skip, int? maxpagesize, string language, string multilingual, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetSupportedPrebuiltEntities(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetSupportedPrebuiltEntities(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount, int? skip, int? maxpagesize, string language, string multilingual, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainedModel GetTrainedModel(string projectName, string trainedModelLabel) { throw null; } public virtual Azure.Pageable GetTrainedModels(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetTrainedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTrainedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetTrainingConfigVersions(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTrainingConfigVersions(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetTrainingConfigVersions(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } - public virtual Azure.AsyncPageable GetTrainingConfigVersionsAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTrainingConfigVersionsAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetTrainingConfigVersionsAsync(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Pageable GetTrainingJobs(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetTrainingJobs(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTrainingJobs(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ConversationAnalysisAuthoringClientOptions : Azure.Core.ClientOptions { @@ -111,6 +63,106 @@ public enum ServiceVersion V2024_11_15_Preview = 3, } } + public static partial class ConversationAnalysisAuthoringModelFactory + { + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource ConversationAuthoringAssignedDeploymentResource(Azure.Core.ResourceIdentifier resourceId = null, Azure.Core.AzureLocation region = default(Azure.Core.AzureLocation)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentMetadata ConversationAuthoringAssignedProjectDeploymentMetadata(string deploymentName = null, System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiresOn = default(System.DateTimeOffset)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentsMetadata ConversationAuthoringAssignedProjectDeploymentsMetadata(string projectName = null, System.Collections.Generic.IEnumerable deploymentsMetadata = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixCell ConversationAuthoringConfusionMatrixCell(float normalizedValue = 0f, float rawValue = 0f) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixRow ConversationAuthoringConfusionMatrixRow(System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectState ConversationAuthoringCopyProjectState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails ConversationAuthoringCreateDeploymentDetails(string trainedModelLabel = null, System.Collections.Generic.IEnumerable assignedResourceIds = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails ConversationAuthoringCreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentDeleteFromResourcesState ConversationAuthoringDeploymentDeleteFromResourcesState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResource ConversationAuthoringDeploymentResource(string resourceId = null, string region = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResourcesState ConversationAuthoringDeploymentResourcesState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentState ConversationAuthoringDeploymentState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEntityEvalSummary ConversationAuthoringEntityEvalSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvalSummary ConversationAuthoringEvalSummary(Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary entitiesEvaluation = null, Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary intentsEvaluation = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails evaluationOptions = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult ConversationAuthoringEvaluationJobResult(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails evaluationDetails = null, string modelLabel = null, string trainingConfigVersion = null, int percentComplete = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationState ConversationAuthoringEvaluationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult result = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelState ConversationAuthoringExportedModelState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject ConversationAuthoringExportedProject(string projectFileVersion = null, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType = default(Azure.AI.Language.Conversations.Authoring.StringIndexType), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails metadata = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset assets = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedTrainedModel ConversationAuthoringExportedTrainedModel(string exportedModelName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastExportedModelOn = default(System.DateTimeOffset), System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportProjectState ConversationAuthoringExportProjectState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, string resultUri = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringImportProjectState ConversationAuthoringImportProjectState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringLoadSnapshotState ConversationAuthoringLoadSnapshotState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringPrebuiltEntity ConversationAuthoringPrebuiltEntity(string category = null, string description = null, string examples = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeletionState ConversationAuthoringProjectDeletionState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeployment ConversationAuthoringProjectDeployment(string deploymentName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, System.Collections.Generic.IEnumerable assignedResources = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectMetadata ConversationAuthoringProjectMetadata(System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastModifiedOn = default(System.DateTimeOffset), System.DateTimeOffset? lastTrainedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastDeployedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel ConversationAuthoringProjectTrainedModel(string label = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), int lastTrainingDurationInSeconds = 0, System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, bool hasSnapshot = false) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState ConversationAuthoringSubTrainingState(int percentComplete = 0, System.DateTimeOffset? startedOn = default(System.DateTimeOffset?), System.DateTimeOffset? endedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage ConversationAuthoringSupportedLanguage(string languageName = null, string languageCode = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsState ConversationAuthoringSwapDeploymentsState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingConfigVersion ConversationAuthoringTrainingConfigVersion(string trainingConfigVersion = null, System.DateTimeOffset modelExpirationDate = default(System.DateTimeOffset)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails ConversationAuthoringTrainingJobDetails(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails evaluationOptions = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult ConversationAuthoringTrainingJobResult(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState trainingStatus = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState evaluationStatus = null, System.DateTimeOffset? estimatedEndOn = default(System.DateTimeOffset?)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingState ConversationAuthoringTrainingState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult result = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationExportedEntity ConversationExportedEntity(string category = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode? compositionMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList entities = null, System.Collections.Generic.IEnumerable prebuilts = null, Azure.AI.Language.Conversations.Authoring.ExportedEntityRegex regex = null, System.Collections.Generic.IEnumerable requiredComponents = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationExportedUtterance ConversationExportedUtterance(System.Collections.Generic.IEnumerable entities = null, string text = null, string language = null, string intent = null, Azure.AI.Language.Conversations.Authoring.DatasetType? dataset = default(Azure.AI.Language.Conversations.Authoring.DatasetType?)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary entities = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestrationDetails ExportedConversationOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestration conversationOrchestration = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration ExportedLuisOrchestration(System.Guid appId = default(System.Guid), string appVersion = null, string slotName = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestrationDetails ExportedLuisOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration luisOrchestration = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestrationDetails ExportedQuestionAnsweringOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestration questionAnsweringOrchestration = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.IntentEvaluationSummary IntentEvaluationSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary intents = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedIntent OrchestrationExportedIntent(Azure.AI.Language.Conversations.Authoring.ExportedOrchestrationDetails orchestration = null, string category = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedUtterance OrchestrationExportedUtterance(string text = null, string language = null, string intent = null, string dataset = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult UtteranceEntitiesEvaluationResult(System.Collections.Generic.IEnumerable expectedEntities = null, System.Collections.Generic.IEnumerable predictedEntities = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceEntityEvaluationResult UtteranceEntityEvaluationResult(string category = null, int offset = 0, int length = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceEvaluationResult UtteranceEvaluationResult(string text = null, string language = null, Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult entitiesResult = null, Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult intentsResult = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult UtteranceIntentsEvaluationResult(string expectedIntent = null, string predictedIntent = null) { throw null; } + } + public partial class ConversationAuthoringAssignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringAssignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable metadata) { } + public System.Collections.Generic.IList Metadata { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringAssignedDeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringAssignedDeploymentResource() { } + public Azure.Core.AzureLocation Region { get { throw null; } } + public Azure.Core.ResourceIdentifier ResourceId { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringAssignedProjectDeploymentMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringAssignedProjectDeploymentMetadata() { } + public System.DateTimeOffset DeploymentExpiresOn { get { throw null; } } + public string DeploymentName { get { throw null; } } + public System.DateTimeOffset LastDeployedOn { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringAssignedProjectDeploymentsMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringAssignedProjectDeploymentsMetadata() { } + public System.Collections.Generic.IReadOnlyList DeploymentsMetadata { get { throw null; } } + public string ProjectName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringCompositionMode : System.IEquatable { @@ -154,6 +206,80 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class ConversationAuthoringCopyProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringCopyProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, System.DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion) { } + public string AccessToken { get { throw null; } set { } } + public System.DateTimeOffset ExpiresAt { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } set { } } + public string TargetProjectName { get { throw null; } set { } } + public string TargetResourceId { get { throw null; } set { } } + public string TargetResourceRegion { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringCopyProjectState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringCopyProjectState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringCreateDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringCreateDeploymentDetails(string trainedModelLabel) { } + public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } + public string TrainedModelLabel { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringCreateProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringCreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string language) { } + public ConversationAuthoringCreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string projectName, string language) { } + public string Description { get { throw null; } set { } } + public string Language { get { throw null; } } + public bool? Multilingual { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } + public string ProjectName { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings Settings { get { throw null; } set { } } + public string StorageInputContainerName { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeleteDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringDeleteDeploymentDetails() { } + public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringDeployment { public readonly string _deploymentName; @@ -164,26 +290,146 @@ protected ConversationAuthoringDeployment() { } public virtual Azure.Operation DeleteDeployment(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteDeploymentAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task DeleteDeploymentAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteDeploymentFromResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteDeploymentFromResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteDeploymentFromResourcesAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation DeployProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation DeployProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation DeployProject(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task DeployProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeployProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeployProjectAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetDeployment(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetDeployment(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetDeployment(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetDeploymentAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetDeploymentAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetDeploymentAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetDeploymentDeleteFromResourcesStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetDeploymentDeleteFromResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetDeploymentDeleteFromResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetDeploymentDeleteFromResourcesStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetDeploymentDeleteFromResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetDeploymentDeleteFromResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetDeploymentStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetDeploymentStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetDeploymentStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetDeploymentStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetDeploymentStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetDeploymentStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ConversationAuthoringDeploymentDeleteFromResourcesState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentDeleteFromResourcesState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentDeleteFromResourcesState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentDeleteFromResourcesState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentResource() { } + public string Region { get { throw null; } } + public string ResourceId { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeploymentResourcesState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentResourcesState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResourcesState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResourcesState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeploymentState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEntityEvalSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEntityEvalSummary() { } + public double F1 { get { throw null; } } + public int FalseNegativeCount { get { throw null; } } + public int FalsePositiveCount { get { throw null; } } + public double Precision { get { throw null; } } + public double Recall { get { throw null; } } + public int TrueNegativeCount { get { throw null; } } + public int TruePositiveCount { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEntityEvalSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEntityEvalSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEvalSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEvalSummary() { } + public Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluation { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails EvaluationOptions { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluation { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvalSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvalSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEvaluationDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringEvaluationDetails() { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind? Kind { get { throw null; } set { } } + public int? TestingSplitPercentage { get { throw null; } set { } } + public int? TrainingSplitPercentage { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEvaluationJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEvaluationJobResult() { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails EvaluationDetails { get { throw null; } } + public string ModelLabel { get { throw null; } } + public int PercentComplete { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringEvaluationKind : System.IEquatable @@ -203,28 +449,144 @@ protected ConversationAuthoringDeployment() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringEvaluationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEvaluationState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult Result { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedEntityList : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedEntityList() { } + public System.Collections.Generic.IList Sublists { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedEntityListSynonym : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedEntityListSynonym() { } + public string Language { get { throw null; } set { } } + public System.Collections.Generic.IList Values { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityListSynonym System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityListSynonym System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedEntitySublist : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedEntitySublist() { } + public string ListKey { get { throw null; } set { } } + public System.Collections.Generic.IList Synonyms { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntitySublist System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntitySublist System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringExportedModel { public readonly string _exportedModelName; public readonly string _projectName; protected ConversationAuthoringExportedModel() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Operation CreateOrUpdateExportedModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation CreateOrUpdateExportedModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation CreateOrUpdateExportedModel(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateExportedModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateExportedModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrUpdateExportedModelAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation DeleteExportedModel(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation DeleteExportedModel(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteExportedModelAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteExportedModelAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetExportedModel(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetExportedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetExportedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetExportedModelAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetExportedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetExportedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetExportedModelJobStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetExportedModelJobStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetExportedModelJobStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetExportedModelJobStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetExportedModelJobStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetExportedModelJobStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ConversationAuthoringExportedModelDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedModelDetails(string trainedModelLabel) { } + public string TrainedModelLabel { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedModelState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringExportedModelState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedPrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedPrebuiltEntity(string category) { } + public string Category { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedPrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedPrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedProject : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedProject(string projectFileVersion, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails metadata) { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset Assets { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails Metadata { get { throw null; } } + public string ProjectFileVersion { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.StringIndexType StringIndexType { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public abstract partial class ConversationAuthoringExportedProjectAsset : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + protected ConversationAuthoringExportedProjectAsset() { } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringExportedProjectFormat : System.IEquatable @@ -244,6 +606,74 @@ protected ConversationAuthoringExportedModel() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringExportedTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringExportedTrainedModel() { } + public string ExportedModelName { get { throw null; } } + public System.DateTimeOffset LastExportedModelOn { get { throw null; } } + public System.DateTimeOffset LastTrainedOn { get { throw null; } } + public System.DateTimeOffset ModelExpiredOn { get { throw null; } } + public string ModelId { get { throw null; } } + public string ModelTrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportProjectState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringExportProjectState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public string ResultUri { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportProjectState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportProjectState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringImportProjectState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringImportProjectState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringImportProjectState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringImportProjectState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringLoadSnapshotState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringLoadSnapshotState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringLoadSnapshotState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringLoadSnapshotState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringOperationStatus : System.IEquatable { @@ -267,30 +697,43 @@ protected ConversationAuthoringExportedModel() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringPrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringPrebuiltEntity() { } + public string Category { get { throw null; } } + public string Description { get { throw null; } } + public string Examples { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringPrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringPrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringProject { public readonly string _projectName; protected ConversationAuthoringProject() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Operation AssignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation AssignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation AssignDeploymentResources(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task AssignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AssignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AssignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response AuthorizeProjectCopy(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AuthorizeProjectCopy(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response AuthorizeProjectCopy(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> AuthorizeProjectCopyAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AuthorizeProjectCopyAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AuthorizeProjectCopyAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation CancelTrainingJob(Azure.WaitUntil waitUntil, string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Operation CancelTrainingJob(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation CancelTrainingJob(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CancelTrainingJobAsync(Azure.WaitUntil waitUntil, string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> CancelTrainingJobAsync(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation CopyProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CancelTrainingJobAsync(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation CopyProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation CopyProject(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task CopyProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CopyProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CopyProjectAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateProject(Azure.AI.Language.Conversations.Authoring.CreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateProject(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateProject(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateProjectAsync(Azure.AI.Language.Conversations.Authoring.CreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CreateProjectAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateProjectAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation DeleteProject(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteProjectAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } @@ -299,58 +742,92 @@ protected ConversationAuthoringProject() { } public virtual System.Threading.Tasks.Task ExportAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), string assetKind = null, string trainedModelLabel = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ExportAsync(Azure.WaitUntil waitUntil, string stringIndexType, string exportedProjectFormat = null, string assetKind = null, string trainedModelLabel = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetAssignDeploymentResourcesStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetAssignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetAssignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetAssignDeploymentResourcesStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetAssignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAssignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetCopyProjectStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetCopyProjectStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetCopyProjectStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetCopyProjectStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetCopyProjectStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetCopyProjectStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetExportStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetExportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetExportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetExportStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetExportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetExportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetImportStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetImportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetImportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetImportStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetImportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetImportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetProject(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetProject(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetProject(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetProjectAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetProjectAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetProjectAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetProjectDeletionStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetProjectDeletionStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetProjectDeletionStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetProjectDeletionStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetProjectDeletionStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetProjectDeletionStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSwapDeploymentsStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetSwapDeploymentsStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetSwapDeploymentsStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetSwapDeploymentsStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetSwapDeploymentsStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSwapDeploymentsStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetTrainingStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetTrainingStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTrainingStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetTrainingStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetTrainingStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTrainingStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetUnassignDeploymentResourcesStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetUnassignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetUnassignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetUnassignDeploymentResourcesStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetUnassignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation Import(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetUnassignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation Import(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation Import(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string exportedProjectFormat = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task ImportAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task ImportAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ImportAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string exportedProjectFormat = null, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation SwapDeployments(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation SwapDeployments(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation SwapDeployments(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task SwapDeploymentsAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SwapDeploymentsAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SwapDeploymentsAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation Train(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.TrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation Train(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation Train(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> TrainAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.TrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> TrainAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> TrainAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation UnassignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation UnassignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation UnassignDeploymentResources(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task UnassignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task UnassignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UnassignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } + public partial class ConversationAuthoringProjectDeletionState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectDeletionState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeletionState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeletionState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringProjectDeployment : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectDeployment() { } + public System.Collections.Generic.IReadOnlyList AssignedResources { get { throw null; } } + public System.DateTimeOffset DeploymentExpiredOn { get { throw null; } } + public string DeploymentName { get { throw null; } } + public System.DateTimeOffset LastDeployedOn { get { throw null; } } + public System.DateTimeOffset LastTrainedOn { get { throw null; } } + public string ModelId { get { throw null; } } + public string ModelTrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeployment System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeployment System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringProjectKind : System.IEquatable { @@ -370,6 +847,123 @@ protected ConversationAuthoringProject() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringProjectMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectMetadata() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public string Description { get { throw null; } } + public string Language { get { throw null; } } + public System.DateTimeOffset? LastDeployedOn { get { throw null; } } + public System.DateTimeOffset LastModifiedOn { get { throw null; } } + public System.DateTimeOffset? LastTrainedOn { get { throw null; } } + public bool? Multilingual { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } + public string ProjectName { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings Settings { get { throw null; } } + public string StorageInputContainerName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringProjectSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringProjectSettings(float confidenceThreshold) { } + public float ConfidenceThreshold { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringProjectTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectTrainedModel() { } + public bool HasSnapshot { get { throw null; } } + public string Label { get { throw null; } } + public System.DateTimeOffset LastTrainedOn { get { throw null; } } + public int LastTrainingDurationInSeconds { get { throw null; } } + public System.DateTimeOffset ModelExpiredOn { get { throw null; } } + public string ModelId { get { throw null; } } + public string ModelTrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringResourceMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringResourceMetadata(string azureResourceId, string customDomain, string region) { } + public string AzureResourceId { get { throw null; } } + public string CustomDomain { get { throw null; } } + public string Region { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringResourceMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringResourceMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSubTrainingState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringSubTrainingState() { } + public System.DateTimeOffset? EndedOn { get { throw null; } } + public int PercentComplete { get { throw null; } } + public System.DateTimeOffset? StartedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSupportedLanguage : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringSupportedLanguage() { } + public string LanguageCode { get { throw null; } } + public string LanguageName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSwapDeploymentsDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringSwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName) { } + public string FirstDeploymentName { get { throw null; } } + public string SecondDeploymentName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSwapDeploymentsState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringSwapDeploymentsState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringTrainedModel { public readonly string _projectName; @@ -380,35 +974,77 @@ protected ConversationAuthoringTrainedModel() { } public virtual Azure.Response DeleteTrainedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteTrainedModelAsync(Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task DeleteTrainedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation EvaluateModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.EvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation EvaluateModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation EvaluateModel(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> EvaluateModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.EvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> EvaluateModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> EvaluateModelAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetEvaluationStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetEvaluationStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetEvaluationStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetEvaluationStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetEvaluationStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetEvaluationStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetLoadSnapshotStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetLoadSnapshotStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetLoadSnapshotStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetLoadSnapshotStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetLoadSnapshotStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetLoadSnapshotStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetModelEvaluationResults(Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetModelEvaluationResults(string stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.AsyncPageable GetModelEvaluationResultsAsync(Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetModelEvaluationResultsAsync(string stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetModelEvaluationSummary(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetModelEvaluationSummary(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetModelEvaluationSummary(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetModelEvaluationSummaryAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetModelEvaluationSummaryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetModelEvaluationSummaryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetTrainedModel(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetTrainedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTrainedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetTrainedModelAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetTrainedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTrainedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation LoadSnapshot(Azure.WaitUntil waitUntil, Azure.RequestContext context) { throw null; } public virtual Azure.Operation LoadSnapshot(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task LoadSnapshotAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task LoadSnapshotAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ConversationAuthoringTrainingConfigVersion : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringTrainingConfigVersion() { } + public System.DateTimeOffset ModelExpirationDate { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingConfigVersion System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingConfigVersion System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringTrainingJobDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringTrainingJobDetails(string modelLabel, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode) { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails EvaluationOptions { get { throw null; } set { } } + public string ModelLabel { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode TrainingMode { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringTrainingJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringTrainingJobResult() { } + public System.DateTimeOffset? EstimatedEndOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState EvaluationStatus { get { throw null; } } + public string ModelLabel { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? TrainingMode { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState TrainingStatus { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringTrainingMode : System.IEquatable { @@ -427,13 +1063,42 @@ protected ConversationAuthoringTrainedModel() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringTrainingState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringTrainingState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult Result { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringUnassignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringUnassignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable assignedResourceIds) { } + public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationExportedEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ConversationExportedEntity(string category) { } public string Category { get { throw null; } } public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode? CompositionMode { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ExportedEntityList Entities { get { throw null; } set { } } - public System.Collections.Generic.IList Prebuilts { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList Entities { get { throw null; } set { } } + public System.Collections.Generic.IList Prebuilts { get { throw null; } } public Azure.AI.Language.Conversations.Authoring.ExportedEntityRegex Regex { get { throw null; } set { } } public System.Collections.Generic.IList RequiredComponents { get { throw null; } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -454,7 +1119,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ConversationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + public partial class ConversationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ConversationExportedProjectAsset() { } public System.Collections.Generic.IList Entities { get { throw null; } } @@ -482,68 +1147,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class CopyProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public CopyProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, System.DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion) { } - public string AccessToken { get { throw null; } set { } } - public System.DateTimeOffset ExpiresAt { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } set { } } - public string TargetProjectName { get { throw null; } set { } } - public string TargetResourceId { get { throw null; } set { } } - public string TargetResourceRegion { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class CopyProjectOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal CopyProjectOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class CreateDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public CreateDeploymentDetails(string trainedModelLabel) { } - public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } - public string TrainedModelLabel { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class CreateProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public CreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string language) { } - public string Description { get { throw null; } set { } } - public string Language { get { throw null; } } - public bool? Multilingual { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } - public string ProjectName { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ProjectSettings Settings { get { throw null; } set { } } - public string StorageInputContainerName { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DatasetType : System.IEquatable { @@ -556,91 +1159,17 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } - public static implicit operator Azure.AI.Language.Conversations.Authoring.DatasetType (string value) { throw null; } - public static bool operator !=(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } - public override string ToString() { throw null; } - } - public partial class DeleteDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public DeleteDeploymentDetails() { } - public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentDeleteFromResourcesOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentDeleteFromResourcesOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentDeleteFromResourcesOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentDeleteFromResourcesOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentResource() { } - public string Region { get { throw null; } } - public string ResourceId { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentResourcesOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentResourcesOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResourcesOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResourcesOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } + public static implicit operator Azure.AI.Language.Conversations.Authoring.DatasetType (string value) { throw null; } + public static bool operator !=(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } + public override string ToString() { throw null; } } public partial class EntitiesEvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal EntitiesEvaluationSummary() { } public System.Collections.Generic.IReadOnlyDictionary ConfusionMatrix { get { throw null; } } - public System.Collections.Generic.IReadOnlyDictionary Entities { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary Entities { get { throw null; } } public float MacroF1 { get { throw null; } } public float MacroPrecision { get { throw null; } } public float MacroRecall { get { throw null; } } @@ -654,81 +1183,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class EntityEvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EntityEvaluationSummary() { } - public double F1 { get { throw null; } } - public int FalseNegativeCount { get { throw null; } } - public int FalsePositiveCount { get { throw null; } } - public double Precision { get { throw null; } } - public double Recall { get { throw null; } } - public int TrueNegativeCount { get { throw null; } } - public int TruePositiveCount { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EntityEvaluationSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EntityEvaluationSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public EvaluationDetails() { } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind? Kind { get { throw null; } set { } } - public int? TestingSplitPercentage { get { throw null; } set { } } - public int? TrainingSplitPercentage { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EvaluationJobResult() { } - public Azure.AI.Language.Conversations.Authoring.EvaluationDetails EvaluationDetails { get { throw null; } } - public string ModelLabel { get { throw null; } } - public int PercentComplete { get { throw null; } } - public string TrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EvaluationOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.EvaluationJobResult Result { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EvaluationSummary() { } - public Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluation { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.EvaluationDetails EvaluationOptions { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluation { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedConversationOrchestration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedConversationOrchestration(string projectName, string deploymentName) { } @@ -752,29 +1206,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedEntityList : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedEntityList() { } - public System.Collections.Generic.IList Sublists { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityList System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityList System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ExportedEntityListSynonym : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedEntityListSynonym() { } - public string Language { get { throw null; } set { } } - public System.Collections.Generic.IList Values { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityListSynonym System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityListSynonym System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedEntityRegex : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedEntityRegex() { } @@ -799,18 +1230,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedEntitySublist : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedEntitySublist() { } - public string ListKey { get { throw null; } set { } } - public System.Collections.Generic.IList Synonyms { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntitySublist System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntitySublist System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedLuisOrchestration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedLuisOrchestration(System.Guid appId) { } @@ -835,34 +1254,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedModelDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedModelDetails(string trainedModelLabel) { } - public string TrainedModelLabel { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ExportedModelOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ExportedModelOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public abstract partial class ExportedOrchestrationDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { protected ExportedOrchestrationDetails() { } @@ -873,41 +1264,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedPrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedPrebuiltEntity(string category) { } - public string Category { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedPrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedPrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ExportedProject : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedProject(string projectFileVersion, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, Azure.AI.Language.Conversations.Authoring.CreateProjectDetails metadata) { } - public Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset Assets { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.CreateProjectDetails Metadata { get { throw null; } } - public string ProjectFileVersion { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.StringIndexType StringIndexType { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProject System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProject System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public abstract partial class ExportedProjectAsset : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - protected ExportedProjectAsset() { } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedQuestionAnsweringOrchestration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedQuestionAnsweringOrchestration(string projectName) { } @@ -930,22 +1286,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ExportedTrainedModel() { } - public string ExportedModelName { get { throw null; } } - public System.DateTimeOffset LastExportedModelOn { get { throw null; } } - public System.DateTimeOffset LastTrainedOn { get { throw null; } } - public System.DateTimeOffset ModelExpiredOn { get { throw null; } } - public string ModelId { get { throw null; } } - public string ModelTrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedUtteranceEntityLabel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedUtteranceEntityLabel(string category, int offset, int length) { } @@ -959,41 +1299,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportProjectOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ExportProjectOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public string ResultUri { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportProjectOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportProjectOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ImportProjectOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ImportProjectOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ImportProjectOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ImportProjectOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class IntentEvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal IntentEvaluationSummary() { } @@ -1029,23 +1334,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class LoadSnapshotOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal LoadSnapshotOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.LoadSnapshotOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.LoadSnapshotOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class OrchestrationExportedIntent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public OrchestrationExportedIntent(string category) { } @@ -1058,7 +1346,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class OrchestrationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + public partial class OrchestrationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public OrchestrationExportedProjectAsset() { } public System.Collections.Generic.IList Intents { get { throw null; } } @@ -1084,115 +1372,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class PrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal PrebuiltEntity() { } - public string Category { get { throw null; } } - public string Description { get { throw null; } } - public string Examples { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.PrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.PrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectDeletionOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectDeletionOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeletionOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeletionOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectDeployment : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectDeployment() { } - public System.Collections.Generic.IReadOnlyList AssignedResources { get { throw null; } } - public System.DateTimeOffset DeploymentExpiredOn { get { throw null; } } - public string DeploymentName { get { throw null; } } - public System.DateTimeOffset LastDeployedOn { get { throw null; } } - public System.DateTimeOffset LastTrainedOn { get { throw null; } } - public string ModelId { get { throw null; } } - public string ModelTrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeployment System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeployment System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectMetadata() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public string Description { get { throw null; } } - public string Language { get { throw null; } } - public System.DateTimeOffset? LastDeployedOn { get { throw null; } } - public System.DateTimeOffset LastModifiedOn { get { throw null; } } - public System.DateTimeOffset? LastTrainedOn { get { throw null; } } - public bool? Multilingual { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } - public string ProjectName { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ProjectSettings Settings { get { throw null; } } - public string StorageInputContainerName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ProjectSettings(float confidenceThreshold) { } - public float ConfidenceThreshold { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectSettings System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectSettings System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectTrainedModel() { } - public bool HasSnapshot { get { throw null; } } - public string Label { get { throw null; } } - public System.DateTimeOffset LastTrainedOn { get { throw null; } } - public int LastTrainingDurationInSeconds { get { throw null; } } - public System.DateTimeOffset ModelExpiredOn { get { throw null; } } - public string ModelId { get { throw null; } } - public string ModelTrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ResourceMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ResourceMetadata(string azureResourceId, string customDomain, string region) { } - public string AzureResourceId { get { throw null; } } - public string CustomDomain { get { throw null; } } - public string Region { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ResourceMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ResourceMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StringIndexType : System.IEquatable { @@ -1212,132 +1391,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static bool operator !=(Azure.AI.Language.Conversations.Authoring.StringIndexType left, Azure.AI.Language.Conversations.Authoring.StringIndexType right) { throw null; } public override string ToString() { throw null; } } - public partial class SubTrainingOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal SubTrainingOperationState() { } - public System.DateTimeOffset? EndedOn { get { throw null; } } - public int PercentComplete { get { throw null; } } - public System.DateTimeOffset? StartedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class SupportedLanguage : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal SupportedLanguage() { } - public string LanguageCode { get { throw null; } } - public string LanguageName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SupportedLanguage System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SupportedLanguage System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class SwapDeploymentsDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public SwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName) { } - public string FirstDeploymentName { get { throw null; } } - public string SecondDeploymentName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class SwapDeploymentsOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal SwapDeploymentsOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingConfigVersion : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal TrainingConfigVersion() { } - public System.DateTimeOffset ModelExpirationDate { get { throw null; } } - public string TrainingConfigVersionProperty { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingConfigVersion System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingConfigVersion System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingJobDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public TrainingJobDetails(string modelLabel, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode) { } - public Azure.AI.Language.Conversations.Authoring.EvaluationDetails EvaluationOptions { get { throw null; } set { } } - public string ModelLabel { get { throw null; } } - public string TrainingConfigVersion { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode TrainingMode { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal TrainingJobResult() { } - public System.DateTimeOffset? EstimatedEndOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState EvaluationStatus { get { throw null; } } - public string ModelLabel { get { throw null; } } - public string TrainingConfigVersion { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? TrainingMode { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState TrainingStatus { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal TrainingOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.TrainingJobResult Result { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class UnassignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public UnassignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable assignedResourceIds) { } - public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class UtteranceEntitiesEvaluationResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal UtteranceEntitiesEvaluationResult() { } @@ -1390,61 +1443,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } } -namespace Azure.AI.Language.Conversations.Authoring.Models -{ - public static partial class ConversationAnalysisAuthoringModelFactory - { - public static Azure.AI.Language.Conversations.Authoring.AssignedDeploymentResource AssignedDeploymentResource(Azure.Core.ResourceIdentifier resourceId = null, Azure.Core.AzureLocation region = default(Azure.Core.AzureLocation)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentMetadata AssignedProjectDeploymentMetadata(string deploymentName = null, System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiresOn = default(System.DateTimeOffset)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentsMetadata AssignedProjectDeploymentsMetadata(string projectName = null, System.Collections.Generic.IEnumerable deploymentsMetadata = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixCell ConversationAuthoringConfusionMatrixCell(float normalizedValue = 0f, float rawValue = 0f) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixRow ConversationAuthoringConfusionMatrixRow(System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationExportedEntity ConversationExportedEntity(string category = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode? compositionMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode?), Azure.AI.Language.Conversations.Authoring.ExportedEntityList entities = null, System.Collections.Generic.IEnumerable prebuilts = null, Azure.AI.Language.Conversations.Authoring.ExportedEntityRegex regex = null, System.Collections.Generic.IEnumerable requiredComponents = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationExportedUtterance ConversationExportedUtterance(System.Collections.Generic.IEnumerable entities = null, string text = null, string language = null, string intent = null, Azure.AI.Language.Conversations.Authoring.DatasetType? dataset = default(Azure.AI.Language.Conversations.Authoring.DatasetType?)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.CopyProjectOperationState CopyProjectOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails CreateDeploymentDetails(string trainedModelLabel = null, System.Collections.Generic.IEnumerable assignedResourceIds = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.CreateProjectDetails CreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentDeleteFromResourcesOperationState DeploymentDeleteFromResourcesOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentOperationState DeploymentOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentResource DeploymentResource(string resourceId = null, string region = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentResourcesOperationState DeploymentResourcesOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary entities = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EntityEvaluationSummary EntityEvaluationSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EvaluationJobResult EvaluationJobResult(Azure.AI.Language.Conversations.Authoring.EvaluationDetails evaluationDetails = null, string modelLabel = null, string trainingConfigVersion = null, int percentComplete = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EvaluationOperationState EvaluationOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.EvaluationJobResult result = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EvaluationSummary EvaluationSummary(Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary entitiesEvaluation = null, Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary intentsEvaluation = null, Azure.AI.Language.Conversations.Authoring.EvaluationDetails evaluationOptions = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestrationDetails ExportedConversationOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestration conversationOrchestration = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration ExportedLuisOrchestration(System.Guid appId = default(System.Guid), string appVersion = null, string slotName = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestrationDetails ExportedLuisOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration luisOrchestration = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedModelOperationState ExportedModelOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedProject ExportedProject(string projectFileVersion = null, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType = default(Azure.AI.Language.Conversations.Authoring.StringIndexType), Azure.AI.Language.Conversations.Authoring.CreateProjectDetails metadata = null, Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset assets = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestrationDetails ExportedQuestionAnsweringOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestration questionAnsweringOrchestration = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedTrainedModel ExportedTrainedModel(string exportedModelName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastExportedModelOn = default(System.DateTimeOffset), System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportProjectOperationState ExportProjectOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, string resultUri = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ImportProjectOperationState ImportProjectOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.IntentEvaluationSummary IntentEvaluationSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary intents = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.LoadSnapshotOperationState LoadSnapshotOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedIntent OrchestrationExportedIntent(Azure.AI.Language.Conversations.Authoring.ExportedOrchestrationDetails orchestration = null, string category = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedUtterance OrchestrationExportedUtterance(string text = null, string language = null, string intent = null, string dataset = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.PrebuiltEntity PrebuiltEntity(string category = null, string description = null, string examples = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectDeletionOperationState ProjectDeletionOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectDeployment ProjectDeployment(string deploymentName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, System.Collections.Generic.IEnumerable assignedResources = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectMetadata ProjectMetadata(System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastModifiedOn = default(System.DateTimeOffset), System.DateTimeOffset? lastTrainedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastDeployedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectTrainedModel ProjectTrainedModel(string label = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), int lastTrainingDurationInSeconds = 0, System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, bool hasSnapshot = false) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState SubTrainingOperationState(int percentComplete = 0, System.DateTimeOffset? startedOn = default(System.DateTimeOffset?), System.DateTimeOffset? endedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.SupportedLanguage SupportedLanguage(string languageName = null, string languageCode = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.SwapDeploymentsOperationState SwapDeploymentsOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingConfigVersion TrainingConfigVersion(string trainingConfigVersionProperty = null, System.DateTimeOffset modelExpirationDate = default(System.DateTimeOffset)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingJobDetails TrainingJobDetails(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode), Azure.AI.Language.Conversations.Authoring.EvaluationDetails evaluationOptions = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingJobResult TrainingJobResult(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode?), Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState trainingStatus = null, Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState evaluationStatus = null, System.DateTimeOffset? estimatedEndOn = default(System.DateTimeOffset?)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingOperationState TrainingOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.TrainingJobResult result = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult UtteranceEntitiesEvaluationResult(System.Collections.Generic.IEnumerable expectedEntities = null, System.Collections.Generic.IEnumerable predictedEntities = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceEntityEvaluationResult UtteranceEntityEvaluationResult(string category = null, int offset = 0, int length = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceEvaluationResult UtteranceEvaluationResult(string text = null, string language = null, Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult entitiesResult = null, Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult intentsResult = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult UtteranceIntentsEvaluationResult(string expectedIntent = null, string predictedIntent = null) { throw null; } - } -} namespace Microsoft.Extensions.Azure { public static partial class ConversationsAuthoringClientBuilderExtensions diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.netstandard2.0.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.netstandard2.0.cs index 02ccf0a94003..7d1be9d11b3d 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.netstandard2.0.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/api/Azure.AI.Language.Conversations.Authoring.netstandard2.0.cs @@ -1,53 +1,5 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class AssignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public AssignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable metadata) { } - public System.Collections.Generic.IList Metadata { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class AssignedDeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal AssignedDeploymentResource() { } - public Azure.Core.AzureLocation Region { get { throw null; } } - public Azure.Core.ResourceIdentifier ResourceId { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedDeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedDeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class AssignedProjectDeploymentMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal AssignedProjectDeploymentMetadata() { } - public System.DateTimeOffset DeploymentExpiresOn { get { throw null; } } - public string DeploymentName { get { throw null; } } - public System.DateTimeOffset LastDeployedOn { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class AssignedProjectDeploymentsMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal AssignedProjectDeploymentsMetadata() { } - public System.Collections.Generic.IReadOnlyList DeploymentsMetadata { get { throw null; } } - public string ProjectName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ConversationAnalysisAuthoringClient { protected ConversationAnalysisAuthoringClient() { } @@ -57,49 +9,49 @@ public ConversationAnalysisAuthoringClient(System.Uri endpoint, Azure.Core.Token public ConversationAnalysisAuthoringClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.Language.Conversations.Authoring.ConversationAnalysisAuthoringClientOptions options) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public virtual Azure.Pageable GetAssignedResourceDeployments(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetAssignedResourceDeployments(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAssignedResourceDeployments(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeployment GetDeployment(string projectName, string deploymentName) { throw null; } public virtual Azure.Pageable GetDeploymentResources(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetDeploymentResources(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetDeploymentResources(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetDeployments(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetDeployments(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetDeployments(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModel GetExportedModel(string projectName, string exportedModelName) { throw null; } public virtual Azure.Pageable GetExportedModels(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetExportedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetExportedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProject GetProject(string projectName) { throw null; } public virtual Azure.Pageable GetProjects(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetProjects(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetProjects(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetProjectsAsync(int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetProjectsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetSupportedLanguages(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetProjectsAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetSupportedLanguages(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetSupportedLanguages(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } - public virtual Azure.AsyncPageable GetSupportedLanguagesAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetSupportedLanguagesAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetSupportedLanguagesAsync(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Pageable GetSupportedPrebuiltEntities(int? maxCount, int? skip, int? maxpagesize, string language, string multilingual, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetSupportedPrebuiltEntities(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetSupportedPrebuiltEntities(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount, int? skip, int? maxpagesize, string language, string multilingual, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), string language = null, string multilingual = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainedModel GetTrainedModel(string projectName, string trainedModelLabel) { throw null; } public virtual Azure.Pageable GetTrainedModels(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetTrainedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTrainedModels(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetTrainingConfigVersions(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTrainingConfigVersions(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetTrainingConfigVersions(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } - public virtual Azure.AsyncPageable GetTrainingConfigVersionsAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTrainingConfigVersionsAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetTrainingConfigVersionsAsync(string projectKind, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Pageable GetTrainingJobs(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.Pageable GetTrainingJobs(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTrainingJobs(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount, int? skip, int? maxpagesize, Azure.RequestContext context) { throw null; } - public virtual Azure.AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ConversationAnalysisAuthoringClientOptions : Azure.Core.ClientOptions { @@ -111,6 +63,106 @@ public enum ServiceVersion V2024_11_15_Preview = 3, } } + public static partial class ConversationAnalysisAuthoringModelFactory + { + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource ConversationAuthoringAssignedDeploymentResource(Azure.Core.ResourceIdentifier resourceId = null, Azure.Core.AzureLocation region = default(Azure.Core.AzureLocation)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentMetadata ConversationAuthoringAssignedProjectDeploymentMetadata(string deploymentName = null, System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiresOn = default(System.DateTimeOffset)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentsMetadata ConversationAuthoringAssignedProjectDeploymentsMetadata(string projectName = null, System.Collections.Generic.IEnumerable deploymentsMetadata = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixCell ConversationAuthoringConfusionMatrixCell(float normalizedValue = 0f, float rawValue = 0f) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixRow ConversationAuthoringConfusionMatrixRow(System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectState ConversationAuthoringCopyProjectState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails ConversationAuthoringCreateDeploymentDetails(string trainedModelLabel = null, System.Collections.Generic.IEnumerable assignedResourceIds = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails ConversationAuthoringCreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentDeleteFromResourcesState ConversationAuthoringDeploymentDeleteFromResourcesState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResource ConversationAuthoringDeploymentResource(string resourceId = null, string region = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResourcesState ConversationAuthoringDeploymentResourcesState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentState ConversationAuthoringDeploymentState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEntityEvalSummary ConversationAuthoringEntityEvalSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvalSummary ConversationAuthoringEvalSummary(Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary entitiesEvaluation = null, Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary intentsEvaluation = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails evaluationOptions = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult ConversationAuthoringEvaluationJobResult(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails evaluationDetails = null, string modelLabel = null, string trainingConfigVersion = null, int percentComplete = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationState ConversationAuthoringEvaluationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult result = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelState ConversationAuthoringExportedModelState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject ConversationAuthoringExportedProject(string projectFileVersion = null, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType = default(Azure.AI.Language.Conversations.Authoring.StringIndexType), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails metadata = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset assets = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedTrainedModel ConversationAuthoringExportedTrainedModel(string exportedModelName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastExportedModelOn = default(System.DateTimeOffset), System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportProjectState ConversationAuthoringExportProjectState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, string resultUri = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringImportProjectState ConversationAuthoringImportProjectState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringLoadSnapshotState ConversationAuthoringLoadSnapshotState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringPrebuiltEntity ConversationAuthoringPrebuiltEntity(string category = null, string description = null, string examples = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeletionState ConversationAuthoringProjectDeletionState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeployment ConversationAuthoringProjectDeployment(string deploymentName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, System.Collections.Generic.IEnumerable assignedResources = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectMetadata ConversationAuthoringProjectMetadata(System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastModifiedOn = default(System.DateTimeOffset), System.DateTimeOffset? lastTrainedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastDeployedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel ConversationAuthoringProjectTrainedModel(string label = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), int lastTrainingDurationInSeconds = 0, System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, bool hasSnapshot = false) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState ConversationAuthoringSubTrainingState(int percentComplete = 0, System.DateTimeOffset? startedOn = default(System.DateTimeOffset?), System.DateTimeOffset? endedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage ConversationAuthoringSupportedLanguage(string languageName = null, string languageCode = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsState ConversationAuthoringSwapDeploymentsState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingConfigVersion ConversationAuthoringTrainingConfigVersion(string trainingConfigVersion = null, System.DateTimeOffset modelExpirationDate = default(System.DateTimeOffset)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails ConversationAuthoringTrainingJobDetails(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails evaluationOptions = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult ConversationAuthoringTrainingJobResult(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState trainingStatus = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState evaluationStatus = null, System.DateTimeOffset? estimatedEndOn = default(System.DateTimeOffset?)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingState ConversationAuthoringTrainingState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult result = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationExportedEntity ConversationExportedEntity(string category = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode? compositionMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList entities = null, System.Collections.Generic.IEnumerable prebuilts = null, Azure.AI.Language.Conversations.Authoring.ExportedEntityRegex regex = null, System.Collections.Generic.IEnumerable requiredComponents = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ConversationExportedUtterance ConversationExportedUtterance(System.Collections.Generic.IEnumerable entities = null, string text = null, string language = null, string intent = null, Azure.AI.Language.Conversations.Authoring.DatasetType? dataset = default(Azure.AI.Language.Conversations.Authoring.DatasetType?)) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary entities = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestrationDetails ExportedConversationOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestration conversationOrchestration = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration ExportedLuisOrchestration(System.Guid appId = default(System.Guid), string appVersion = null, string slotName = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestrationDetails ExportedLuisOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration luisOrchestration = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestrationDetails ExportedQuestionAnsweringOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestration questionAnsweringOrchestration = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.IntentEvaluationSummary IntentEvaluationSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary intents = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedIntent OrchestrationExportedIntent(Azure.AI.Language.Conversations.Authoring.ExportedOrchestrationDetails orchestration = null, string category = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedUtterance OrchestrationExportedUtterance(string text = null, string language = null, string intent = null, string dataset = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult UtteranceEntitiesEvaluationResult(System.Collections.Generic.IEnumerable expectedEntities = null, System.Collections.Generic.IEnumerable predictedEntities = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceEntityEvaluationResult UtteranceEntityEvaluationResult(string category = null, int offset = 0, int length = 0) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceEvaluationResult UtteranceEvaluationResult(string text = null, string language = null, Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult entitiesResult = null, Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult intentsResult = null) { throw null; } + public static Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult UtteranceIntentsEvaluationResult(string expectedIntent = null, string predictedIntent = null) { throw null; } + } + public partial class ConversationAuthoringAssignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringAssignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable metadata) { } + public System.Collections.Generic.IList Metadata { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringAssignedDeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringAssignedDeploymentResource() { } + public Azure.Core.AzureLocation Region { get { throw null; } } + public Azure.Core.ResourceIdentifier ResourceId { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedDeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringAssignedProjectDeploymentMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringAssignedProjectDeploymentMetadata() { } + public System.DateTimeOffset DeploymentExpiresOn { get { throw null; } } + public string DeploymentName { get { throw null; } } + public System.DateTimeOffset LastDeployedOn { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringAssignedProjectDeploymentsMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringAssignedProjectDeploymentsMetadata() { } + public System.Collections.Generic.IReadOnlyList DeploymentsMetadata { get { throw null; } } + public string ProjectName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignedProjectDeploymentsMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringCompositionMode : System.IEquatable { @@ -154,6 +206,80 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class ConversationAuthoringCopyProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringCopyProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, System.DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion) { } + public string AccessToken { get { throw null; } set { } } + public System.DateTimeOffset ExpiresAt { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } set { } } + public string TargetProjectName { get { throw null; } set { } } + public string TargetResourceId { get { throw null; } set { } } + public string TargetResourceRegion { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringCopyProjectState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringCopyProjectState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringCreateDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringCreateDeploymentDetails(string trainedModelLabel) { } + public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } + public string TrainedModelLabel { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringCreateProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringCreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string language) { } + public ConversationAuthoringCreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string projectName, string language) { } + public string Description { get { throw null; } set { } } + public string Language { get { throw null; } } + public bool? Multilingual { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } + public string ProjectName { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings Settings { get { throw null; } set { } } + public string StorageInputContainerName { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeleteDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringDeleteDeploymentDetails() { } + public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringDeployment { public readonly string _deploymentName; @@ -164,26 +290,146 @@ protected ConversationAuthoringDeployment() { } public virtual Azure.Operation DeleteDeployment(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteDeploymentAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task DeleteDeploymentAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteDeploymentFromResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteDeploymentFromResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeleteDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteDeploymentFromResourcesAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation DeployProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation DeployProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation DeployProject(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task DeployProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeployProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateDeploymentDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeployProjectAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetDeployment(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetDeployment(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetDeployment(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetDeploymentAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetDeploymentAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetDeploymentAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetDeploymentDeleteFromResourcesStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetDeploymentDeleteFromResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetDeploymentDeleteFromResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetDeploymentDeleteFromResourcesStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetDeploymentDeleteFromResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetDeploymentDeleteFromResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetDeploymentStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetDeploymentStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetDeploymentStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetDeploymentStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetDeploymentStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetDeploymentStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ConversationAuthoringDeploymentDeleteFromResourcesState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentDeleteFromResourcesState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentDeleteFromResourcesState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentDeleteFromResourcesState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentResource() { } + public string Region { get { throw null; } } + public string ResourceId { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeploymentResourcesState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentResourcesState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResourcesState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentResourcesState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringDeploymentState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringDeploymentState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringDeploymentState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEntityEvalSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEntityEvalSummary() { } + public double F1 { get { throw null; } } + public int FalseNegativeCount { get { throw null; } } + public int FalsePositiveCount { get { throw null; } } + public double Precision { get { throw null; } } + public double Recall { get { throw null; } } + public int TrueNegativeCount { get { throw null; } } + public int TruePositiveCount { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEntityEvalSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEntityEvalSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEvalSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEvalSummary() { } + public Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluation { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails EvaluationOptions { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluation { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvalSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvalSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEvaluationDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringEvaluationDetails() { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind? Kind { get { throw null; } set { } } + public int? TestingSplitPercentage { get { throw null; } set { } } + public int? TrainingSplitPercentage { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringEvaluationJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEvaluationJobResult() { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails EvaluationDetails { get { throw null; } } + public string ModelLabel { get { throw null; } } + public int PercentComplete { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringEvaluationKind : System.IEquatable @@ -203,28 +449,144 @@ protected ConversationAuthoringDeployment() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringEvaluationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringEvaluationState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationJobResult Result { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedEntityList : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedEntityList() { } + public System.Collections.Generic.IList Sublists { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedEntityListSynonym : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedEntityListSynonym() { } + public string Language { get { throw null; } set { } } + public System.Collections.Generic.IList Values { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityListSynonym System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityListSynonym System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedEntitySublist : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedEntitySublist() { } + public string ListKey { get { throw null; } set { } } + public System.Collections.Generic.IList Synonyms { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntitySublist System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntitySublist System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringExportedModel { public readonly string _exportedModelName; public readonly string _projectName; protected ConversationAuthoringExportedModel() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Operation CreateOrUpdateExportedModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation CreateOrUpdateExportedModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation CreateOrUpdateExportedModel(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateExportedModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateExportedModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateOrUpdateExportedModelAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation DeleteExportedModel(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation DeleteExportedModel(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteExportedModelAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteExportedModelAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetExportedModel(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetExportedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetExportedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetExportedModelAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetExportedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetExportedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetExportedModelJobStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetExportedModelJobStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetExportedModelJobStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetExportedModelJobStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetExportedModelJobStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetExportedModelJobStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ConversationAuthoringExportedModelDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedModelDetails(string trainedModelLabel) { } + public string TrainedModelLabel { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedModelState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringExportedModelState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedModelState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedPrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedPrebuiltEntity(string category) { } + public string Category { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedPrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedPrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportedProject : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringExportedProject(string projectFileVersion, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails metadata) { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset Assets { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails Metadata { get { throw null; } } + public string ProjectFileVersion { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.StringIndexType StringIndexType { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public abstract partial class ConversationAuthoringExportedProjectAsset : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + protected ConversationAuthoringExportedProjectAsset() { } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringExportedProjectFormat : System.IEquatable @@ -244,6 +606,74 @@ protected ConversationAuthoringExportedModel() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringExportedTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringExportedTrainedModel() { } + public string ExportedModelName { get { throw null; } } + public System.DateTimeOffset LastExportedModelOn { get { throw null; } } + public System.DateTimeOffset LastTrainedOn { get { throw null; } } + public System.DateTimeOffset ModelExpiredOn { get { throw null; } } + public string ModelId { get { throw null; } } + public string ModelTrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringExportProjectState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringExportProjectState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public string ResultUri { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportProjectState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportProjectState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringImportProjectState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringImportProjectState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringImportProjectState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringImportProjectState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringLoadSnapshotState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringLoadSnapshotState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringLoadSnapshotState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringLoadSnapshotState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringOperationStatus : System.IEquatable { @@ -267,30 +697,43 @@ protected ConversationAuthoringExportedModel() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringPrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringPrebuiltEntity() { } + public string Category { get { throw null; } } + public string Description { get { throw null; } } + public string Examples { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringPrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringPrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringProject { public readonly string _projectName; protected ConversationAuthoringProject() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Operation AssignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation AssignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation AssignDeploymentResources(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task AssignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.AssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AssignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringAssignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AssignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response AuthorizeProjectCopy(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AuthorizeProjectCopy(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response AuthorizeProjectCopy(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> AuthorizeProjectCopyAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AuthorizeProjectCopyAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = default(bool?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task AuthorizeProjectCopyAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation CancelTrainingJob(Azure.WaitUntil waitUntil, string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Operation CancelTrainingJob(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation CancelTrainingJob(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CancelTrainingJobAsync(Azure.WaitUntil waitUntil, string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> CancelTrainingJobAsync(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation CopyProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CancelTrainingJobAsync(Azure.WaitUntil waitUntil, string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation CopyProject(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation CopyProject(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task CopyProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.CopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CopyProjectAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CopyProjectAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Response CreateProject(Azure.AI.Language.Conversations.Authoring.CreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CreateProject(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateProject(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateProjectAsync(Azure.AI.Language.Conversations.Authoring.CreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CreateProjectAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCreateProjectDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateProjectAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Operation DeleteProject(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } public virtual System.Threading.Tasks.Task DeleteProjectAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context = null) { throw null; } @@ -299,58 +742,92 @@ protected ConversationAuthoringProject() { } public virtual System.Threading.Tasks.Task ExportAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), string assetKind = null, string trainedModelLabel = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ExportAsync(Azure.WaitUntil waitUntil, string stringIndexType, string exportedProjectFormat = null, string assetKind = null, string trainedModelLabel = null, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetAssignDeploymentResourcesStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetAssignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetAssignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetAssignDeploymentResourcesStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetAssignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAssignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetCopyProjectStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetCopyProjectStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetCopyProjectStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetCopyProjectStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetCopyProjectStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetCopyProjectStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetExportStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetExportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetExportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetExportStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetExportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetExportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetImportStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetImportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetImportStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetImportStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetImportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetImportStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetProject(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetProject(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetProject(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetProjectAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetProjectAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetProjectAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetProjectDeletionStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetProjectDeletionStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetProjectDeletionStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetProjectDeletionStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetProjectDeletionStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetProjectDeletionStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetSwapDeploymentsStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetSwapDeploymentsStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetSwapDeploymentsStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetSwapDeploymentsStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetSwapDeploymentsStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSwapDeploymentsStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetTrainingStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetTrainingStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTrainingStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetTrainingStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetTrainingStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTrainingStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetUnassignDeploymentResourcesStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetUnassignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetUnassignDeploymentResourcesStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetUnassignDeploymentResourcesStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetUnassignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation Import(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetUnassignDeploymentResourcesStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation Import(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation Import(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string exportedProjectFormat = null, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task ImportAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task ImportAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProject exportedProject, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat? exportedProjectFormat = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectFormat?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ImportAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string exportedProjectFormat = null, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation SwapDeployments(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation SwapDeployments(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation SwapDeployments(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task SwapDeploymentsAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SwapDeploymentsAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SwapDeploymentsAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation Train(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.TrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation Train(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation Train(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> TrainAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.TrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> TrainAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> TrainAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual Azure.Operation UnassignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation UnassignDeploymentResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation UnassignDeploymentResources(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task UnassignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task UnassignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UnassignDeploymentResourcesAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } } + public partial class ConversationAuthoringProjectDeletionState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectDeletionState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeletionState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeletionState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringProjectDeployment : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectDeployment() { } + public System.Collections.Generic.IReadOnlyList AssignedResources { get { throw null; } } + public System.DateTimeOffset DeploymentExpiredOn { get { throw null; } } + public string DeploymentName { get { throw null; } } + public System.DateTimeOffset LastDeployedOn { get { throw null; } } + public System.DateTimeOffset LastTrainedOn { get { throw null; } } + public string ModelId { get { throw null; } } + public string ModelTrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeployment System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectDeployment System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringProjectKind : System.IEquatable { @@ -370,6 +847,123 @@ protected ConversationAuthoringProject() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringProjectMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectMetadata() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public string Description { get { throw null; } } + public string Language { get { throw null; } } + public System.DateTimeOffset? LastDeployedOn { get { throw null; } } + public System.DateTimeOffset LastModifiedOn { get { throw null; } } + public System.DateTimeOffset? LastTrainedOn { get { throw null; } } + public bool? Multilingual { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } + public string ProjectName { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings Settings { get { throw null; } } + public string StorageInputContainerName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringProjectSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringProjectSettings(float confidenceThreshold) { } + public float ConfidenceThreshold { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectSettings System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringProjectTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringProjectTrainedModel() { } + public bool HasSnapshot { get { throw null; } } + public string Label { get { throw null; } } + public System.DateTimeOffset LastTrainedOn { get { throw null; } } + public int LastTrainingDurationInSeconds { get { throw null; } } + public System.DateTimeOffset ModelExpiredOn { get { throw null; } } + public string ModelId { get { throw null; } } + public string ModelTrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringResourceMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringResourceMetadata(string azureResourceId, string customDomain, string region) { } + public string AzureResourceId { get { throw null; } } + public string CustomDomain { get { throw null; } } + public string Region { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringResourceMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringResourceMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSubTrainingState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringSubTrainingState() { } + public System.DateTimeOffset? EndedOn { get { throw null; } } + public int PercentComplete { get { throw null; } } + public System.DateTimeOffset? StartedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSupportedLanguage : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringSupportedLanguage() { } + public string LanguageCode { get { throw null; } } + public string LanguageName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSwapDeploymentsDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringSwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName) { } + public string FirstDeploymentName { get { throw null; } } + public string SecondDeploymentName { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringSwapDeploymentsState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringSwapDeploymentsState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSwapDeploymentsState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationAuthoringTrainedModel { public readonly string _projectName; @@ -380,35 +974,77 @@ protected ConversationAuthoringTrainedModel() { } public virtual Azure.Response DeleteTrainedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteTrainedModelAsync(Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task DeleteTrainedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Operation EvaluateModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.EvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Operation EvaluateModel(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation EvaluateModel(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } - public virtual System.Threading.Tasks.Task> EvaluateModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.EvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> EvaluateModelAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails details, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> EvaluateModelAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetEvaluationStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetEvaluationStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetEvaluationStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetEvaluationStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetEvaluationStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetEvaluationStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetLoadSnapshotStatus(string jobId, Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetLoadSnapshotStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetLoadSnapshotStatus(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetLoadSnapshotStatusAsync(string jobId, Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetLoadSnapshotStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetLoadSnapshotStatusAsync(string jobId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetModelEvaluationResults(Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetModelEvaluationResults(string stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.AsyncPageable GetModelEvaluationResultsAsync(Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetModelEvaluationResultsAsync(string stringIndexType, int? maxCount = default(int?), int? skip = default(int?), int? maxpagesize = default(int?), Azure.RequestContext context = null) { throw null; } public virtual Azure.Response GetModelEvaluationSummary(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetModelEvaluationSummary(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetModelEvaluationSummary(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetModelEvaluationSummaryAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetModelEvaluationSummaryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetModelEvaluationSummaryAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetTrainedModel(Azure.RequestContext context) { throw null; } - public virtual Azure.Response GetTrainedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetTrainedModel(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task GetTrainedModelAsync(Azure.RequestContext context) { throw null; } - public virtual System.Threading.Tasks.Task> GetTrainedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTrainedModelAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Operation LoadSnapshot(Azure.WaitUntil waitUntil, Azure.RequestContext context) { throw null; } public virtual Azure.Operation LoadSnapshot(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task LoadSnapshotAsync(Azure.WaitUntil waitUntil, Azure.RequestContext context) { throw null; } public virtual System.Threading.Tasks.Task LoadSnapshotAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } + public partial class ConversationAuthoringTrainingConfigVersion : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringTrainingConfigVersion() { } + public System.DateTimeOffset ModelExpirationDate { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingConfigVersion System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingConfigVersion System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringTrainingJobDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringTrainingJobDetails(string modelLabel, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode) { } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationDetails EvaluationOptions { get { throw null; } set { } } + public string ModelLabel { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } set { } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode TrainingMode { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringTrainingJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringTrainingJobResult() { } + public System.DateTimeOffset? EstimatedEndOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState EvaluationStatus { get { throw null; } } + public string ModelLabel { get { throw null; } } + public string TrainingConfigVersion { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? TrainingMode { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSubTrainingState TrainingStatus { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConversationAuthoringTrainingMode : System.IEquatable { @@ -427,13 +1063,42 @@ protected ConversationAuthoringTrainedModel() { } public static bool operator !=(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode left, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode right) { throw null; } public override string ToString() { throw null; } } + public partial class ConversationAuthoringTrainingState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + internal ConversationAuthoringTrainingState() { } + public System.DateTimeOffset CreatedOn { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } + public System.DateTimeOffset? ExpiresOn { get { throw null; } } + public string JobId { get { throw null; } } + public System.DateTimeOffset LastUpdatedOn { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingJobResult Result { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } + public partial class ConversationAuthoringUnassignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public ConversationAuthoringUnassignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable assignedResourceIds) { } + public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.AI.Language.Conversations.Authoring.ConversationAuthoringUnassignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class ConversationExportedEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ConversationExportedEntity(string category) { } public string Category { get { throw null; } } public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode? CompositionMode { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ExportedEntityList Entities { get { throw null; } set { } } - public System.Collections.Generic.IList Prebuilts { get { throw null; } } + public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedEntityList Entities { get { throw null; } set { } } + public System.Collections.Generic.IList Prebuilts { get { throw null; } } public Azure.AI.Language.Conversations.Authoring.ExportedEntityRegex Regex { get { throw null; } set { } } public System.Collections.Generic.IList RequiredComponents { get { throw null; } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -454,7 +1119,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ConversationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + public partial class ConversationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ConversationExportedProjectAsset() { } public System.Collections.Generic.IList Entities { get { throw null; } } @@ -482,68 +1147,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class CopyProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public CopyProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, System.DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion) { } - public string AccessToken { get { throw null; } set { } } - public System.DateTimeOffset ExpiresAt { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } set { } } - public string TargetProjectName { get { throw null; } set { } } - public string TargetResourceId { get { throw null; } set { } } - public string TargetResourceRegion { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class CopyProjectOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal CopyProjectOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CopyProjectOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class CreateDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public CreateDeploymentDetails(string trainedModelLabel) { } - public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } - public string TrainedModelLabel { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class CreateProjectDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public CreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string language) { } - public string Description { get { throw null; } set { } } - public string Language { get { throw null; } } - public bool? Multilingual { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } - public string ProjectName { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ProjectSettings Settings { get { throw null; } set { } } - public string StorageInputContainerName { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateProjectDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.CreateProjectDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DatasetType : System.IEquatable { @@ -556,91 +1159,17 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } - public static implicit operator Azure.AI.Language.Conversations.Authoring.DatasetType (string value) { throw null; } - public static bool operator !=(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } - public override string ToString() { throw null; } - } - public partial class DeleteDeploymentDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public DeleteDeploymentDetails() { } - public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeleteDeploymentDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentDeleteFromResourcesOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentDeleteFromResourcesOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentDeleteFromResourcesOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentDeleteFromResourcesOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentResource : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentResource() { } - public string Region { get { throw null; } } - public string ResourceId { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResource System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResource System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class DeploymentResourcesOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal DeploymentResourcesOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResourcesOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.DeploymentResourcesOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } + public static implicit operator Azure.AI.Language.Conversations.Authoring.DatasetType (string value) { throw null; } + public static bool operator !=(Azure.AI.Language.Conversations.Authoring.DatasetType left, Azure.AI.Language.Conversations.Authoring.DatasetType right) { throw null; } + public override string ToString() { throw null; } } public partial class EntitiesEvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal EntitiesEvaluationSummary() { } public System.Collections.Generic.IReadOnlyDictionary ConfusionMatrix { get { throw null; } } - public System.Collections.Generic.IReadOnlyDictionary Entities { get { throw null; } } + public System.Collections.Generic.IReadOnlyDictionary Entities { get { throw null; } } public float MacroF1 { get { throw null; } } public float MacroPrecision { get { throw null; } } public float MacroRecall { get { throw null; } } @@ -654,81 +1183,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class EntityEvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EntityEvaluationSummary() { } - public double F1 { get { throw null; } } - public int FalseNegativeCount { get { throw null; } } - public int FalsePositiveCount { get { throw null; } } - public double Precision { get { throw null; } } - public double Recall { get { throw null; } } - public int TrueNegativeCount { get { throw null; } } - public int TruePositiveCount { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EntityEvaluationSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EntityEvaluationSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public EvaluationDetails() { } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringEvaluationKind? Kind { get { throw null; } set { } } - public int? TestingSplitPercentage { get { throw null; } set { } } - public int? TrainingSplitPercentage { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EvaluationJobResult() { } - public Azure.AI.Language.Conversations.Authoring.EvaluationDetails EvaluationDetails { get { throw null; } } - public string ModelLabel { get { throw null; } } - public int PercentComplete { get { throw null; } } - public string TrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EvaluationOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.EvaluationJobResult Result { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class EvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal EvaluationSummary() { } - public Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluation { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.EvaluationDetails EvaluationOptions { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluation { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationSummary System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.EvaluationSummary System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedConversationOrchestration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedConversationOrchestration(string projectName, string deploymentName) { } @@ -752,29 +1206,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedEntityList : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedEntityList() { } - public System.Collections.Generic.IList Sublists { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityList System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityList System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ExportedEntityListSynonym : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedEntityListSynonym() { } - public string Language { get { throw null; } set { } } - public System.Collections.Generic.IList Values { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityListSynonym System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntityListSynonym System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedEntityRegex : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedEntityRegex() { } @@ -799,18 +1230,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedEntitySublist : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedEntitySublist() { } - public string ListKey { get { throw null; } set { } } - public System.Collections.Generic.IList Synonyms { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntitySublist System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedEntitySublist System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedLuisOrchestration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedLuisOrchestration(System.Guid appId) { } @@ -835,34 +1254,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedModelDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedModelDetails(string trainedModelLabel) { } - public string TrainedModelLabel { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ExportedModelOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ExportedModelOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedModelOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public abstract partial class ExportedOrchestrationDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { protected ExportedOrchestrationDetails() { } @@ -873,41 +1264,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedPrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedPrebuiltEntity(string category) { } - public string Category { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedPrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedPrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ExportedProject : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ExportedProject(string projectFileVersion, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType, Azure.AI.Language.Conversations.Authoring.CreateProjectDetails metadata) { } - public Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset Assets { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.CreateProjectDetails Metadata { get { throw null; } } - public string ProjectFileVersion { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.StringIndexType StringIndexType { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProject System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProject System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public abstract partial class ExportedProjectAsset : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - protected ExportedProjectAsset() { } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedQuestionAnsweringOrchestration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedQuestionAnsweringOrchestration(string projectName) { } @@ -930,22 +1286,6 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportedTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ExportedTrainedModel() { } - public string ExportedModelName { get { throw null; } } - public System.DateTimeOffset LastExportedModelOn { get { throw null; } } - public System.DateTimeOffset LastTrainedOn { get { throw null; } } - public System.DateTimeOffset ModelExpiredOn { get { throw null; } } - public string ModelId { get { throw null; } } - public string ModelTrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportedTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class ExportedUtteranceEntityLabel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ExportedUtteranceEntityLabel(string category, int offset, int length) { } @@ -959,41 +1299,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class ExportProjectOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ExportProjectOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public string ResultUri { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportProjectOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ExportProjectOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ImportProjectOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ImportProjectOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ImportProjectOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ImportProjectOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class IntentEvaluationSummary : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal IntentEvaluationSummary() { } @@ -1029,23 +1334,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class LoadSnapshotOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal LoadSnapshotOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.LoadSnapshotOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.LoadSnapshotOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class OrchestrationExportedIntent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public OrchestrationExportedIntent(string category) { } @@ -1058,7 +1346,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class OrchestrationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + public partial class OrchestrationExportedProjectAsset : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringExportedProjectAsset, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public OrchestrationExportedProjectAsset() { } public System.Collections.Generic.IList Intents { get { throw null; } } @@ -1084,115 +1372,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } - public partial class PrebuiltEntity : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal PrebuiltEntity() { } - public string Category { get { throw null; } } - public string Description { get { throw null; } } - public string Examples { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.PrebuiltEntity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.PrebuiltEntity System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectDeletionOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectDeletionOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeletionOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeletionOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectDeployment : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectDeployment() { } - public System.Collections.Generic.IReadOnlyList AssignedResources { get { throw null; } } - public System.DateTimeOffset DeploymentExpiredOn { get { throw null; } } - public string DeploymentName { get { throw null; } } - public System.DateTimeOffset LastDeployedOn { get { throw null; } } - public System.DateTimeOffset LastTrainedOn { get { throw null; } } - public string ModelId { get { throw null; } } - public string ModelTrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeployment System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectDeployment System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectMetadata() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public string Description { get { throw null; } } - public string Language { get { throw null; } } - public System.DateTimeOffset? LastDeployedOn { get { throw null; } } - public System.DateTimeOffset LastModifiedOn { get { throw null; } } - public System.DateTimeOffset? LastTrainedOn { get { throw null; } } - public bool? Multilingual { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind ProjectKind { get { throw null; } } - public string ProjectName { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ProjectSettings Settings { get { throw null; } } - public string StorageInputContainerName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ProjectSettings(float confidenceThreshold) { } - public float ConfidenceThreshold { get { throw null; } set { } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectSettings System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectSettings System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ProjectTrainedModel : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal ProjectTrainedModel() { } - public bool HasSnapshot { get { throw null; } } - public string Label { get { throw null; } } - public System.DateTimeOffset LastTrainedOn { get { throw null; } } - public int LastTrainingDurationInSeconds { get { throw null; } } - public System.DateTimeOffset ModelExpiredOn { get { throw null; } } - public string ModelId { get { throw null; } } - public string ModelTrainingConfigVersion { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectTrainedModel System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ProjectTrainedModel System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class ResourceMetadata : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public ResourceMetadata(string azureResourceId, string customDomain, string region) { } - public string AzureResourceId { get { throw null; } } - public string CustomDomain { get { throw null; } } - public string Region { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ResourceMetadata System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.ResourceMetadata System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StringIndexType : System.IEquatable { @@ -1212,132 +1391,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static bool operator !=(Azure.AI.Language.Conversations.Authoring.StringIndexType left, Azure.AI.Language.Conversations.Authoring.StringIndexType right) { throw null; } public override string ToString() { throw null; } } - public partial class SubTrainingOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal SubTrainingOperationState() { } - public System.DateTimeOffset? EndedOn { get { throw null; } } - public int PercentComplete { get { throw null; } } - public System.DateTimeOffset? StartedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class SupportedLanguage : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal SupportedLanguage() { } - public string LanguageCode { get { throw null; } } - public string LanguageName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SupportedLanguage System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SupportedLanguage System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class SwapDeploymentsDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public SwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName) { } - public string FirstDeploymentName { get { throw null; } } - public string SecondDeploymentName { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class SwapDeploymentsOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal SwapDeploymentsOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.SwapDeploymentsOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingConfigVersion : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal TrainingConfigVersion() { } - public System.DateTimeOffset ModelExpirationDate { get { throw null; } } - public string TrainingConfigVersionProperty { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingConfigVersion System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingConfigVersion System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingJobDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public TrainingJobDetails(string modelLabel, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode) { } - public Azure.AI.Language.Conversations.Authoring.EvaluationDetails EvaluationOptions { get { throw null; } set { } } - public string ModelLabel { get { throw null; } } - public string TrainingConfigVersion { get { throw null; } set { } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode TrainingMode { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingJobResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal TrainingJobResult() { } - public System.DateTimeOffset? EstimatedEndOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState EvaluationStatus { get { throw null; } } - public string ModelLabel { get { throw null; } } - public string TrainingConfigVersion { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? TrainingMode { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState TrainingStatus { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobResult System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingJobResult System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class TrainingOperationState : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - internal TrainingOperationState() { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Errors { get { throw null; } } - public System.DateTimeOffset? ExpiresOn { get { throw null; } } - public string JobId { get { throw null; } } - public System.DateTimeOffset LastUpdatedOn { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.TrainingJobResult Result { get { throw null; } } - public Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus Status { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Warnings { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingOperationState System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.TrainingOperationState System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } - public partial class UnassignDeploymentResourcesDetails : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel - { - public UnassignDeploymentResourcesDetails(System.Collections.Generic.IEnumerable assignedResourceIds) { } - public System.Collections.Generic.IList AssignedResourceIds { get { throw null; } } - protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } - Azure.AI.Language.Conversations.Authoring.UnassignDeploymentResourcesDetails System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - } public partial class UtteranceEntitiesEvaluationResult : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal UtteranceEntitiesEvaluationResult() { } @@ -1390,61 +1443,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } } -namespace Azure.AI.Language.Conversations.Authoring.Models -{ - public static partial class ConversationAnalysisAuthoringModelFactory - { - public static Azure.AI.Language.Conversations.Authoring.AssignedDeploymentResource AssignedDeploymentResource(Azure.Core.ResourceIdentifier resourceId = null, Azure.Core.AzureLocation region = default(Azure.Core.AzureLocation)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentMetadata AssignedProjectDeploymentMetadata(string deploymentName = null, System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiresOn = default(System.DateTimeOffset)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.AssignedProjectDeploymentsMetadata AssignedProjectDeploymentsMetadata(string projectName = null, System.Collections.Generic.IEnumerable deploymentsMetadata = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixCell ConversationAuthoringConfusionMatrixCell(float normalizedValue = 0f, float rawValue = 0f) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationAuthoringConfusionMatrixRow ConversationAuthoringConfusionMatrixRow(System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationExportedEntity ConversationExportedEntity(string category = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode? compositionMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCompositionMode?), Azure.AI.Language.Conversations.Authoring.ExportedEntityList entities = null, System.Collections.Generic.IEnumerable prebuilts = null, Azure.AI.Language.Conversations.Authoring.ExportedEntityRegex regex = null, System.Collections.Generic.IEnumerable requiredComponents = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ConversationExportedUtterance ConversationExportedUtterance(System.Collections.Generic.IEnumerable entities = null, string text = null, string language = null, string intent = null, Azure.AI.Language.Conversations.Authoring.DatasetType? dataset = default(Azure.AI.Language.Conversations.Authoring.DatasetType?)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.CopyProjectOperationState CopyProjectOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.CreateDeploymentDetails CreateDeploymentDetails(string trainedModelLabel = null, System.Collections.Generic.IEnumerable assignedResourceIds = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.CreateProjectDetails CreateProjectDetails(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentDeleteFromResourcesOperationState DeploymentDeleteFromResourcesOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentOperationState DeploymentOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentResource DeploymentResource(string resourceId = null, string region = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.DeploymentResourcesOperationState DeploymentResourcesOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary EntitiesEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary entities = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EntityEvaluationSummary EntityEvaluationSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EvaluationJobResult EvaluationJobResult(Azure.AI.Language.Conversations.Authoring.EvaluationDetails evaluationDetails = null, string modelLabel = null, string trainingConfigVersion = null, int percentComplete = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EvaluationOperationState EvaluationOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.EvaluationJobResult result = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.EvaluationSummary EvaluationSummary(Azure.AI.Language.Conversations.Authoring.EntitiesEvaluationSummary entitiesEvaluation = null, Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary intentsEvaluation = null, Azure.AI.Language.Conversations.Authoring.EvaluationDetails evaluationOptions = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestrationDetails ExportedConversationOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedConversationOrchestration conversationOrchestration = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration ExportedLuisOrchestration(System.Guid appId = default(System.Guid), string appVersion = null, string slotName = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestrationDetails ExportedLuisOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedLuisOrchestration luisOrchestration = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedModelOperationState ExportedModelOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedProject ExportedProject(string projectFileVersion = null, Azure.AI.Language.Conversations.Authoring.StringIndexType stringIndexType = default(Azure.AI.Language.Conversations.Authoring.StringIndexType), Azure.AI.Language.Conversations.Authoring.CreateProjectDetails metadata = null, Azure.AI.Language.Conversations.Authoring.ExportedProjectAsset assets = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestrationDetails ExportedQuestionAnsweringOrchestrationDetails(Azure.AI.Language.Conversations.Authoring.ExportedQuestionAnsweringOrchestration questionAnsweringOrchestration = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportedTrainedModel ExportedTrainedModel(string exportedModelName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastExportedModelOn = default(System.DateTimeOffset), System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ExportProjectOperationState ExportProjectOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, string resultUri = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ImportProjectOperationState ImportProjectOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.IntentEvaluationSummary IntentEvaluationSummary(double f1 = 0, double precision = 0, double recall = 0, int truePositiveCount = 0, int trueNegativeCount = 0, int falsePositiveCount = 0, int falseNegativeCount = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.IntentsEvaluationSummary IntentsEvaluationSummary(System.Collections.Generic.IReadOnlyDictionary confusionMatrix = null, System.Collections.Generic.IReadOnlyDictionary intents = null, float microF1 = 0f, float microPrecision = 0f, float microRecall = 0f, float macroF1 = 0f, float macroPrecision = 0f, float macroRecall = 0f) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.LoadSnapshotOperationState LoadSnapshotOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedIntent OrchestrationExportedIntent(Azure.AI.Language.Conversations.Authoring.ExportedOrchestrationDetails orchestration = null, string category = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.OrchestrationExportedUtterance OrchestrationExportedUtterance(string text = null, string language = null, string intent = null, string dataset = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.PrebuiltEntity PrebuiltEntity(string category = null, string description = null, string examples = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectDeletionOperationState ProjectDeletionOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectDeployment ProjectDeployment(string deploymentName = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), System.DateTimeOffset lastDeployedOn = default(System.DateTimeOffset), System.DateTimeOffset deploymentExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, System.Collections.Generic.IEnumerable assignedResources = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectMetadata ProjectMetadata(System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastModifiedOn = default(System.DateTimeOffset), System.DateTimeOffset? lastTrainedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastDeployedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind), Azure.AI.Language.Conversations.Authoring.ProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = default(bool?), string description = null, string language = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.ProjectTrainedModel ProjectTrainedModel(string label = null, string modelId = null, System.DateTimeOffset lastTrainedOn = default(System.DateTimeOffset), int lastTrainingDurationInSeconds = 0, System.DateTimeOffset modelExpiredOn = default(System.DateTimeOffset), string modelTrainingConfigVersion = null, bool hasSnapshot = false) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState SubTrainingOperationState(int percentComplete = 0, System.DateTimeOffset? startedOn = default(System.DateTimeOffset?), System.DateTimeOffset? endedOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.SupportedLanguage SupportedLanguage(string languageName = null, string languageCode = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.SwapDeploymentsOperationState SwapDeploymentsOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingConfigVersion TrainingConfigVersion(string trainingConfigVersionProperty = null, System.DateTimeOffset modelExpirationDate = default(System.DateTimeOffset)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingJobDetails TrainingJobDetails(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode), Azure.AI.Language.Conversations.Authoring.EvaluationDetails evaluationOptions = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingJobResult TrainingJobResult(string modelLabel = null, string trainingConfigVersion = null, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode? trainingMode = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringTrainingMode?), Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState trainingStatus = null, Azure.AI.Language.Conversations.Authoring.SubTrainingOperationState evaluationStatus = null, System.DateTimeOffset? estimatedEndOn = default(System.DateTimeOffset?)) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.TrainingOperationState TrainingOperationState(string jobId = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset lastUpdatedOn = default(System.DateTimeOffset), System.DateTimeOffset? expiresOn = default(System.DateTimeOffset?), Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus status = default(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringOperationStatus), System.Collections.Generic.IEnumerable warnings = null, System.Collections.Generic.IEnumerable errors = null, Azure.AI.Language.Conversations.Authoring.TrainingJobResult result = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult UtteranceEntitiesEvaluationResult(System.Collections.Generic.IEnumerable expectedEntities = null, System.Collections.Generic.IEnumerable predictedEntities = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceEntityEvaluationResult UtteranceEntityEvaluationResult(string category = null, int offset = 0, int length = 0) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceEvaluationResult UtteranceEvaluationResult(string text = null, string language = null, Azure.AI.Language.Conversations.Authoring.UtteranceEntitiesEvaluationResult entitiesResult = null, Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult intentsResult = null) { throw null; } - public static Azure.AI.Language.Conversations.Authoring.UtteranceIntentsEvaluationResult UtteranceIntentsEvaluationResult(string expectedIntent = null, string predictedIntent = null) { throw null; } - } -} namespace Microsoft.Extensions.Azure { public static partial class ConversationsAuthoringClientBuilderExtensions diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeployments.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeployments.md index bc422e33a2f0..bff641687c66 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeployments.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeployments.md @@ -21,7 +21,7 @@ To swap two deployments, call SwapDeployments on the `ConversationAuthoringDeplo string projectName = "SampleProject"; string deploymentName1 = "deployment1"; string deploymentName2 = "deployment2"; -SwapDeploymentsDetails swapDetails = new SwapDeploymentsDetails(deploymentName1, deploymentName2); +ConversationAuthoringSwapDeploymentsDetails swapDetails = new ConversationAuthoringSwapDeploymentsDetails(deploymentName1, deploymentName2); ConversationAuthoringProject projectClient = client.GetProject(projectName); Operation operation = projectClient.SwapDeployments( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.md index 5c7d6edae2bc..58e54d2bcdee 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.md @@ -23,7 +23,7 @@ string deploymentName1 = "deployment1"; string deploymentName2 = "deployment2"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -SwapDeploymentsDetails swapDetails = new SwapDeploymentsDetails(deploymentName1, deploymentName2); +ConversationAuthoringSwapDeploymentsDetails swapDetails = new ConversationAuthoringSwapDeploymentsDetails(deploymentName1, deploymentName2); Operation operation = await projectClient.SwapDeploymentsAsync( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProject.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProject.md index 408ebc4e11e1..aa686d96c79f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProject.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProject.md @@ -23,7 +23,7 @@ string deploymentName = "staging"; ConversationAuthoringDeployment deploymentClient = client.GetDeployment(projectName, deploymentName); -CreateDeploymentDetails trainedModeDetails = new CreateDeploymentDetails("m1"); +ConversationAuthoringCreateDeploymentDetails trainedModeDetails = new ConversationAuthoringCreateDeploymentDetails("m1"); Operation operation = deploymentClient.DeployProject( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProjectAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProjectAsync.md index 9afb111aba47..51668905e6c3 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProjectAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample14_ConversationsAuthoring_DeployProjectAsync.md @@ -23,7 +23,7 @@ string deploymentName = "staging"; ConversationAuthoringDeployment deploymentClient = client.GetDeployment(projectName, deploymentName); -CreateDeploymentDetails trainedModeDetails = new CreateDeploymentDetails("m1"); +ConversationAuthoringCreateDeploymentDetails trainedModeDetails = new ConversationAuthoringCreateDeploymentDetails("m1"); Operation operation = await deploymentClient.DeployProjectAsync( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProject.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProject.md index 7fc42ed509d2..d714330d8ef0 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProject.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProject.md @@ -22,7 +22,7 @@ To create a new project synchronously, call CreateProject on the `ConversationAu ```C# Snippet:Sample1_ConversationsAuthoring_CreateProject string projectName = "MyNewProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -CreateProjectDetails projectData = new CreateProjectDetails( +ConversationAuthoringCreateProjectDetails projectData = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en-us" ) diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProjectAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProjectAsync.md index f6c4384906e7..5c6ad286f20f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProjectAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample1_ConversationsAuthoring_CreateProjectAsync.md @@ -22,7 +22,7 @@ To create a new project, call `CreateProjectAsync` on the `ConversationAuthoring ```C# Snippet:Sample1_ConversationsAuthoring_CreateProjectAsync string projectName = "MyNewProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -CreateProjectDetails projectData = new CreateProjectDetails( +ConversationAuthoringCreateProjectDetails projectData = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en-us" ) diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_Import.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_Import.md index 0e6a5fe3fe39..06053dc6d3c5 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_Import.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_Import.md @@ -23,12 +23,12 @@ To import a project synchronously, call Import on the ConversationAuthoringProje string projectName = "MyImportedProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -CreateProjectDetails projectMetadata = new CreateProjectDetails( +ConversationAuthoringCreateProjectDetails projectMetadata = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en" ) { - Settings = new ProjectSettings(0.7F), + Settings = new ConversationAuthoringProjectSettings(0.7F), Multilingual = true, Description = "Trying out CLU with assets" }; @@ -64,7 +64,7 @@ projectAssets.Utterances.Add(new ConversationExportedUtterance( Dataset = "dataset1" }); -ExportedProject exportedProject = new ExportedProject( +ConversationAuthoringExportedProject exportedProject = new ConversationAuthoringExportedProject( projectFileVersion: "2023-10-01", stringIndexType: StringIndexType.Utf16CodeUnit, metadata: projectMetadata diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_ImportAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_ImportAsync.md index d381504b2f9a..2e1fd220d52c 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_ImportAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample2_ConversationsAuthoring_ImportAsync.md @@ -23,12 +23,12 @@ To import a project, call ImportAsync on the ConversationAuthoringProject client string projectName = "MyImportedProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -CreateProjectDetails projectMetadata = new CreateProjectDetails( +ConversationAuthoringCreateProjectDetails projectMetadata = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en" ) { - Settings = new ProjectSettings(0.7F), + Settings = new ConversationAuthoringProjectSettings(0.7F), Multilingual = true, Description = "Trying out CLU with assets" }; @@ -64,7 +64,7 @@ projectAssets.Utterances.Add(new ConversationExportedUtterance( Dataset = "dataset1" }); -ExportedProject exportedProject = new ExportedProject( +ConversationAuthoringExportedProject exportedProject = new ConversationAuthoringExportedProject( projectFileVersion: "2023-10-01", stringIndexType: StringIndexType.Utf16CodeUnit, metadata: projectMetadata diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProject.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProject.md index 504c2be1f9d9..facdf6fa1736 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProject.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProject.md @@ -23,8 +23,8 @@ To retrieve metadata of a project, call GetProject on the `ConversationAuthoring string projectName = "MySampleProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -Response response = projectClient.GetProject(); -ProjectMetadata projectMetadata = response.Value; +Response response = projectClient.GetProject(); +ConversationAuthoringProjectMetadata projectMetadata = response.Value; Console.WriteLine($"Created DateTime: {projectMetadata.CreatedOn}"); Console.WriteLine($"Last Modified DateTime: {projectMetadata.LastModifiedOn}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProjectAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProjectAsync.md index 7d79d58ee356..a3c8cb849956 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProjectAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample4_ConversationsAuthoring_GetProjectAsync.md @@ -23,8 +23,8 @@ To retrieve metadata of a project, call GetProjectAsync on the `ConversationAuth string projectName = "MySampleProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -Response response = await projectClient.GetProjectAsync(); -ProjectMetadata projectMetadata = response.Value; +Response response = await projectClient.GetProjectAsync(); +ConversationAuthoringProjectMetadata projectMetadata = response.Value; Console.WriteLine($"Created DateTime: {projectMetadata.CreatedOn}"); Console.WriteLine($"Last Modified DateTime: {projectMetadata.LastModifiedOn}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_Train.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_Train.md index 0b0e6f58dc10..e3d23babb942 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_Train.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_Train.md @@ -22,13 +22,13 @@ To train a model, call Train on the `ConversationAuthoringProject` client. The m ```C# Snippet:Sample6_ConversationsAuthoring_Train string projectName = "MySampleProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -TrainingJobDetails trainingJobDetails = new TrainingJobDetails( +ConversationAuthoringTrainingJobDetails trainingJobDetails = new ConversationAuthoringTrainingJobDetails( modelLabel: "MyModel", trainingMode: ConversationAuthoringTrainingMode.Standard ) { TrainingConfigVersion = "1.0", - EvaluationOptions = new EvaluationDetails + EvaluationOptions = new ConversationAuthoringEvaluationDetails { Kind = ConversationAuthoringEvaluationKind.Percentage, TestingSplitPercentage = 20, @@ -36,7 +36,7 @@ TrainingJobDetails trainingJobDetails = new TrainingJobDetails( } }; -Operation operation = projectClient.Train( +Operation operation = projectClient.Train( waitUntil: WaitUntil.Completed, details: trainingJobDetails ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_TrainAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_TrainAsync.md index 17d203fdab2e..37171543be80 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_TrainAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample6_ConversationsAuthoring_TrainAsync.md @@ -23,13 +23,13 @@ To train a model asynchronously, call TrainAsync on the `ConversationAuthoringPr string projectName = "MySampleProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -TrainingJobDetails trainingJobDetails = new TrainingJobDetails( +ConversationAuthoringTrainingJobDetails trainingJobDetails = new ConversationAuthoringTrainingJobDetails( modelLabel: "MyModel", trainingMode: ConversationAuthoringTrainingMode.Standard ) { TrainingConfigVersion = "1.0", - EvaluationOptions = new EvaluationDetails + EvaluationOptions = new ConversationAuthoringEvaluationDetails { Kind = ConversationAuthoringEvaluationKind.Percentage, TestingSplitPercentage = 20, @@ -37,7 +37,7 @@ TrainingJobDetails trainingJobDetails = new TrainingJobDetails( } }; -Operation operation = await projectClient.TrainAsync( +Operation operation = await projectClient.TrainAsync( waitUntil: WaitUntil.Completed, details: trainingJobDetails ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJob.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJob.md index 8d3c76334578..6f2b864764d7 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJob.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJob.md @@ -24,7 +24,7 @@ string projectName = "MyProject"; string jobId = "YourTrainingJobId"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -Operation cancelOperation = projectClient.CancelTrainingJob( +Operation cancelOperation = projectClient.CancelTrainingJob( waitUntil: WaitUntil.Completed, jobId: jobId ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.md index 64c9f75eee81..3fde5d25099d 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.md @@ -24,7 +24,7 @@ string projectName = "MyProject"; string jobId = "YourTrainingJobId"; ConversationAuthoringProject projectClient = client.GetProject(projectName); -Operation cancelOperation = await projectClient.CancelTrainingJobAsync( +Operation cancelOperation = await projectClient.CancelTrainingJobAsync( waitUntil: WaitUntil.Completed, jobId: jobId ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.md index 38320f84ada5..1689a541295f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.md @@ -24,7 +24,7 @@ string projectName = "MyProject"; string trainedModelLabel = "YourTrainedModelLabel"; ConversationAuthoringTrainedModel trainedModelClient = client.GetTrainedModel(projectName, trainedModelLabel); -Response evaluationSummaryResponse = trainedModelClient.GetModelEvaluationSummary(); +Response evaluationSummaryResponse = trainedModelClient.GetModelEvaluationSummary(); // Print entities evaluation summary EntitiesEvaluationSummary entitiesEval = evaluationSummaryResponse.Value.EntitiesEvaluation; @@ -32,7 +32,7 @@ Console.WriteLine($"Entities - Micro F1: {entitiesEval.MicroF1}, Micro Precision Console.WriteLine($"Entities - Macro F1: {entitiesEval.MacroF1}, Macro Precision: {entitiesEval.MacroPrecision}, Macro Recall: {entitiesEval.MacroRecall}"); // Print detailed metrics per entity -foreach (KeyValuePair entity in entitiesEval.Entities) +foreach (KeyValuePair entity in entitiesEval.Entities) { Console.WriteLine($"Entity '{entity.Key}': F1 = {entity.Value.F1}, Precision = {entity.Value.Precision}, Recall = {entity.Value.Recall}"); Console.WriteLine($" True Positives: {entity.Value.TruePositiveCount}, True Negatives: {entity.Value.TrueNegativeCount}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.md b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.md index 189c54f5adc8..f2640464049a 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.md +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.md @@ -24,7 +24,7 @@ string projectName = "MyProject"; string trainedModelLabel = "YourTrainedModelLabel"; ConversationAuthoringTrainedModel trainedModelClient = client.GetTrainedModel(projectName, trainedModelLabel); -Response evaluationSummaryResponse = await trainedModelClient.GetModelEvaluationSummaryAsync(); +Response evaluationSummaryResponse = await trainedModelClient.GetModelEvaluationSummaryAsync(); // Print entities evaluation summary EntitiesEvaluationSummary entitiesEval = evaluationSummaryResponse.Value.EntitiesEvaluation; @@ -32,7 +32,7 @@ Console.WriteLine($"Entities - Micro F1: {entitiesEval.MicroF1}, Micro Precision Console.WriteLine($"Entities - Macro F1: {entitiesEval.MacroF1}, Macro Precision: {entitiesEval.MacroPrecision}, Macro Recall: {entitiesEval.MacroRecall}"); // Print detailed metrics per entity -foreach (KeyValuePair entity in entitiesEval.Entities) +foreach (KeyValuePair entity in entitiesEval.Entities) { Console.WriteLine($"Entity '{entity.Key}': F1 = {entity.Value.F1}, Precision = {entity.Value.Precision}, Recall = {entity.Value.Recall}"); Console.WriteLine($" True Positives: {entity.Value.TruePositiveCount}, True Negatives: {entity.Value.TrueNegativeCount}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/AssignedDeploymentResource.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/AssignedDeploymentResource.cs index 3c008ad069df..f68f88016bc8 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/AssignedDeploymentResource.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/AssignedDeploymentResource.cs @@ -9,7 +9,7 @@ namespace Azure.AI.Language.Conversations.Authoring { //[CodeGenSuppress("AssignedDeploymentResource", typeof(AzureLocation))] //[CodeGenSuppress("AssignedDeploymentResource", typeof(ResourceIdentifier), typeof(AzureLocation), typeof(IDictionary))] - public partial class AssignedDeploymentResource + public partial class ConversationAuthoringAssignedDeploymentResource { /// The resource ID. public ResourceIdentifier ResourceId { get; } @@ -17,21 +17,21 @@ public partial class AssignedDeploymentResource /// The resource region. public AzureLocation Region { get; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The resource region. /// is null. - internal AssignedDeploymentResource(string region) + internal ConversationAuthoringAssignedDeploymentResource(string region) { Argument.AssertNotNull(region, nameof(region)); Region = new AzureLocation(region); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The resource ID. /// The resource region. /// Keeps track of any properties unknown to the library. - internal AssignedDeploymentResource(string resourceId, string region, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringAssignedDeploymentResource(string resourceId, string region, IDictionary serializedAdditionalRawData) { ResourceId = new ResourceIdentifier(resourceId); Region = new AzureLocation(region); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringClient.cs index bfd1c54621df..0429c1d58f5f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringClient.cs @@ -3,7 +3,6 @@ using System.Threading; using Azure.Core; -using Azure.AI.Language.Conversations.Authoring.Models; using System.Threading.Tasks; using System; using Azure.Core.Pipeline; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringModelFactory.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringModelFactory.cs index 70b58ccde59f..c3e82426cc50 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringModelFactory.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAnalysisAuthoringModelFactory.cs @@ -3,7 +3,7 @@ using Azure.Core; -namespace Azure.AI.Language.Conversations.Authoring.Models +namespace Azure.AI.Language.Conversations.Authoring { /// Model factory for Conversations Authoring models. [CodeGenModel("AILanguageConversationsAuthoringModelFactory")] diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringDeployments.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringDeployments.cs index e3b70e1e6faf..75bce9e707cd 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringDeployments.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringDeployments.cs @@ -3,7 +3,6 @@ using System.Threading; using Azure.Core; -using Azure.AI.Language.Conversations.Authoring.Models; using System.Threading.Tasks; using System; using Azure.Core.Pipeline; @@ -15,10 +14,10 @@ namespace Azure.AI.Language.Conversations.Authoring [CodeGenSuppress("GetDeploymentDeleteFromResourcesStatus", typeof(string), typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetDeploymentStatusAsync", typeof(string), typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetDeploymentStatus", typeof(string), typeof(string), typeof(string), typeof(CancellationToken))] - [CodeGenSuppress("DeployProjectAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(CreateDeploymentDetails), typeof(CancellationToken))] - [CodeGenSuppress("DeployProject", typeof(WaitUntil), typeof(string), typeof(string), typeof(CreateDeploymentDetails), typeof(CancellationToken))] - [CodeGenSuppress("DeleteDeploymentFromResourcesAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(DeleteDeploymentDetails), typeof(CancellationToken))] - [CodeGenSuppress("DeleteDeploymentFromResources", typeof(WaitUntil), typeof(string), typeof(string), typeof(DeleteDeploymentDetails), typeof(CancellationToken))] + [CodeGenSuppress("DeployProjectAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringCreateDeploymentDetails), typeof(CancellationToken))] + [CodeGenSuppress("DeployProject", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringCreateDeploymentDetails), typeof(CancellationToken))] + [CodeGenSuppress("DeleteDeploymentFromResourcesAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringDeleteDeploymentDetails), typeof(CancellationToken))] + [CodeGenSuppress("DeleteDeploymentFromResources", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringDeleteDeploymentDetails), typeof(CancellationToken))] [CodeGenSuppress("GetDeploymentAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetDeployment", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("DeleteDeploymentAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(RequestContext))] @@ -68,26 +67,26 @@ internal ConversationAuthoringDeployment(ClientDiagnostics clientDiagnostics, Ht /// Gets the details of a deployment. /// The cancellation token to use. - public virtual async Task> GetDeploymentAsync(CancellationToken cancellationToken = default) + public virtual async Task> GetDeploymentAsync(CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(_deploymentName, nameof(_deploymentName)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetDeploymentAsync(context).ConfigureAwait(false); - return Response.FromValue(ProjectDeployment.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectDeployment.FromResponse(response), response); } /// Gets the details of a deployment. /// The cancellation token to use. - public virtual Response GetDeployment(CancellationToken cancellationToken = default) + public virtual Response GetDeployment(CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(_deploymentName, nameof(_deploymentName)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetDeployment(context); - return Response.FromValue(ProjectDeployment.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectDeployment.FromResponse(response), response); } // The convenience method is omitted here because it has exactly the same parameter list as the corresponding protocol method @@ -161,7 +160,7 @@ public virtual Operation DeleteDeployment(WaitUntil waitUntil, RequestContext co /// Gets the status of an existing delete deployment from specific resources job. /// The job ID. /// The cancellation token to use. - public virtual async Task> GetDeploymentDeleteFromResourcesStatusAsync( + public virtual async Task> GetDeploymentDeleteFromResourcesStatusAsync( string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -170,13 +169,13 @@ public virtual async Task> RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetDeploymentDeleteFromResourcesStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(DeploymentDeleteFromResourcesOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentDeleteFromResourcesState.FromResponse(response), response); } /// Gets the status of an existing delete deployment from specific resources job. /// The job ID. /// The cancellation token to use. - public virtual Response GetDeploymentDeleteFromResourcesStatus( + public virtual Response GetDeploymentDeleteFromResourcesStatus( string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -185,13 +184,13 @@ public virtual Response GetDeployme RequestContext context = FromCancellationToken(cancellationToken); Response response = GetDeploymentDeleteFromResourcesStatus(jobId, context); - return Response.FromValue(DeploymentDeleteFromResourcesOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentDeleteFromResourcesState.FromResponse(response), response); } /// Gets the status of an existing deployment job. /// The job ID. /// The cancellation token to use. - public virtual async Task> GetDeploymentStatusAsync( + public virtual async Task> GetDeploymentStatusAsync( string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -200,13 +199,13 @@ public virtual async Task> GetDeploymentStatu RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetDeploymentStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(DeploymentOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentState.FromResponse(response), response); } /// Gets the status of an existing deployment job. /// The job ID. /// The cancellation token to use. - public virtual Response GetDeploymentStatus( + public virtual Response GetDeploymentStatus( string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -215,7 +214,7 @@ public virtual Response GetDeploymentStatus( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetDeploymentStatus(jobId, context); - return Response.FromValue(DeploymentOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentState.FromResponse(response), response); } /// Creates a new deployment or replaces an existing one. @@ -224,7 +223,7 @@ public virtual Response GetDeploymentStatus( /// The cancellation token to use. public virtual async Task DeployProjectAsync( WaitUntil waitUntil, - CreateDeploymentDetails details, + ConversationAuthoringCreateDeploymentDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -242,7 +241,7 @@ public virtual async Task DeployProjectAsync( /// The cancellation token to use. public virtual Operation DeployProject( WaitUntil waitUntil, - CreateDeploymentDetails details, + ConversationAuthoringCreateDeploymentDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -260,7 +259,7 @@ public virtual Operation DeployProject( /// The cancellation token to use. public virtual async Task DeleteDeploymentFromResourcesAsync( WaitUntil waitUntil, - DeleteDeploymentDetails details, + ConversationAuthoringDeleteDeploymentDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -278,7 +277,7 @@ public virtual async Task DeleteDeploymentFromResourcesAsync( /// The cancellation token to use. public virtual Operation DeleteDeploymentFromResources( WaitUntil waitUntil, - DeleteDeploymentDetails details, + ConversationAuthoringDeleteDeploymentDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -558,7 +557,7 @@ public virtual Response GetDeploymentStatus(string jobId, RequestContext context /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -598,7 +597,7 @@ public virtual async Task DeployProjectAsync(WaitUntil waitUntil, Req /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -638,7 +637,7 @@ public virtual Operation DeployProject(WaitUntil waitUntil, RequestContent conte /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -678,7 +677,7 @@ public virtual async Task DeleteDeploymentFromResourcesAsync(WaitUnti /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringExportedModel.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringExportedModel.cs index 0dbc5f63c9d5..95810d9d94fe 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringExportedModel.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringExportedModel.cs @@ -14,8 +14,8 @@ namespace Azure.AI.Language.Conversations.Authoring [CodeGenSuppress("GetExportedModel", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetExportedModelJobStatusAsync", typeof(string), typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetExportedModelJobStatus", typeof(string), typeof(string), typeof(string), typeof(CancellationToken))] - [CodeGenSuppress("CreateOrUpdateExportedModelAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(ExportedModelDetails), typeof(CancellationToken))] - [CodeGenSuppress("CreateOrUpdateExportedModel", typeof(WaitUntil), typeof(string), typeof(string), typeof(ExportedModelDetails), typeof(CancellationToken))] + [CodeGenSuppress("CreateOrUpdateExportedModelAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringExportedModelDetails), typeof(CancellationToken))] + [CodeGenSuppress("CreateOrUpdateExportedModel", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringExportedModelDetails), typeof(CancellationToken))] [CodeGenSuppress("GetExportedModelAsync", typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("GetExportedModel", typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("GetExportedModelJobStatusAsync", typeof(string), typeof(string), typeof(string), typeof(RequestContext))] @@ -59,7 +59,7 @@ internal ConversationAuthoringExportedModel(ClientDiagnostics clientDiagnostics, /// Gets the details of an exported model. /// The cancellation token to use. - public virtual async Task> GetExportedModelAsync( + public virtual async Task> GetExportedModelAsync( CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -67,12 +67,12 @@ public virtual async Task> GetExportedModelAsync( RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetExportedModelAsync(context).ConfigureAwait(false); - return Response.FromValue(ExportedTrainedModel.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringExportedTrainedModel.FromResponse(response), response); } /// Gets the details of an exported model. /// The cancellation token to use. - public virtual Response GetExportedModel( + public virtual Response GetExportedModel( CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -80,13 +80,13 @@ public virtual Response GetExportedModel( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetExportedModel(context); - return Response.FromValue(ExportedTrainedModel.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringExportedTrainedModel.FromResponse(response), response); } /// Gets the status for an existing job to create or update an exported model. /// The job ID. /// The cancellation token to use. - public virtual async Task> GetExportedModelJobStatusAsync( + public virtual async Task> GetExportedModelJobStatusAsync( string jobId, CancellationToken cancellationToken = default) { @@ -96,13 +96,13 @@ public virtual async Task> GetExportedMode RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetExportedModelJobStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(ExportedModelOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringExportedModelState.FromResponse(response), response); } /// Gets the status for an existing job to create or update an exported model. /// The job ID. /// The cancellation token to use. - public virtual Response GetExportedModelJobStatus( + public virtual Response GetExportedModelJobStatus( string jobId, CancellationToken cancellationToken = default) { @@ -112,7 +112,7 @@ public virtual Response GetExportedModelJobStatus( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetExportedModelJobStatus(jobId, context); - return Response.FromValue(ExportedModelOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringExportedModelState.FromResponse(response), response); } /// Creates a new exported model or replaces an existing one. @@ -121,7 +121,7 @@ public virtual Response GetExportedModelJobStatus( /// The cancellation token to use. public virtual async Task CreateOrUpdateExportedModelAsync( WaitUntil waitUntil, - ExportedModelDetails details, + ConversationAuthoringExportedModelDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -139,7 +139,7 @@ public virtual async Task CreateOrUpdateExportedModelAsync( /// The cancellation token to use. public virtual Operation CreateOrUpdateExportedModel( WaitUntil waitUntil, - ExportedModelDetails details, + ConversationAuthoringExportedModelDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -409,7 +409,7 @@ public virtual Response GetExportedModelJobStatus(string jobId, RequestContext c /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -449,7 +449,7 @@ public virtual async Task CreateOrUpdateExportedModelAsync(WaitUntil /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringProject.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringProject.cs index 3ed3e737bd86..1401bc7d67f6 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringProject.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringProject.cs @@ -34,18 +34,18 @@ namespace Azure.AI.Language.Conversations.Authoring [CodeGenSuppress("GetCopyProjectStatus", typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("DeleteProjectAsync", typeof(WaitUntil), typeof(string), typeof(RequestContext))] [CodeGenSuppress("DeleteProject", typeof(WaitUntil), typeof(string), typeof(RequestContext))] - [CodeGenSuppress("ImportAsync", typeof(WaitUntil), typeof(string), typeof(ExportedProject), typeof(ConversationAuthoringExportedProjectFormat?), typeof(CancellationToken))] - [CodeGenSuppress("Import", typeof(WaitUntil), typeof(string), typeof(ExportedProject), typeof(ConversationAuthoringExportedProjectFormat?), typeof(CancellationToken))] + [CodeGenSuppress("ImportAsync", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringExportedProject), typeof(ConversationAuthoringExportedProjectFormat?), typeof(CancellationToken))] + [CodeGenSuppress("Import", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringExportedProject), typeof(ConversationAuthoringExportedProjectFormat?), typeof(CancellationToken))] [CodeGenSuppress("ImportAsync", typeof(WaitUntil), typeof(string), typeof(RequestContent), typeof(string), typeof(RequestContext))] [CodeGenSuppress("Import", typeof(WaitUntil), typeof(string), typeof(RequestContent), typeof(string), typeof(RequestContext))] - [CodeGenSuppress("CopyProjectAsync", typeof(WaitUntil), typeof(string), typeof(CopyProjectDetails), typeof(CancellationToken))] - [CodeGenSuppress("CopyProject", typeof(WaitUntil), typeof(string), typeof(CopyProjectDetails), typeof(CancellationToken))] - [CodeGenSuppress("CopyProjectAsync", typeof(WaitUntil), typeof(string), typeof(CopyProjectDetails), typeof(RequestContext))] - [CodeGenSuppress("CopyProject", typeof(WaitUntil), typeof(string), typeof(CopyProjectDetails), typeof(RequestContext))] + [CodeGenSuppress("CopyProjectAsync", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringCopyProjectDetails), typeof(CancellationToken))] + [CodeGenSuppress("CopyProject", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringCopyProjectDetails), typeof(CancellationToken))] + [CodeGenSuppress("CopyProjectAsync", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringCopyProjectDetails), typeof(RequestContext))] + [CodeGenSuppress("CopyProject", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringCopyProjectDetails), typeof(RequestContext))] [CodeGenSuppress("GetTrainingStatusAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetTrainingStatus", typeof(string), typeof(string), typeof(CancellationToken))] - [CodeGenSuppress("TrainAsync", typeof(WaitUntil), typeof(string), typeof(TrainingJobDetails), typeof(CancellationToken))] - [CodeGenSuppress("Train", typeof(WaitUntil), typeof(string), typeof(TrainingJobDetails), typeof(CancellationToken))] + [CodeGenSuppress("TrainAsync", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringTrainingJobDetails), typeof(CancellationToken))] + [CodeGenSuppress("Train", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringTrainingJobDetails), typeof(CancellationToken))] [CodeGenSuppress("CancelTrainingJobAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("CancelTrainingJob", typeof(WaitUntil), typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetTrainingConfigVersionsAsync", typeof(ConversationAuthoringProjectKind), typeof(int?), typeof(int?), typeof(int?), typeof(CancellationToken))] @@ -66,16 +66,16 @@ namespace Azure.AI.Language.Conversations.Authoring [CodeGenSuppress("CancelTrainingJob", typeof(WaitUntil), typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("GetSwapDeploymentsStatusAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetSwapDeploymentsStatus", typeof(string), typeof(string), typeof(CancellationToken))] - [CodeGenSuppress("SwapDeploymentsAsync", typeof(WaitUntil), typeof(string), typeof(SwapDeploymentsDetails), typeof(CancellationToken))] - [CodeGenSuppress("SwapDeployments", typeof(WaitUntil), typeof(string), typeof(SwapDeploymentsDetails), typeof(CancellationToken))] + [CodeGenSuppress("SwapDeploymentsAsync", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringSwapDeploymentsDetails), typeof(CancellationToken))] + [CodeGenSuppress("SwapDeployments", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringSwapDeploymentsDetails), typeof(CancellationToken))] [CodeGenSuppress("GetAssignDeploymentResourcesStatusAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetAssignDeploymentResourcesStatus", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetUnassignDeploymentResourcesStatusAsync", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetUnassignDeploymentResourcesStatus", typeof(string), typeof(string), typeof(CancellationToken))] - [CodeGenSuppress("AssignDeploymentResourcesAsync", typeof(WaitUntil), typeof(string), typeof(AssignDeploymentResourcesDetails), typeof(CancellationToken))] - [CodeGenSuppress("AssignDeploymentResources", typeof(WaitUntil), typeof(string), typeof(AssignDeploymentResourcesDetails), typeof(CancellationToken))] - [CodeGenSuppress("UnassignDeploymentResourcesAsync", typeof(WaitUntil), typeof(string), typeof(UnassignDeploymentResourcesDetails), typeof(CancellationToken))] - [CodeGenSuppress("UnassignDeploymentResources", typeof(WaitUntil), typeof(string), typeof(UnassignDeploymentResourcesDetails), typeof(CancellationToken))] + [CodeGenSuppress("AssignDeploymentResourcesAsync", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringAssignDeploymentResourcesDetails), typeof(CancellationToken))] + [CodeGenSuppress("AssignDeploymentResources", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringAssignDeploymentResourcesDetails), typeof(CancellationToken))] + [CodeGenSuppress("UnassignDeploymentResourcesAsync", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringUnassignDeploymentResourcesDetails), typeof(CancellationToken))] + [CodeGenSuppress("UnassignDeploymentResources", typeof(WaitUntil), typeof(string), typeof(ConversationAuthoringUnassignDeploymentResourcesDetails), typeof(CancellationToken))] [CodeGenSuppress("GetSwapDeploymentsStatusAsync", typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("GetSwapDeploymentsStatus", typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("GetAssignDeploymentResourcesStatusAsync", typeof(string), typeof(string), typeof(RequestContext))] @@ -119,27 +119,27 @@ internal ConversationAuthoringProject(ClientDiagnostics clientDiagnostics, HttpP /// Gets the status of an existing swap deployment job. /// The job ID. /// The cancellation token to use. - public virtual async Task> GetSwapDeploymentsStatusAsync(string jobId, CancellationToken cancellationToken = default) + public virtual async Task> GetSwapDeploymentsStatusAsync(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetSwapDeploymentsStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(SwapDeploymentsOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringSwapDeploymentsState.FromResponse(response), response); } /// Gets the status of an existing swap deployment job. /// The job ID. /// The cancellation token to use. - public virtual Response GetSwapDeploymentsStatus(string jobId, CancellationToken cancellationToken = default) + public virtual Response GetSwapDeploymentsStatus(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetSwapDeploymentsStatus(jobId, context); - return Response.FromValue(SwapDeploymentsOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringSwapDeploymentsState.FromResponse(response), response); } /// Swaps two existing deployments with each other. @@ -148,7 +148,7 @@ public virtual Response GetSwapDeploymentsStatus( /// The cancellation token to use. public virtual async Task SwapDeploymentsAsync( WaitUntil waitUntil, - SwapDeploymentsDetails details, + ConversationAuthoringSwapDeploymentsDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -165,7 +165,7 @@ public virtual async Task SwapDeploymentsAsync( /// The cancellation token to use. public virtual Operation SwapDeployments( WaitUntil waitUntil, - SwapDeploymentsDetails details, + ConversationAuthoringSwapDeploymentsDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -262,7 +262,7 @@ public virtual Response GetSwapDeploymentsStatus(string jobId, RequestContext co /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -301,7 +301,7 @@ public virtual async Task SwapDeploymentsAsync(WaitUntil waitUntil, R /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -332,27 +332,27 @@ public virtual Operation SwapDeployments(WaitUntil waitUntil, RequestContent con /// Gets the details of a project. /// The cancellation token to use. - public virtual async Task> GetProjectAsync(CancellationToken cancellationToken = default) + public virtual async Task> GetProjectAsync(CancellationToken cancellationToken = default) { RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetProjectAsync(context).ConfigureAwait(false); // Using the member variable - return Response.FromValue(ProjectMetadata.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectMetadata.FromResponse(response), response); } /// Gets the details of a project. /// The cancellation token to use. - public virtual Response GetProject(CancellationToken cancellationToken = default) + public virtual Response GetProject(CancellationToken cancellationToken = default) { RequestContext context = FromCancellationToken(cancellationToken); Response response = GetProject(context); // Using the member variable - return Response.FromValue(ProjectMetadata.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectMetadata.FromResponse(response), response); } /// Creates a new project or replaces an existing one. /// The new deployment info. /// The cancellation token to use. public virtual async Task CreateProjectAsync( - CreateProjectDetails details, + ConversationAuthoringCreateProjectDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -368,7 +368,7 @@ public virtual async Task CreateProjectAsync( /// The new deployment info. /// The cancellation token to use. public virtual Response CreateProject( - CreateProjectDetails details, + ConversationAuthoringCreateProjectDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -437,13 +437,13 @@ public virtual Response CreateProject(RequestContent content, RequestContext con /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual async Task> GetExportStatusAsync(string jobId, CancellationToken cancellationToken = default) + public virtual async Task> GetExportStatusAsync(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetExportStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(ExportProjectOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringExportProjectState.FromResponse(response), response); } /// Gets the status of an export job. Once job completes, returns the project metadata, and assets. @@ -451,13 +451,13 @@ public virtual async Task> GetExportStatus /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Response GetExportStatus(string jobId, CancellationToken cancellationToken = default) + public virtual Response GetExportStatus(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetExportStatus(jobId, context); - return Response.FromValue(ExportProjectOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringExportProjectState.FromResponse(response), response); } /// Triggers a job to import a project. If a project with the same name already exists, the data of that project is replaced. @@ -465,7 +465,7 @@ public virtual Response GetExportStatus(string jobI /// The project data to import. /// The format of the exported project file to use. /// The cancellation token to use. - public virtual async Task ImportAsync(WaitUntil waitUntil, ExportedProject exportedProject, ConversationAuthoringExportedProjectFormat? exportedProjectFormat = null, CancellationToken cancellationToken = default) + public virtual async Task ImportAsync(WaitUntil waitUntil, ConversationAuthoringExportedProject exportedProject, ConversationAuthoringExportedProjectFormat? exportedProjectFormat = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNull(exportedProject, nameof(exportedProject)); @@ -480,7 +480,7 @@ public virtual async Task ImportAsync(WaitUntil waitUntil, ExportedPr /// The project data to import. /// The format of the exported project file to use. /// The cancellation token to use. - public virtual Operation Import(WaitUntil waitUntil, ExportedProject exportedProject, ConversationAuthoringExportedProjectFormat? exportedProjectFormat = null, CancellationToken cancellationToken = default) + public virtual Operation Import(WaitUntil waitUntil, ConversationAuthoringExportedProject exportedProject, ConversationAuthoringExportedProjectFormat? exportedProjectFormat = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNull(exportedProject, nameof(exportedProject)); @@ -500,7 +500,7 @@ public virtual Operation Import(WaitUntil waitUntil, ExportedProject exportedPro /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -540,7 +540,7 @@ public virtual async Task ImportAsync(WaitUntil waitUntil, RequestCon /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -575,13 +575,13 @@ public virtual Operation Import(WaitUntil waitUntil, RequestContent content, str /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual async Task> GetImportStatusAsync(string jobId, CancellationToken cancellationToken = default) + public virtual async Task> GetImportStatusAsync(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetImportStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(ImportProjectOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringImportProjectState.FromResponse(response), response); } /// Gets the status for an import. @@ -589,13 +589,13 @@ public virtual async Task> GetImportStatus /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Response GetImportStatus(string jobId, CancellationToken cancellationToken = default) + public virtual Response GetImportStatus(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetImportStatus(jobId, context); - return Response.FromValue(ImportProjectOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringImportProjectState.FromResponse(response), response); } /// Generates a copy project operation authorization to the current target Azure resource. @@ -603,12 +603,12 @@ public virtual Response GetImportStatus(string jobI /// The name of the storage container. /// Whether to allow an existing project to be overwritten using the resulting copy authorization. /// The cancellation token to use. - public virtual async Task> AuthorizeProjectCopyAsync(ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = null, CancellationToken cancellationToken = default) + public virtual async Task> AuthorizeProjectCopyAsync(ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = null, CancellationToken cancellationToken = default) { CopyProjectAuthorizationRequest copyProjectAuthorizationRequest = new CopyProjectAuthorizationRequest(projectKind, storageInputContainerName, allowOverwrite, null); RequestContext context = FromCancellationToken(cancellationToken); Response response = await AuthorizeProjectCopyAsync(copyProjectAuthorizationRequest.ToRequestContent(), context).ConfigureAwait(false); - return Response.FromValue(CopyProjectDetails.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringCopyProjectDetails.FromResponse(response), response); } /// Generates a copy project operation authorization to the current target Azure resource. @@ -616,12 +616,12 @@ public virtual async Task> AuthorizeProjectCopyAsyn /// The name of the storage container. /// Whether to allow an existing project to be overwritten using the resulting copy authorization. /// The cancellation token to use. - public virtual Response AuthorizeProjectCopy(ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = null, CancellationToken cancellationToken = default) + public virtual Response AuthorizeProjectCopy(ConversationAuthoringProjectKind projectKind, string storageInputContainerName = null, bool? allowOverwrite = null, CancellationToken cancellationToken = default) { CopyProjectAuthorizationRequest copyProjectAuthorizationRequest = new CopyProjectAuthorizationRequest(projectKind, storageInputContainerName, allowOverwrite, null); RequestContext context = FromCancellationToken(cancellationToken); Response response = AuthorizeProjectCopy(copyProjectAuthorizationRequest.ToRequestContent(), context); - return Response.FromValue(CopyProjectDetails.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringCopyProjectDetails.FromResponse(response), response); } /// Gets the status of an existing copy project job. @@ -629,13 +629,13 @@ public virtual Response AuthorizeProjectCopy(ConversationAut /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual async Task> GetCopyProjectStatusAsync(string jobId, CancellationToken cancellationToken = default) + public virtual async Task> GetCopyProjectStatusAsync(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetCopyProjectStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(CopyProjectOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringCopyProjectState.FromResponse(response), response); } /// Gets the status of an existing copy project job. @@ -643,13 +643,13 @@ public virtual async Task> GetCopyProjectSta /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Response GetCopyProjectStatus(string jobId, CancellationToken cancellationToken = default) + public virtual Response GetCopyProjectStatus(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetCopyProjectStatus(jobId, context); - return Response.FromValue(CopyProjectOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringCopyProjectState.FromResponse(response), response); } /// [Protocol Method] Deletes a project. @@ -828,7 +828,7 @@ public virtual Operation Export(WaitUntil waitUntil, string stringIndexType, str /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. /// The copy project info. /// The cancellation token to use. - public virtual async Task CopyProjectAsync(WaitUntil waitUntil, CopyProjectDetails details, CancellationToken cancellationToken = default) + public virtual async Task CopyProjectAsync(WaitUntil waitUntil, ConversationAuthoringCopyProjectDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNull(details, nameof(details)); @@ -841,7 +841,7 @@ public virtual async Task CopyProjectAsync(WaitUntil waitUntil, CopyP /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. /// The copy project info. /// The cancellation token to use. - public virtual Operation CopyProject(WaitUntil waitUntil, CopyProjectDetails details, CancellationToken cancellationToken = default) + public virtual Operation CopyProject(WaitUntil waitUntil, ConversationAuthoringCopyProjectDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNull(details, nameof(details)); @@ -853,7 +853,7 @@ public virtual Operation CopyProject(WaitUntil waitUntil, CopyProjectDetails det /// Gets the status for a training job. /// The job ID. /// The cancellation token to use. - public virtual async Task> GetTrainingStatusAsync( + public virtual async Task> GetTrainingStatusAsync( string jobId, CancellationToken cancellationToken = default) { @@ -862,13 +862,13 @@ public virtual async Task> GetTrainingStatusAsy RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetTrainingStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(TrainingOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringTrainingState.FromResponse(response), response); } /// Gets the status for a training job. /// The job ID. /// The cancellation token to use. - public virtual Response GetTrainingStatus( + public virtual Response GetTrainingStatus( string jobId, CancellationToken cancellationToken = default) { @@ -877,16 +877,16 @@ public virtual Response GetTrainingStatus( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetTrainingStatus(jobId, context); - return Response.FromValue(TrainingOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringTrainingState.FromResponse(response), response); } /// Triggers a training job for a project. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. /// The training input parameters. /// The cancellation token to use. - public virtual async Task> TrainAsync( + public virtual async Task> TrainAsync( WaitUntil waitUntil, - TrainingJobDetails details, + ConversationAuthoringTrainingJobDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -895,16 +895,16 @@ public virtual async Task> TrainAsync( using RequestContent content = details.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = await TrainAsync(waitUntil, content, context).ConfigureAwait(false); - return ProtocolOperationHelpers.Convert(response, FetchTrainingJobResultFromTrainingOperationState, ClientDiagnostics, "ConversationAuthoringTraining.Train"); + return ProtocolOperationHelpers.Convert(response, FetchConversationAuthoringTrainingJobResultFromConversationAuthoringTrainingState, ClientDiagnostics, "ConversationAuthoringTraining.Train"); } /// Triggers a training job for a project. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. /// The training input parameters. /// The cancellation token to use. - public virtual Operation Train( + public virtual Operation Train( WaitUntil waitUntil, - TrainingJobDetails details, + ConversationAuthoringTrainingJobDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -913,14 +913,14 @@ public virtual Operation Train( using RequestContent content = details.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = Train(waitUntil, content, context); - return ProtocolOperationHelpers.Convert(response, FetchTrainingJobResultFromTrainingOperationState, ClientDiagnostics, "ConversationAuthoringTraining.Train"); + return ProtocolOperationHelpers.Convert(response, FetchConversationAuthoringTrainingJobResultFromConversationAuthoringTrainingState, ClientDiagnostics, "ConversationAuthoringTraining.Train"); } /// Triggers a cancellation for a running training job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. /// The job ID. /// The cancellation token to use. - public virtual async Task> CancelTrainingJobAsync( + public virtual async Task> CancelTrainingJobAsync( WaitUntil waitUntil, string jobId, CancellationToken cancellationToken = default) @@ -930,14 +930,14 @@ public virtual async Task> CancelTrainingJobAsync( RequestContext context = FromCancellationToken(cancellationToken); Operation response = await CancelTrainingJobAsync(waitUntil, jobId, context).ConfigureAwait(false); - return ProtocolOperationHelpers.Convert(response, FetchTrainingJobResultFromTrainingOperationState, ClientDiagnostics, "ConversationAuthoringTraining.CancelTrainingJob"); + return ProtocolOperationHelpers.Convert(response, FetchConversationAuthoringTrainingJobResultFromConversationAuthoringTrainingState, ClientDiagnostics, "ConversationAuthoringTraining.CancelTrainingJob"); } /// Triggers a cancellation for a running training job. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. /// The job ID. /// The cancellation token to use. - public virtual Operation CancelTrainingJob( + public virtual Operation CancelTrainingJob( WaitUntil waitUntil, string jobId, CancellationToken cancellationToken = default) @@ -947,7 +947,7 @@ public virtual Operation CancelTrainingJob( RequestContext context = FromCancellationToken(cancellationToken); Operation response = CancelTrainingJob(waitUntil, jobId, context); - return ProtocolOperationHelpers.Convert(response, FetchTrainingJobResultFromTrainingOperationState, ClientDiagnostics, "ConversationAuthoringTraining.CancelTrainingJob"); + return ProtocolOperationHelpers.Convert(response, FetchConversationAuthoringTrainingJobResultFromConversationAuthoringTrainingState, ClientDiagnostics, "ConversationAuthoringTraining.CancelTrainingJob"); } /// @@ -1035,7 +1035,7 @@ public virtual Response GetTrainingStatus(string jobId, RequestContext context) /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -1074,7 +1074,7 @@ public virtual async Task> TrainAsync(WaitUntil waitUntil, /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -1567,7 +1567,7 @@ public virtual Response GetCopyProjectStatus(string jobId, RequestContext contex /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -1606,7 +1606,7 @@ public virtual async Task CopyProjectAsync(WaitUntil waitUntil, Reque /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -1640,14 +1640,14 @@ public virtual Operation CopyProject(WaitUntil waitUntil, RequestContent content /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual async Task> GetAssignDeploymentResourcesStatusAsync(string jobId, CancellationToken cancellationToken = default) + public virtual async Task> GetAssignDeploymentResourcesStatusAsync(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetAssignDeploymentResourcesStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(DeploymentResourcesOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentResourcesState.FromResponse(response), response); } /// Gets the status of an existing assign deployment resources job. @@ -1655,14 +1655,14 @@ public virtual async Task> GetAssign /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Response GetAssignDeploymentResourcesStatus(string jobId, CancellationToken cancellationToken = default) + public virtual Response GetAssignDeploymentResourcesStatus(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetAssignDeploymentResourcesStatus(jobId, context); - return Response.FromValue(DeploymentResourcesOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentResourcesState.FromResponse(response), response); } /// Gets the status of an existing unassign deployment resources job. @@ -1670,14 +1670,14 @@ public virtual Response GetAssignDeploymentRe /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual async Task> GetUnassignDeploymentResourcesStatusAsync(string jobId, CancellationToken cancellationToken = default) + public virtual async Task> GetUnassignDeploymentResourcesStatusAsync(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetUnassignDeploymentResourcesStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(DeploymentResourcesOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentResourcesState.FromResponse(response), response); } /// Gets the status of an existing unassign deployment resources job. @@ -1685,14 +1685,14 @@ public virtual async Task> GetUnassi /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Response GetUnassignDeploymentResourcesStatus(string jobId, CancellationToken cancellationToken = default) + public virtual Response GetUnassignDeploymentResourcesStatus(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetUnassignDeploymentResourcesStatus(jobId, context); - return Response.FromValue(DeploymentResourcesOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringDeploymentResourcesState.FromResponse(response), response); } /// Assign new Azure resources to a project to allow deploying new deployments to them. @@ -1701,7 +1701,7 @@ public virtual Response GetUnassignDeployment /// The cancellation token to use. public virtual async Task AssignDeploymentResourcesAsync( WaitUntil waitUntil, - AssignDeploymentResourcesDetails details, + ConversationAuthoringAssignDeploymentResourcesDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -1718,7 +1718,7 @@ public virtual async Task AssignDeploymentResourcesAsync( /// The cancellation token to use. public virtual Operation AssignDeploymentResources( WaitUntil waitUntil, - AssignDeploymentResourcesDetails details, + ConversationAuthoringAssignDeploymentResourcesDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -1735,7 +1735,7 @@ public virtual Operation AssignDeploymentResources( /// The cancellation token to use. public virtual async Task UnassignDeploymentResourcesAsync( WaitUntil waitUntil, - UnassignDeploymentResourcesDetails details, + ConversationAuthoringUnassignDeploymentResourcesDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -1752,7 +1752,7 @@ public virtual async Task UnassignDeploymentResourcesAsync( /// The cancellation token to use. public virtual Operation UnassignDeploymentResources( WaitUntil waitUntil, - UnassignDeploymentResourcesDetails details, + ConversationAuthoringUnassignDeploymentResourcesDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -1925,7 +1925,7 @@ public virtual Response GetUnassignDeploymentResourcesStatus(string jobId, Reque /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -1964,7 +1964,7 @@ public virtual async Task AssignDeploymentResourcesAsync(WaitUntil wa /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -2003,7 +2003,7 @@ public virtual Operation AssignDeploymentResources(WaitUntil waitUntil, RequestC /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -2042,7 +2042,7 @@ public virtual async Task UnassignDeploymentResourcesAsync(WaitUntil /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringTrainedModel.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringTrainedModel.cs index 339ddee8cb3c..a14c2e47c315 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringTrainedModel.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/ConversationAuthoringTrainedModel.cs @@ -20,8 +20,8 @@ namespace Azure.AI.Language.Conversations.Authoring [CodeGenSuppress("GetLoadSnapshotStatus", typeof(string), typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("GetModelEvaluationResultsAsync", typeof(string), typeof(string), typeof(StringIndexType), typeof(int?), typeof(int?), typeof(int?), typeof(CancellationToken))] [CodeGenSuppress("GetModelEvaluationResults", typeof(string), typeof(string), typeof(StringIndexType), typeof(int?), typeof(int?), typeof(int?), typeof(CancellationToken))] - [CodeGenSuppress("EvaluateModelAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(EvaluationDetails), typeof(CancellationToken))] - [CodeGenSuppress("EvaluateModel", typeof(WaitUntil), typeof(string), typeof(string), typeof(EvaluationDetails), typeof(CancellationToken))] + [CodeGenSuppress("EvaluateModelAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringEvaluationDetails), typeof(CancellationToken))] + [CodeGenSuppress("EvaluateModel", typeof(WaitUntil), typeof(string), typeof(string), typeof(ConversationAuthoringEvaluationDetails), typeof(CancellationToken))] [CodeGenSuppress("DeleteTrainedModelAsync", typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("DeleteTrainedModel", typeof(string), typeof(string), typeof(RequestContext))] [CodeGenSuppress("LoadSnapshotAsync", typeof(WaitUntil), typeof(string), typeof(string), typeof(RequestContext))] @@ -73,7 +73,7 @@ internal ConversationAuthoringTrainedModel(ClientDiagnostics clientDiagnostics, /// Gets the details of a trained model. /// The cancellation token to use. - public virtual async Task> GetTrainedModelAsync( + public virtual async Task> GetTrainedModelAsync( CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -81,12 +81,12 @@ public virtual async Task> GetTrainedModelAsync( RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetTrainedModelAsync(context).ConfigureAwait(false); - return Response.FromValue(ProjectTrainedModel.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectTrainedModel.FromResponse(response), response); } /// Gets the details of a trained model. /// The cancellation token to use. - public virtual Response GetTrainedModel( + public virtual Response GetTrainedModel( CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -94,13 +94,13 @@ public virtual Response GetTrainedModel( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetTrainedModel(context); - return Response.FromValue(ProjectTrainedModel.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectTrainedModel.FromResponse(response), response); } /// Gets the status for an evaluation job. /// The job ID. /// The cancellation token to use. - public virtual async Task> GetEvaluationStatusAsync( + public virtual async Task> GetEvaluationStatusAsync( string jobId, CancellationToken cancellationToken = default) { @@ -110,13 +110,13 @@ public virtual async Task> GetEvaluationStatu RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetEvaluationStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(EvaluationOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringEvaluationState.FromResponse(response), response); } /// Gets the status for an evaluation job. /// The job ID. /// The cancellation token to use. - public virtual Response GetEvaluationStatus( + public virtual Response GetEvaluationStatus( string jobId, CancellationToken cancellationToken = default) { @@ -126,12 +126,12 @@ public virtual Response GetEvaluationStatus( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetEvaluationStatus(jobId, context); - return Response.FromValue(EvaluationOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringEvaluationState.FromResponse(response), response); } /// Gets the evaluation summary of a trained model. /// The cancellation token to use. - public virtual async Task> GetModelEvaluationSummaryAsync( + public virtual async Task> GetModelEvaluationSummaryAsync( CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -139,12 +139,12 @@ public virtual async Task> GetModelEvaluationSummary RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetModelEvaluationSummaryAsync(context).ConfigureAwait(false); - return Response.FromValue(EvaluationSummary.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringEvalSummary.FromResponse(response), response); } /// Gets the evaluation summary of a trained model. /// The cancellation token to use. - public virtual Response GetModelEvaluationSummary( + public virtual Response GetModelEvaluationSummary( CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -152,13 +152,13 @@ public virtual Response GetModelEvaluationSummary( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetModelEvaluationSummary(context); - return Response.FromValue(EvaluationSummary.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringEvalSummary.FromResponse(response), response); } /// Gets the status for loading a snapshot. /// The job ID. /// The cancellation token to use. - public virtual async Task> GetLoadSnapshotStatusAsync( + public virtual async Task> GetLoadSnapshotStatusAsync( string jobId, CancellationToken cancellationToken = default) { @@ -168,13 +168,13 @@ public virtual async Task> GetLoadSnapshotS RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetLoadSnapshotStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(LoadSnapshotOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringLoadSnapshotState.FromResponse(response), response); } /// Gets the status for loading a snapshot. /// The job ID. /// The cancellation token to use. - public virtual Response GetLoadSnapshotStatus( + public virtual Response GetLoadSnapshotStatus( string jobId, CancellationToken cancellationToken = default) { @@ -184,7 +184,7 @@ public virtual Response GetLoadSnapshotStatus( RequestContext context = FromCancellationToken(cancellationToken); Response response = GetLoadSnapshotStatus(jobId, context); - return Response.FromValue(LoadSnapshotOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringLoadSnapshotState.FromResponse(response), response); } /// Gets the detailed results of the evaluation for a trained model. @@ -235,9 +235,9 @@ public virtual Pageable GetModelEvaluationResults( /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. /// The training input parameters. /// The cancellation token to use. - public virtual async Task> EvaluateModelAsync( + public virtual async Task> EvaluateModelAsync( WaitUntil waitUntil, - EvaluationDetails details, + ConversationAuthoringEvaluationDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -247,16 +247,16 @@ public virtual async Task> EvaluateModelAsync( using RequestContent content = details.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = await EvaluateModelAsync(waitUntil, content, context).ConfigureAwait(false); - return ProtocolOperationHelpers.Convert(response, FetchEvaluationJobResultFromEvaluationOperationState, ClientDiagnostics, "ConversationAuthoringTrainedModel.EvaluateModel"); + return ProtocolOperationHelpers.Convert(response, FetchConversationAuthoringEvaluationJobResultFromConversationAuthoringEvaluationState, ClientDiagnostics, "ConversationAuthoringTrainedModel.EvaluateModel"); } /// Triggers evaluation operation on a trained model. /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. /// The training input parameters. /// The cancellation token to use. - public virtual Operation EvaluateModel( + public virtual Operation EvaluateModel( WaitUntil waitUntil, - EvaluationDetails details, + ConversationAuthoringEvaluationDetails details, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(_projectName, nameof(_projectName)); @@ -266,7 +266,7 @@ public virtual Operation EvaluateModel( using RequestContent content = details.ToRequestContent(); RequestContext context = FromCancellationToken(cancellationToken); Operation response = EvaluateModel(waitUntil, content, context); - return ProtocolOperationHelpers.Convert(response, FetchEvaluationJobResultFromEvaluationOperationState, ClientDiagnostics, "ConversationAuthoringTrainedModel.EvaluateModel"); + return ProtocolOperationHelpers.Convert(response, FetchConversationAuthoringEvaluationJobResultFromConversationAuthoringEvaluationState, ClientDiagnostics, "ConversationAuthoringTrainedModel.EvaluateModel"); } /// Deletes a trained model. @@ -703,7 +703,7 @@ public virtual Pageable GetModelEvaluationResults(string stringIndex /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -743,7 +743,7 @@ public virtual async Task> EvaluateModelAsync(WaitUntil wa /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/CreateProjectDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/CreateProjectDetails.cs index 49f37cdfbc19..662e9c2d2da6 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/CreateProjectDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/CreateProjectDetails.cs @@ -9,16 +9,16 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options used to create or update a project. [CodeGenSuppress("CreateProjectDetails", typeof(ConversationAuthoringProjectKind), typeof(string), typeof(string))] - public partial class CreateProjectDetails + public partial class ConversationAuthoringCreateProjectDetails { /// The new project name. public string ProjectName { get; set; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project kind. /// The project language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// is null. - public CreateProjectDetails(ConversationAuthoringProjectKind projectKind, string language) + public ConversationAuthoringCreateProjectDetails(ConversationAuthoringProjectKind projectKind, string language) { Argument.AssertNotNull(language, nameof(language)); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringClient.cs index 992db41a72b3..c9665aab5306 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringClient.cs @@ -77,14 +77,14 @@ public ConversationAnalysisAuthoringClient(Uri endpoint, TokenCredential credent /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetDeploymentsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetDeploymentsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetDeploymentsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ProjectDeployment.DeserializeProjectDeployment(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeployments", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringProjectDeployment.DeserializeConversationAuthoringProjectDeployment(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeployments", "value", "nextLink", maxpagesize, context); } /// Lists the deployments belonging to a project. @@ -95,14 +95,14 @@ public virtual AsyncPageable GetDeploymentsAsync(string proje /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Pageable GetDeployments(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetDeployments(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetDeploymentsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetDeploymentsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ProjectDeployment.DeserializeProjectDeployment(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeployments", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringProjectDeployment.DeserializeConversationAuthoringProjectDeployment(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeployments", "value", "nextLink", maxpagesize, context); } /// @@ -176,12 +176,12 @@ public virtual Pageable GetDeployments(string projectName, int? maxC /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual AsyncPageable GetProjectsAsync(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetProjectsAsync(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetProjectsRequest(maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetProjectsNextPageRequest(nextLink, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ProjectMetadata.DeserializeProjectMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetProjects", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringProjectMetadata.DeserializeConversationAuthoringProjectMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetProjects", "value", "nextLink", maxpagesize, context); } /// Lists the existing projects. @@ -189,12 +189,12 @@ public virtual AsyncPageable GetProjectsAsync(int? maxCount = n /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual Pageable GetProjects(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetProjects(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetProjectsRequest(maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetProjectsNextPageRequest(nextLink, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ProjectMetadata.DeserializeProjectMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetProjects", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringProjectMetadata.DeserializeConversationAuthoringProjectMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetProjects", "value", "nextLink", maxpagesize, context); } /// @@ -259,12 +259,12 @@ public virtual Pageable GetProjects(int? maxCount, int? skip, int? m /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual AsyncPageable GetSupportedLanguagesAsync(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetSupportedLanguagesAsync(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetSupportedLanguagesRequest(projectKind.ToString(), maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetSupportedLanguagesNextPageRequest(nextLink, projectKind.ToString(), maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => SupportedLanguage.DeserializeSupportedLanguage(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedLanguages", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringSupportedLanguage.DeserializeConversationAuthoringSupportedLanguage(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedLanguages", "value", "nextLink", maxpagesize, context); } /// Lists the supported languages for the given project type. @@ -273,12 +273,12 @@ public virtual AsyncPageable GetSupportedLanguagesAsync(Conve /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual Pageable GetSupportedLanguages(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetSupportedLanguages(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetSupportedLanguagesRequest(projectKind.ToString(), maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetSupportedLanguagesNextPageRequest(nextLink, projectKind.ToString(), maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => SupportedLanguage.DeserializeSupportedLanguage(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedLanguages", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringSupportedLanguage.DeserializeConversationAuthoringSupportedLanguage(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedLanguages", "value", "nextLink", maxpagesize, context); } /// @@ -350,12 +350,12 @@ public virtual Pageable GetSupportedLanguages(string projectKind, in /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetAssignedResourceDeploymentsAsync(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetAssignedResourceDeploymentsRequest(maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetAssignedResourceDeploymentsNextPageRequest(nextLink, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => AssignedProjectDeploymentsMetadata.DeserializeAssignedProjectDeploymentsMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetAssignedResourceDeployments", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringAssignedProjectDeploymentsMetadata.DeserializeConversationAuthoringAssignedProjectDeploymentsMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetAssignedResourceDeployments", "value", "nextLink", maxpagesize, context); } /// Lists the deployments to which an Azure resource is assigned. This doesn't return deployments belonging to projects owned by this resource. It only returns deployments belonging to projects owned by other resources. @@ -363,12 +363,12 @@ public virtual AsyncPageable GetAssignedReso /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual Pageable GetAssignedResourceDeployments(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetAssignedResourceDeployments(int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetAssignedResourceDeploymentsRequest(maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetAssignedResourceDeploymentsNextPageRequest(nextLink, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => AssignedProjectDeploymentsMetadata.DeserializeAssignedProjectDeploymentsMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetAssignedResourceDeployments", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringAssignedProjectDeploymentsMetadata.DeserializeConversationAuthoringAssignedProjectDeploymentsMetadata(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetAssignedResourceDeployments", "value", "nextLink", maxpagesize, context); } /// @@ -435,14 +435,14 @@ public virtual Pageable GetAssignedResourceDeployments(int? maxCount /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetDeploymentResourcesAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetDeploymentResourcesRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetDeploymentResourcesNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => AssignedDeploymentResource.DeserializeAssignedDeploymentResource(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeploymentResources", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringAssignedDeploymentResource.DeserializeConversationAuthoringAssignedDeploymentResource(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeploymentResources", "value", "nextLink", maxpagesize, context); } /// Lists the deployments resources assigned to the project. @@ -453,14 +453,14 @@ public virtual AsyncPageable GetDeploymentResourcesA /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Pageable GetDeploymentResources(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetDeploymentResources(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetDeploymentResourcesRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetDeploymentResourcesNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => AssignedDeploymentResource.DeserializeAssignedDeploymentResource(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeploymentResources", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringAssignedDeploymentResource.DeserializeConversationAuthoringAssignedDeploymentResource(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetDeploymentResources", "value", "nextLink", maxpagesize, context); } /// @@ -536,12 +536,12 @@ public virtual Pageable GetDeploymentResources(string projectName, i /// The language to get supported prebuilt entities for. Required if multilingual is false. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// Whether to get the support prebuilt entities for multilingual or monolingual projects. If true, the language parameter is ignored. /// The cancellation token to use. - public virtual AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount = null, int? skip = null, int? maxpagesize = null, string language = null, string multilingual = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetSupportedPrebuiltEntitiesAsync(int? maxCount = null, int? skip = null, int? maxpagesize = null, string language = null, string multilingual = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetSupportedPrebuiltEntitiesRequest(maxCount, skip, pageSizeHint, language, multilingual, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetSupportedPrebuiltEntitiesNextPageRequest(nextLink, maxCount, skip, pageSizeHint, language, multilingual, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => PrebuiltEntity.DeserializePrebuiltEntity(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedPrebuiltEntities", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringPrebuiltEntity.DeserializeConversationAuthoringPrebuiltEntity(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedPrebuiltEntities", "value", "nextLink", maxpagesize, context); } /// Lists the supported prebuilt entities that can be used while creating composed entities. @@ -551,12 +551,12 @@ public virtual AsyncPageable GetSupportedPrebuiltEntitiesAsync(i /// The language to get supported prebuilt entities for. Required if multilingual is false. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// Whether to get the support prebuilt entities for multilingual or monolingual projects. If true, the language parameter is ignored. /// The cancellation token to use. - public virtual Pageable GetSupportedPrebuiltEntities(int? maxCount = null, int? skip = null, int? maxpagesize = null, string language = null, string multilingual = null, CancellationToken cancellationToken = default) + public virtual Pageable GetSupportedPrebuiltEntities(int? maxCount = null, int? skip = null, int? maxpagesize = null, string language = null, string multilingual = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetSupportedPrebuiltEntitiesRequest(maxCount, skip, pageSizeHint, language, multilingual, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetSupportedPrebuiltEntitiesNextPageRequest(nextLink, maxCount, skip, pageSizeHint, language, multilingual, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => PrebuiltEntity.DeserializePrebuiltEntity(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedPrebuiltEntities", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringPrebuiltEntity.DeserializeConversationAuthoringPrebuiltEntity(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetSupportedPrebuiltEntities", "value", "nextLink", maxpagesize, context); } /// @@ -625,12 +625,12 @@ public virtual Pageable GetSupportedPrebuiltEntities(int? maxCount, /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual AsyncPageable GetTrainingConfigVersionsAsync(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetTrainingConfigVersionsAsync(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetTrainingConfigVersionsRequest(projectKind.ToString(), maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetTrainingConfigVersionsNextPageRequest(nextLink, projectKind.ToString(), maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => TrainingConfigVersion.DeserializeTrainingConfigVersion(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingConfigVersions", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringTrainingConfigVersion.DeserializeConversationAuthoringTrainingConfigVersion(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingConfigVersions", "value", "nextLink", maxpagesize, context); } /// Lists the support training config version for a given project type. @@ -639,12 +639,12 @@ public virtual AsyncPageable GetTrainingConfigVersionsAsy /// The number of result items to skip. /// The maximum number of result items per page. /// The cancellation token to use. - public virtual Pageable GetTrainingConfigVersions(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetTrainingConfigVersions(ConversationAuthoringProjectKind projectKind, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetTrainingConfigVersionsRequest(projectKind.ToString(), maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetTrainingConfigVersionsNextPageRequest(nextLink, projectKind.ToString(), maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => TrainingConfigVersion.DeserializeTrainingConfigVersion(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingConfigVersions", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringTrainingConfigVersion.DeserializeConversationAuthoringTrainingConfigVersion(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingConfigVersions", "value", "nextLink", maxpagesize, context); } /// @@ -719,14 +719,14 @@ public virtual Pageable GetTrainingConfigVersions(string projectKind /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetTrainingJobsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetTrainingJobsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetTrainingJobsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => TrainingOperationState.DeserializeTrainingOperationState(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingJobs", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringTrainingState.DeserializeConversationAuthoringTrainingState(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingJobs", "value", "nextLink", maxpagesize, context); } /// Lists the non-expired training jobs created for a project. @@ -737,14 +737,14 @@ public virtual AsyncPageable GetTrainingJobsAsync(string /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Pageable GetTrainingJobs(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetTrainingJobs(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetTrainingJobsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetTrainingJobsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => TrainingOperationState.DeserializeTrainingOperationState(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingJobs", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringTrainingState.DeserializeConversationAuthoringTrainingState(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainingJobs", "value", "nextLink", maxpagesize, context); } /// @@ -821,14 +821,14 @@ public virtual Pageable GetTrainingJobs(string projectName, int? max /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetTrainedModelsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetTrainedModelsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetTrainedModelsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ProjectTrainedModel.DeserializeProjectTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainedModels", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringProjectTrainedModel.DeserializeConversationAuthoringProjectTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainedModels", "value", "nextLink", maxpagesize, context); } /// Lists the trained models belonging to a project. @@ -839,14 +839,14 @@ public virtual AsyncPageable GetTrainedModelsAsync(string p /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Pageable GetTrainedModels(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetTrainedModels(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetTrainedModelsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetTrainedModelsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ProjectTrainedModel.DeserializeProjectTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainedModels", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringProjectTrainedModel.DeserializeConversationAuthoringProjectTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetTrainedModels", "value", "nextLink", maxpagesize, context); } /// @@ -923,14 +923,14 @@ public virtual Pageable GetTrainedModels(string projectName, int? ma /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetExportedModelsAsync(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetExportedModelsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetExportedModelsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ExportedTrainedModel.DeserializeExportedTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetExportedModels", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringExportedTrainedModel.DeserializeConversationAuthoringExportedTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetExportedModels", "value", "nextLink", maxpagesize, context); } /// Lists the exported models belonging to a project. @@ -941,14 +941,14 @@ public virtual AsyncPageable GetExportedModelsAsync(string /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Pageable GetExportedModels(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) + public virtual Pageable GetExportedModels(string projectName, int? maxCount = null, int? skip = null, int? maxpagesize = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(projectName, nameof(projectName)); RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetExportedModelsRequest(projectName, maxCount, skip, pageSizeHint, context); HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetExportedModelsNextPageRequest(nextLink, projectName, maxCount, skip, pageSizeHint, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ExportedTrainedModel.DeserializeExportedTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetExportedModels", "value", "nextLink", maxpagesize, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => ConversationAuthoringExportedTrainedModel.DeserializeConversationAuthoringExportedTrainedModel(e), ClientDiagnostics, _pipeline, "ConversationAnalysisAuthoringClient.GetExportedModels", "value", "nextLink", maxpagesize, context); } /// diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringModelFactory.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringModelFactory.cs index 1b928188fe30..208922967793 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringModelFactory.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAnalysisAuthoringModelFactory.cs @@ -10,12 +10,12 @@ using System.Linq; using Azure.Core; -namespace Azure.AI.Language.Conversations.Authoring.Models +namespace Azure.AI.Language.Conversations.Authoring { /// Model factory for models. public static partial class ConversationAnalysisAuthoringModelFactory { - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents deployment name. /// Represents deployment modelId. /// Represents deployment last trained time. @@ -23,12 +23,12 @@ public static partial class ConversationAnalysisAuthoringModelFactory /// Represents deployment expiration date in the runtime. /// Represents model training config version. /// Represents the metadata of the assigned Azure resources. - /// A new instance for mocking. - public static ProjectDeployment ProjectDeployment(string deploymentName = null, string modelId = null, DateTimeOffset lastTrainedOn = default, DateTimeOffset lastDeployedOn = default, DateTimeOffset deploymentExpiredOn = default, string modelTrainingConfigVersion = null, IEnumerable assignedResources = null) + /// A new instance for mocking. + public static ConversationAuthoringProjectDeployment ConversationAuthoringProjectDeployment(string deploymentName = null, string modelId = null, DateTimeOffset lastTrainedOn = default, DateTimeOffset lastDeployedOn = default, DateTimeOffset deploymentExpiredOn = default, string modelTrainingConfigVersion = null, IEnumerable assignedResources = null) { - assignedResources ??= new List(); + assignedResources ??= new List(); - return new ProjectDeployment( + return new ConversationAuthoringProjectDeployment( deploymentName, modelId, lastTrainedOn, @@ -39,16 +39,16 @@ public static ProjectDeployment ProjectDeployment(string deploymentName = null, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the Azure resource Id. /// Represents the resource region. - /// A new instance for mocking. - public static DeploymentResource DeploymentResource(string resourceId = null, string region = null) + /// A new instance for mocking. + public static ConversationAuthoringDeploymentResource ConversationAuthoringDeploymentResource(string resourceId = null, string region = null) { - return new DeploymentResource(resourceId, region, serializedAdditionalRawData: null); + return new ConversationAuthoringDeploymentResource(resourceId, region, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project creation datetime. /// Represents the project creation datetime. /// Represents the project last trained datetime. @@ -60,10 +60,10 @@ public static DeploymentResource DeploymentResource(string resourceId = null, st /// Whether the project would be used for multiple languages or not. /// The project description. /// The project language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. - /// A new instance for mocking. - public static ProjectMetadata ProjectMetadata(DateTimeOffset createdOn = default, DateTimeOffset lastModifiedOn = default, DateTimeOffset? lastTrainedOn = null, DateTimeOffset? lastDeployedOn = null, ConversationAuthoringProjectKind projectKind = default, ProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = null, string description = null, string language = null) + /// A new instance for mocking. + public static ConversationAuthoringProjectMetadata ConversationAuthoringProjectMetadata(DateTimeOffset createdOn = default, DateTimeOffset lastModifiedOn = default, DateTimeOffset? lastTrainedOn = null, DateTimeOffset? lastDeployedOn = null, ConversationAuthoringProjectKind projectKind = default, ConversationAuthoringProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = null, string description = null, string language = null) { - return new ProjectMetadata( + return new ConversationAuthoringProjectMetadata( createdOn, lastModifiedOn, lastTrainedOn, @@ -78,65 +78,65 @@ public static ProjectMetadata ProjectMetadata(DateTimeOffset createdOn = default serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The language name. /// The language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc. - /// A new instance for mocking. - public static SupportedLanguage SupportedLanguage(string languageName = null, string languageCode = null) + /// A new instance for mocking. + public static ConversationAuthoringSupportedLanguage ConversationAuthoringSupportedLanguage(string languageName = null, string languageCode = null) { - return new SupportedLanguage(languageName, languageCode, serializedAdditionalRawData: null); + return new ConversationAuthoringSupportedLanguage(languageName, languageCode, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project name. /// Represents the resource region. - /// A new instance for mocking. - public static AssignedProjectDeploymentsMetadata AssignedProjectDeploymentsMetadata(string projectName = null, IEnumerable deploymentsMetadata = null) + /// A new instance for mocking. + public static ConversationAuthoringAssignedProjectDeploymentsMetadata ConversationAuthoringAssignedProjectDeploymentsMetadata(string projectName = null, IEnumerable deploymentsMetadata = null) { - deploymentsMetadata ??= new List(); + deploymentsMetadata ??= new List(); - return new AssignedProjectDeploymentsMetadata(projectName, deploymentsMetadata?.ToList(), serializedAdditionalRawData: null); + return new ConversationAuthoringAssignedProjectDeploymentsMetadata(projectName, deploymentsMetadata?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the deployment name. /// Represents deployment last deployed time. /// Represents deployment expiration date in the runtime. - /// A new instance for mocking. - public static AssignedProjectDeploymentMetadata AssignedProjectDeploymentMetadata(string deploymentName = null, DateTimeOffset lastDeployedOn = default, DateTimeOffset deploymentExpiresOn = default) + /// A new instance for mocking. + public static ConversationAuthoringAssignedProjectDeploymentMetadata ConversationAuthoringAssignedProjectDeploymentMetadata(string deploymentName = null, DateTimeOffset lastDeployedOn = default, DateTimeOffset deploymentExpiresOn = default) { - return new AssignedProjectDeploymentMetadata(deploymentName, lastDeployedOn, deploymentExpiresOn, serializedAdditionalRawData: null); + return new ConversationAuthoringAssignedProjectDeploymentMetadata(deploymentName, lastDeployedOn, deploymentExpiresOn, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The resource ID. /// The resource region. - /// A new instance for mocking. - public static AssignedDeploymentResource AssignedDeploymentResource(ResourceIdentifier resourceId = null, AzureLocation region = default) + /// A new instance for mocking. + public static ConversationAuthoringAssignedDeploymentResource ConversationAuthoringAssignedDeploymentResource(ResourceIdentifier resourceId = null, AzureLocation region = default) { - return new AssignedDeploymentResource(resourceId, region, serializedAdditionalRawData: null); + return new ConversationAuthoringAssignedDeploymentResource(resourceId, region, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The prebuilt entity category. /// The description. /// English examples for the entity. - /// A new instance for mocking. - public static PrebuiltEntity PrebuiltEntity(string category = null, string description = null, string examples = null) + /// A new instance for mocking. + public static ConversationAuthoringPrebuiltEntity ConversationAuthoringPrebuiltEntity(string category = null, string description = null, string examples = null) { - return new PrebuiltEntity(category, description, examples, serializedAdditionalRawData: null); + return new ConversationAuthoringPrebuiltEntity(category, description, examples, serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Represents the version of the config. + /// Initializes a new instance of . + /// Represents the version of the config. /// Represents the training config version expiration date. - /// A new instance for mocking. - public static TrainingConfigVersion TrainingConfigVersion(string trainingConfigVersionProperty = null, DateTimeOffset modelExpirationDate = default) + /// A new instance for mocking. + public static ConversationAuthoringTrainingConfigVersion ConversationAuthoringTrainingConfigVersion(string trainingConfigVersion = null, DateTimeOffset modelExpirationDate = default) { - return new TrainingConfigVersion(trainingConfigVersionProperty, modelExpirationDate, serializedAdditionalRawData: null); + return new ConversationAuthoringTrainingConfigVersion(trainingConfigVersion, modelExpirationDate, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -145,13 +145,13 @@ public static TrainingConfigVersion TrainingConfigVersion(string trainingConfigV /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Represents training tasks detailed result. - /// A new instance for mocking. - public static TrainingOperationState TrainingOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, TrainingJobResult result = null) + /// A new instance for mocking. + public static ConversationAuthoringTrainingState ConversationAuthoringTrainingState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, ConversationAuthoringTrainingJobResult result = null) { warnings ??= new List(); errors ??= new List(); - return new TrainingOperationState( + return new ConversationAuthoringTrainingState( jobId, createdOn, lastUpdatedOn, @@ -163,17 +163,17 @@ public static TrainingOperationState TrainingOperationState(string jobId = null, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents trained model label. /// Represents training config version. /// Represents the mode of the training operation. /// Represents the model training status. /// Represents model evaluation status. /// Represents the estimated end date time for training and evaluation. - /// A new instance for mocking. - public static TrainingJobResult TrainingJobResult(string modelLabel = null, string trainingConfigVersion = null, ConversationAuthoringTrainingMode? trainingMode = null, SubTrainingOperationState trainingStatus = null, SubTrainingOperationState evaluationStatus = null, DateTimeOffset? estimatedEndOn = null) + /// A new instance for mocking. + public static ConversationAuthoringTrainingJobResult ConversationAuthoringTrainingJobResult(string modelLabel = null, string trainingConfigVersion = null, ConversationAuthoringTrainingMode? trainingMode = null, ConversationAuthoringSubTrainingState trainingStatus = null, ConversationAuthoringSubTrainingState evaluationStatus = null, DateTimeOffset? estimatedEndOn = null) { - return new TrainingJobResult( + return new ConversationAuthoringTrainingJobResult( modelLabel, trainingConfigVersion, trainingMode, @@ -183,18 +183,18 @@ public static TrainingJobResult TrainingJobResult(string modelLabel = null, stri serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents progress percentage. /// Represents the start date time. /// Represents the end date time. /// Represents the status of the sub-operation. - /// A new instance for mocking. - public static SubTrainingOperationState SubTrainingOperationState(int percentComplete = default, DateTimeOffset? startedOn = null, DateTimeOffset? endedOn = null, ConversationAuthoringOperationStatus status = default) + /// A new instance for mocking. + public static ConversationAuthoringSubTrainingState ConversationAuthoringSubTrainingState(int percentComplete = default, DateTimeOffset? startedOn = null, DateTimeOffset? endedOn = null, ConversationAuthoringOperationStatus status = default) { - return new SubTrainingOperationState(percentComplete, startedOn, endedOn, status, serializedAdditionalRawData: null); + return new ConversationAuthoringSubTrainingState(percentComplete, startedOn, endedOn, status, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The trained model label. /// The model ID. /// The last trained date time of the model. @@ -202,10 +202,10 @@ public static SubTrainingOperationState SubTrainingOperationState(int percentCom /// The model expiration date. /// The model training config version. /// The flag to indicate if the trained model has a snapshot ready. - /// A new instance for mocking. - public static ProjectTrainedModel ProjectTrainedModel(string label = null, string modelId = null, DateTimeOffset lastTrainedOn = default, int lastTrainingDurationInSeconds = default, DateTimeOffset modelExpiredOn = default, string modelTrainingConfigVersion = null, bool hasSnapshot = default) + /// A new instance for mocking. + public static ConversationAuthoringProjectTrainedModel ConversationAuthoringProjectTrainedModel(string label = null, string modelId = null, DateTimeOffset lastTrainedOn = default, int lastTrainingDurationInSeconds = default, DateTimeOffset modelExpiredOn = default, string modelTrainingConfigVersion = null, bool hasSnapshot = default) { - return new ProjectTrainedModel( + return new ConversationAuthoringProjectTrainedModel( label, modelId, lastTrainedOn, @@ -216,17 +216,17 @@ public static ProjectTrainedModel ProjectTrainedModel(string label = null, strin serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The exported model name. /// The model ID. /// The last trained date time of the model. /// The last exported date time of the model. /// The model expiration date. /// The model training config version. - /// A new instance for mocking. - public static ExportedTrainedModel ExportedTrainedModel(string exportedModelName = null, string modelId = null, DateTimeOffset lastTrainedOn = default, DateTimeOffset lastExportedModelOn = default, DateTimeOffset modelExpiredOn = default, string modelTrainingConfigVersion = null) + /// A new instance for mocking. + public static ConversationAuthoringExportedTrainedModel ConversationAuthoringExportedTrainedModel(string exportedModelName = null, string modelId = null, DateTimeOffset lastTrainedOn = default, DateTimeOffset lastExportedModelOn = default, DateTimeOffset modelExpiredOn = default, string modelTrainingConfigVersion = null) { - return new ExportedTrainedModel( + return new ConversationAuthoringExportedTrainedModel( exportedModelName, modelId, lastTrainedOn, @@ -236,18 +236,18 @@ public static ExportedTrainedModel ExportedTrainedModel(string exportedModelName serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the options used running the evaluation. /// Represents trained model label. /// Represents training config version. /// Represents progress percentage. - /// A new instance for mocking. - public static EvaluationJobResult EvaluationJobResult(EvaluationDetails evaluationDetails = null, string modelLabel = null, string trainingConfigVersion = null, int percentComplete = default) + /// A new instance for mocking. + public static ConversationAuthoringEvaluationJobResult ConversationAuthoringEvaluationJobResult(ConversationAuthoringEvaluationDetails evaluationDetails = null, string modelLabel = null, string trainingConfigVersion = null, int percentComplete = default) { - return new EvaluationJobResult(evaluationDetails, modelLabel, trainingConfigVersion, percentComplete, serializedAdditionalRawData: null); + return new ConversationAuthoringEvaluationJobResult(evaluationDetails, modelLabel, trainingConfigVersion, percentComplete, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -256,13 +256,13 @@ public static EvaluationJobResult EvaluationJobResult(EvaluationDetails evaluati /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Represents evaluation task detailed result. - /// A new instance for mocking. - public static EvaluationOperationState EvaluationOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, EvaluationJobResult result = null) + /// A new instance for mocking. + public static ConversationAuthoringEvaluationState ConversationAuthoringEvaluationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, ConversationAuthoringEvaluationJobResult result = null) { warnings ??= new List(); errors ??= new List(); - return new EvaluationOperationState( + return new ConversationAuthoringEvaluationState( jobId, createdOn, lastUpdatedOn, @@ -274,7 +274,7 @@ public static EvaluationOperationState EvaluationOperationState(string jobId = n serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -282,13 +282,13 @@ public static EvaluationOperationState EvaluationOperationState(string jobId = n /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static LoadSnapshotOperationState LoadSnapshotOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringLoadSnapshotState ConversationAuthoringLoadSnapshotState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new LoadSnapshotOperationState( + return new ConversationAuthoringLoadSnapshotState( jobId, createdOn, lastUpdatedOn, @@ -341,14 +341,14 @@ public static UtteranceIntentsEvaluationResult UtteranceIntentsEvaluationResult( return new UtteranceIntentsEvaluationResult(expectedIntent, predictedIntent, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Contains the data related to entities evaluation. /// Contains the data related to intents evaluation. /// The options that were used while running the evaluation. - /// A new instance for mocking. - public static EvaluationSummary EvaluationSummary(EntitiesEvaluationSummary entitiesEvaluation = null, IntentsEvaluationSummary intentsEvaluation = null, EvaluationDetails evaluationOptions = null) + /// A new instance for mocking. + public static ConversationAuthoringEvalSummary ConversationAuthoringEvalSummary(EntitiesEvaluationSummary entitiesEvaluation = null, IntentsEvaluationSummary intentsEvaluation = null, ConversationAuthoringEvaluationDetails evaluationOptions = null) { - return new EvaluationSummary(entitiesEvaluation, intentsEvaluation, evaluationOptions, serializedAdditionalRawData: null); + return new ConversationAuthoringEvalSummary(entitiesEvaluation, intentsEvaluation, evaluationOptions, serializedAdditionalRawData: null); } /// Initializes a new instance of . @@ -361,10 +361,10 @@ public static EvaluationSummary EvaluationSummary(EntitiesEvaluationSummary enti /// Represents the macro precision. Expected value is a float between 0 and 1 inclusive. /// Represents the macro recall. Expected value is a float between 0 and 1 inclusive. /// A new instance for mocking. - public static EntitiesEvaluationSummary EntitiesEvaluationSummary(IReadOnlyDictionary confusionMatrix = null, IReadOnlyDictionary entities = null, float microF1 = default, float microPrecision = default, float microRecall = default, float macroF1 = default, float macroPrecision = default, float macroRecall = default) + public static EntitiesEvaluationSummary EntitiesEvaluationSummary(IReadOnlyDictionary confusionMatrix = null, IReadOnlyDictionary entities = null, float microF1 = default, float microPrecision = default, float microRecall = default, float macroF1 = default, float macroPrecision = default, float macroRecall = default) { confusionMatrix ??= new Dictionary(); - entities ??= new Dictionary(); + entities ??= new Dictionary(); return new EntitiesEvaluationSummary( confusionMatrix, @@ -397,7 +397,7 @@ public static ConversationAuthoringConfusionMatrixCell ConversationAuthoringConf return new ConversationAuthoringConfusionMatrixCell(normalizedValue, rawValue, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the model F1 score. /// Represents the model precision. /// Represents the model precision. @@ -405,10 +405,10 @@ public static ConversationAuthoringConfusionMatrixCell ConversationAuthoringConf /// Represents the count of true negative. /// Represents the count of false positive. /// Represents the count of false negative. - /// A new instance for mocking. - public static EntityEvaluationSummary EntityEvaluationSummary(double f1 = default, double precision = default, double recall = default, int truePositiveCount = default, int trueNegativeCount = default, int falsePositiveCount = default, int falseNegativeCount = default) + /// A new instance for mocking. + public static ConversationAuthoringEntityEvalSummary ConversationAuthoringEntityEvalSummary(double f1 = default, double precision = default, double recall = default, int truePositiveCount = default, int trueNegativeCount = default, int falsePositiveCount = default, int falseNegativeCount = default) { - return new EntityEvaluationSummary( + return new ConversationAuthoringEntityEvalSummary( f1, precision, recall, @@ -468,7 +468,7 @@ public static IntentEvaluationSummary IntentEvaluationSummary(double f1 = defaul serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -476,13 +476,13 @@ public static IntentEvaluationSummary IntentEvaluationSummary(double f1 = defaul /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static ExportedModelOperationState ExportedModelOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringExportedModelState ConversationAuthoringExportedModelState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new ExportedModelOperationState( + return new ConversationAuthoringExportedModelState( jobId, createdOn, lastUpdatedOn, @@ -493,7 +493,7 @@ public static ExportedModelOperationState ExportedModelOperationState(string job serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -501,13 +501,13 @@ public static ExportedModelOperationState ExportedModelOperationState(string job /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static DeploymentResourcesOperationState DeploymentResourcesOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringDeploymentResourcesState ConversationAuthoringDeploymentResourcesState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new DeploymentResourcesOperationState( + return new ConversationAuthoringDeploymentResourcesState( jobId, createdOn, lastUpdatedOn, @@ -518,7 +518,7 @@ public static DeploymentResourcesOperationState DeploymentResourcesOperationStat serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -526,13 +526,13 @@ public static DeploymentResourcesOperationState DeploymentResourcesOperationStat /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static SwapDeploymentsOperationState SwapDeploymentsOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringSwapDeploymentsState ConversationAuthoringSwapDeploymentsState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new SwapDeploymentsOperationState( + return new ConversationAuthoringSwapDeploymentsState( jobId, createdOn, lastUpdatedOn, @@ -543,7 +543,7 @@ public static SwapDeploymentsOperationState SwapDeploymentsOperationState(string serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project kind. /// The project settings. /// The storage container name in case of conversation summarization. @@ -551,10 +551,10 @@ public static SwapDeploymentsOperationState SwapDeploymentsOperationState(string /// Whether the project would be used for multiple languages or not. /// The project description. /// The project language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. - /// A new instance for mocking. - public static CreateProjectDetails CreateProjectDetails(ConversationAuthoringProjectKind projectKind = default, ProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = null, string description = null, string language = null) + /// A new instance for mocking. + public static ConversationAuthoringCreateProjectDetails ConversationAuthoringCreateProjectDetails(ConversationAuthoringProjectKind projectKind = default, ConversationAuthoringProjectSettings settings = null, string storageInputContainerName = null, string projectName = null, bool? multilingual = null, string description = null, string language = null) { - return new CreateProjectDetails( + return new ConversationAuthoringCreateProjectDetails( projectKind, settings, storageInputContainerName, @@ -565,7 +565,7 @@ public static CreateProjectDetails CreateProjectDetails(ConversationAuthoringPro serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -573,13 +573,13 @@ public static CreateProjectDetails CreateProjectDetails(ConversationAuthoringPro /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static ProjectDeletionOperationState ProjectDeletionOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringProjectDeletionState ConversationAuthoringProjectDeletionState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new ProjectDeletionOperationState( + return new ConversationAuthoringProjectDeletionState( jobId, createdOn, lastUpdatedOn, @@ -590,7 +590,7 @@ public static ProjectDeletionOperationState ProjectDeletionOperationState(string serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -599,13 +599,13 @@ public static ProjectDeletionOperationState ProjectDeletionOperationState(string /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// The URL to use in order to download the exported project. - /// A new instance for mocking. - public static ExportProjectOperationState ExportProjectOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, string resultUri = null) + /// A new instance for mocking. + public static ConversationAuthoringExportProjectState ConversationAuthoringExportProjectState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null, string resultUri = null) { warnings ??= new List(); errors ??= new List(); - return new ExportProjectOperationState( + return new ConversationAuthoringExportProjectState( jobId, createdOn, lastUpdatedOn, @@ -617,19 +617,19 @@ public static ExportProjectOperationState ExportProjectOperationState(string job serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The version of the exported file. /// Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets. /// Represents the project metadata. /// /// Represents the project assets. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include and . /// - /// A new instance for mocking. - public static ExportedProject ExportedProject(string projectFileVersion = null, StringIndexType stringIndexType = default, CreateProjectDetails metadata = null, ExportedProjectAsset assets = null) + /// A new instance for mocking. + public static ConversationAuthoringExportedProject ConversationAuthoringExportedProject(string projectFileVersion = null, StringIndexType stringIndexType = default, ConversationAuthoringCreateProjectDetails metadata = null, ConversationAuthoringExportedProjectAsset assets = null) { - return new ExportedProject(projectFileVersion, stringIndexType, metadata, assets, serializedAdditionalRawData: null); + return new ConversationAuthoringExportedProject(projectFileVersion, stringIndexType, metadata, assets, serializedAdditionalRawData: null); } /// Initializes a new instance of . @@ -640,9 +640,9 @@ public static ExportedProject ExportedProject(string projectFileVersion = null, /// The regex component of the entity. /// The required components. Allowed values are 'learned', 'list', 'prebuilts' and 'regex'. /// A new instance for mocking. - public static ConversationExportedEntity ConversationExportedEntity(string category = null, ConversationAuthoringCompositionMode? compositionMode = null, ExportedEntityList entities = null, IEnumerable prebuilts = null, ExportedEntityRegex regex = null, IEnumerable requiredComponents = null) + public static ConversationExportedEntity ConversationExportedEntity(string category = null, ConversationAuthoringCompositionMode? compositionMode = null, ConversationAuthoringExportedEntityList entities = null, IEnumerable prebuilts = null, ExportedEntityRegex regex = null, IEnumerable requiredComponents = null) { - prebuilts ??= new List(); + prebuilts ??= new List(); requiredComponents ??= new List(); return new ConversationExportedEntity( @@ -733,7 +733,7 @@ public static OrchestrationExportedUtterance OrchestrationExportedUtterance(stri return new OrchestrationExportedUtterance(text, language, intent, dataset, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -741,13 +741,13 @@ public static OrchestrationExportedUtterance OrchestrationExportedUtterance(stri /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static ImportProjectOperationState ImportProjectOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringImportProjectState ConversationAuthoringImportProjectState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new ImportProjectOperationState( + return new ConversationAuthoringImportProjectState( jobId, createdOn, lastUpdatedOn, @@ -758,7 +758,7 @@ public static ImportProjectOperationState ImportProjectOperationState(string job serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -766,13 +766,13 @@ public static ImportProjectOperationState ImportProjectOperationState(string job /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static CopyProjectOperationState CopyProjectOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringCopyProjectState ConversationAuthoringCopyProjectState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new CopyProjectOperationState( + return new ConversationAuthoringCopyProjectState( jobId, createdOn, lastUpdatedOn, @@ -783,29 +783,29 @@ public static CopyProjectOperationState CopyProjectOperationState(string jobId = serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the output model label. /// Represents training config version. By default, "latest" value is used which uses the latest released training config version. /// Represents the mode of the training operation. /// Represents the evaluation options. By default, the evaluation kind is percentage, with training split percentage as 80, and testing split percentage as 20. - /// A new instance for mocking. - public static TrainingJobDetails TrainingJobDetails(string modelLabel = null, string trainingConfigVersion = null, ConversationAuthoringTrainingMode trainingMode = default, EvaluationDetails evaluationOptions = null) + /// A new instance for mocking. + public static ConversationAuthoringTrainingJobDetails ConversationAuthoringTrainingJobDetails(string modelLabel = null, string trainingConfigVersion = null, ConversationAuthoringTrainingMode trainingMode = default, ConversationAuthoringEvaluationDetails evaluationOptions = null) { - return new TrainingJobDetails(modelLabel, trainingConfigVersion, trainingMode, evaluationOptions, serializedAdditionalRawData: null); + return new ConversationAuthoringTrainingJobDetails(modelLabel, trainingConfigVersion, trainingMode, evaluationOptions, serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the trained model label. /// Represents the resource IDs to be assigned to the deployment. If provided, the deployment will be rolled out to the resources provided here as well as the original resource in which the project is created. - /// A new instance for mocking. - public static CreateDeploymentDetails CreateDeploymentDetails(string trainedModelLabel = null, IEnumerable assignedResourceIds = null) + /// A new instance for mocking. + public static ConversationAuthoringCreateDeploymentDetails ConversationAuthoringCreateDeploymentDetails(string trainedModelLabel = null, IEnumerable assignedResourceIds = null) { assignedResourceIds ??= new List(); - return new CreateDeploymentDetails(trainedModelLabel, assignedResourceIds?.ToList(), serializedAdditionalRawData: null); + return new ConversationAuthoringCreateDeploymentDetails(trainedModelLabel, assignedResourceIds?.ToList(), serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -813,13 +813,13 @@ public static CreateDeploymentDetails CreateDeploymentDetails(string trainedMode /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static DeploymentOperationState DeploymentOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringDeploymentState ConversationAuthoringDeploymentState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new DeploymentOperationState( + return new ConversationAuthoringDeploymentState( jobId, createdOn, lastUpdatedOn, @@ -830,7 +830,7 @@ public static DeploymentOperationState DeploymentOperationState(string jobId = n serializedAdditionalRawData: null); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -838,13 +838,13 @@ public static DeploymentOperationState DeploymentOperationState(string jobId = n /// The job status. /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. - /// A new instance for mocking. - public static DeploymentDeleteFromResourcesOperationState DeploymentDeleteFromResourcesOperationState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) + /// A new instance for mocking. + public static ConversationAuthoringDeploymentDeleteFromResourcesState ConversationAuthoringDeploymentDeleteFromResourcesState(string jobId = null, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = null, ConversationAuthoringOperationStatus status = default, IEnumerable warnings = null, IEnumerable errors = null) { warnings ??= new List(); errors ??= new List(); - return new DeploymentDeleteFromResourcesOperationState( + return new ConversationAuthoringDeploymentDeleteFromResourcesState( jobId, createdOn, lastUpdatedOn, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignDeploymentResourcesDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignDeploymentResourcesDetails.Serialization.cs similarity index 56% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignDeploymentResourcesDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignDeploymentResourcesDetails.Serialization.cs index cacec4bedfad..85bea55f51ca 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignDeploymentResourcesDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignDeploymentResourcesDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class AssignDeploymentResourcesDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringAssignDeploymentResourcesDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, M /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignDeploymentResourcesDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignDeploymentResourcesDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("resourcesMetadata"u8); @@ -58,19 +58,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - AssignDeploymentResourcesDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringAssignDeploymentResourcesDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignDeploymentResourcesDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignDeploymentResourcesDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeAssignDeploymentResourcesDetails(document.RootElement, options); + return DeserializeConversationAuthoringAssignDeploymentResourcesDetails(document.RootElement, options); } - internal static AssignDeploymentResourcesDetails DeserializeAssignDeploymentResourcesDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringAssignDeploymentResourcesDetails DeserializeConversationAuthoringAssignDeploymentResourcesDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -78,17 +78,17 @@ internal static AssignDeploymentResourcesDetails DeserializeAssignDeploymentReso { return null; } - IList resourcesMetadata = default; + IList resourcesMetadata = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("resourcesMetadata"u8)) { - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceMetadata.DeserializeResourceMetadata(item, options)); + array.Add(ConversationAuthoringResourceMetadata.DeserializeConversationAuthoringResourceMetadata(item, options)); } resourcesMetadata = array; continue; @@ -99,46 +99,46 @@ internal static AssignDeploymentResourcesDetails DeserializeAssignDeploymentReso } } serializedAdditionalRawData = rawDataDictionary; - return new AssignDeploymentResourcesDetails(resourcesMetadata, serializedAdditionalRawData); + return new ConversationAuthoringAssignDeploymentResourcesDetails(resourcesMetadata, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(AssignDeploymentResourcesDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignDeploymentResourcesDetails)} does not support writing '{options.Format}' format."); } } - AssignDeploymentResourcesDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringAssignDeploymentResourcesDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeAssignDeploymentResourcesDetails(document.RootElement, options); + return DeserializeConversationAuthoringAssignDeploymentResourcesDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(AssignDeploymentResourcesDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignDeploymentResourcesDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static AssignDeploymentResourcesDetails FromResponse(Response response) + internal static ConversationAuthoringAssignDeploymentResourcesDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeAssignDeploymentResourcesDetails(document.RootElement); + return DeserializeConversationAuthoringAssignDeploymentResourcesDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignDeploymentResourcesDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignDeploymentResourcesDetails.cs similarity index 72% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignDeploymentResourcesDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignDeploymentResourcesDetails.cs index f3f957d9260b..c4123b3b1952 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignDeploymentResourcesDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignDeploymentResourcesDetails.cs @@ -12,7 +12,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options for assigning Azure resources to a project. - public partial class AssignDeploymentResourcesDetails + public partial class ConversationAuthoringAssignDeploymentResourcesDetails { /// /// Keeps track of any properties unknown to the library. @@ -46,31 +46,31 @@ public partial class AssignDeploymentResourcesDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the metadata for the resources to be assigned. /// is null. - public AssignDeploymentResourcesDetails(IEnumerable metadata) + public ConversationAuthoringAssignDeploymentResourcesDetails(IEnumerable metadata) { Argument.AssertNotNull(metadata, nameof(metadata)); Metadata = metadata.ToList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the metadata for the resources to be assigned. /// Keeps track of any properties unknown to the library. - internal AssignDeploymentResourcesDetails(IList metadata, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringAssignDeploymentResourcesDetails(IList metadata, IDictionary serializedAdditionalRawData) { Metadata = metadata; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal AssignDeploymentResourcesDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringAssignDeploymentResourcesDetails() { } /// Represents the metadata for the resources to be assigned. - public IList Metadata { get; } + public IList Metadata { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedDeploymentResource.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedDeploymentResource.Serialization.cs similarity index 62% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedDeploymentResource.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedDeploymentResource.Serialization.cs index c2c90fd8a4bb..1e535a6260b8 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedDeploymentResource.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedDeploymentResource.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class AssignedDeploymentResource : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringAssignedDeploymentResource : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignedDeploymentResource)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedDeploymentResource)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -58,19 +58,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - AssignedDeploymentResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringAssignedDeploymentResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignedDeploymentResource)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedDeploymentResource)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeAssignedDeploymentResource(document.RootElement, options); + return DeserializeConversationAuthoringAssignedDeploymentResource(document.RootElement, options); } - internal static AssignedDeploymentResource DeserializeAssignedDeploymentResource(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringAssignedDeploymentResource DeserializeConversationAuthoringAssignedDeploymentResource(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -100,46 +100,46 @@ internal static AssignedDeploymentResource DeserializeAssignedDeploymentResource } } serializedAdditionalRawData = rawDataDictionary; - return new AssignedDeploymentResource(azureResourceId, region, serializedAdditionalRawData); + return new ConversationAuthoringAssignedDeploymentResource(azureResourceId, region, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(AssignedDeploymentResource)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedDeploymentResource)} does not support writing '{options.Format}' format."); } } - AssignedDeploymentResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringAssignedDeploymentResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeAssignedDeploymentResource(document.RootElement, options); + return DeserializeConversationAuthoringAssignedDeploymentResource(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(AssignedDeploymentResource)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedDeploymentResource)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static AssignedDeploymentResource FromResponse(Response response) + internal static ConversationAuthoringAssignedDeploymentResource FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeAssignedDeploymentResource(document.RootElement); + return DeserializeConversationAuthoringAssignedDeploymentResource(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedDeploymentResource.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedDeploymentResource.cs similarity index 73% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedDeploymentResource.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedDeploymentResource.cs index 1cb4d20c1b94..e3bb3f23c09f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedDeploymentResource.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedDeploymentResource.cs @@ -12,7 +12,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the assigned deployment resource. - public partial class AssignedDeploymentResource + public partial class ConversationAuthoringAssignedDeploymentResource { /// /// Keeps track of any properties unknown to the library. @@ -46,26 +46,26 @@ public partial class AssignedDeploymentResource /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The resource region. - internal AssignedDeploymentResource(AzureLocation region) + internal ConversationAuthoringAssignedDeploymentResource(AzureLocation region) { Region = region; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The resource ID. /// The resource region. /// Keeps track of any properties unknown to the library. - internal AssignedDeploymentResource(ResourceIdentifier resourceId, AzureLocation region, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringAssignedDeploymentResource(ResourceIdentifier resourceId, AzureLocation region, IDictionary serializedAdditionalRawData) { ResourceId = resourceId; Region = region; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal AssignedDeploymentResource() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringAssignedDeploymentResource() { } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentMetadata.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentMetadata.Serialization.cs similarity index 62% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentMetadata.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentMetadata.Serialization.cs index 3efab6615d4f..afda4a36e5b0 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentMetadata.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentMetadata.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class AssignedProjectDeploymentMetadata : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringAssignedProjectDeploymentMetadata : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignedProjectDeploymentMetadata)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentMetadata)} does not support writing '{format}' format."); } writer.WritePropertyName("deploymentName"u8); @@ -57,19 +57,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - AssignedProjectDeploymentMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringAssignedProjectDeploymentMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignedProjectDeploymentMetadata)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentMetadata)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeAssignedProjectDeploymentMetadata(document.RootElement, options); + return DeserializeConversationAuthoringAssignedProjectDeploymentMetadata(document.RootElement, options); } - internal static AssignedProjectDeploymentMetadata DeserializeAssignedProjectDeploymentMetadata(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringAssignedProjectDeploymentMetadata DeserializeConversationAuthoringAssignedProjectDeploymentMetadata(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -105,46 +105,46 @@ internal static AssignedProjectDeploymentMetadata DeserializeAssignedProjectDepl } } serializedAdditionalRawData = rawDataDictionary; - return new AssignedProjectDeploymentMetadata(deploymentName, lastDeployedDateTime, deploymentExpirationDate, serializedAdditionalRawData); + return new ConversationAuthoringAssignedProjectDeploymentMetadata(deploymentName, lastDeployedDateTime, deploymentExpirationDate, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(AssignedProjectDeploymentMetadata)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentMetadata)} does not support writing '{options.Format}' format."); } } - AssignedProjectDeploymentMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringAssignedProjectDeploymentMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeAssignedProjectDeploymentMetadata(document.RootElement, options); + return DeserializeConversationAuthoringAssignedProjectDeploymentMetadata(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(AssignedProjectDeploymentMetadata)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentMetadata)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static AssignedProjectDeploymentMetadata FromResponse(Response response) + internal static ConversationAuthoringAssignedProjectDeploymentMetadata FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeAssignedProjectDeploymentMetadata(document.RootElement); + return DeserializeConversationAuthoringAssignedProjectDeploymentMetadata(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentMetadata.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentMetadata.cs similarity index 78% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentMetadata.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentMetadata.cs index 60d656f1ef52..0a032c533da2 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentMetadata.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentMetadata.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the metadata for an assigned deployment. - public partial class AssignedProjectDeploymentMetadata + public partial class ConversationAuthoringAssignedProjectDeploymentMetadata { /// /// Keeps track of any properties unknown to the library. @@ -45,12 +45,12 @@ public partial class AssignedProjectDeploymentMetadata /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the deployment name. /// Represents deployment last deployed time. /// Represents deployment expiration date in the runtime. /// is null. - internal AssignedProjectDeploymentMetadata(string deploymentName, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiresOn) + internal ConversationAuthoringAssignedProjectDeploymentMetadata(string deploymentName, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiresOn) { Argument.AssertNotNull(deploymentName, nameof(deploymentName)); @@ -59,12 +59,12 @@ internal AssignedProjectDeploymentMetadata(string deploymentName, DateTimeOffset DeploymentExpiresOn = deploymentExpiresOn; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the deployment name. /// Represents deployment last deployed time. /// Represents deployment expiration date in the runtime. /// Keeps track of any properties unknown to the library. - internal AssignedProjectDeploymentMetadata(string deploymentName, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiresOn, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringAssignedProjectDeploymentMetadata(string deploymentName, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiresOn, IDictionary serializedAdditionalRawData) { DeploymentName = deploymentName; LastDeployedOn = lastDeployedOn; @@ -72,8 +72,8 @@ internal AssignedProjectDeploymentMetadata(string deploymentName, DateTimeOffset _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal AssignedProjectDeploymentMetadata() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringAssignedProjectDeploymentMetadata() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentsMetadata.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentsMetadata.Serialization.cs similarity index 58% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentsMetadata.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentsMetadata.Serialization.cs index a832f244af70..44b59baa1cdd 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentsMetadata.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentsMetadata.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class AssignedProjectDeploymentsMetadata : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringAssignedProjectDeploymentsMetadata : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignedProjectDeploymentsMetadata)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentsMetadata)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -63,19 +63,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - AssignedProjectDeploymentsMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringAssignedProjectDeploymentsMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(AssignedProjectDeploymentsMetadata)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentsMetadata)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeAssignedProjectDeploymentsMetadata(document.RootElement, options); + return DeserializeConversationAuthoringAssignedProjectDeploymentsMetadata(document.RootElement, options); } - internal static AssignedProjectDeploymentsMetadata DeserializeAssignedProjectDeploymentsMetadata(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringAssignedProjectDeploymentsMetadata DeserializeConversationAuthoringAssignedProjectDeploymentsMetadata(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -84,7 +84,7 @@ internal static AssignedProjectDeploymentsMetadata DeserializeAssignedProjectDep return null; } string projectName = default; - IReadOnlyList deploymentsMetadata = default; + IReadOnlyList deploymentsMetadata = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -96,10 +96,10 @@ internal static AssignedProjectDeploymentsMetadata DeserializeAssignedProjectDep } if (property.NameEquals("deploymentsMetadata"u8)) { - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AssignedProjectDeploymentMetadata.DeserializeAssignedProjectDeploymentMetadata(item, options)); + array.Add(ConversationAuthoringAssignedProjectDeploymentMetadata.DeserializeConversationAuthoringAssignedProjectDeploymentMetadata(item, options)); } deploymentsMetadata = array; continue; @@ -110,46 +110,46 @@ internal static AssignedProjectDeploymentsMetadata DeserializeAssignedProjectDep } } serializedAdditionalRawData = rawDataDictionary; - return new AssignedProjectDeploymentsMetadata(projectName, deploymentsMetadata, serializedAdditionalRawData); + return new ConversationAuthoringAssignedProjectDeploymentsMetadata(projectName, deploymentsMetadata, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(AssignedProjectDeploymentsMetadata)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentsMetadata)} does not support writing '{options.Format}' format."); } } - AssignedProjectDeploymentsMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringAssignedProjectDeploymentsMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeAssignedProjectDeploymentsMetadata(document.RootElement, options); + return DeserializeConversationAuthoringAssignedProjectDeploymentsMetadata(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(AssignedProjectDeploymentsMetadata)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringAssignedProjectDeploymentsMetadata)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static AssignedProjectDeploymentsMetadata FromResponse(Response response) + internal static ConversationAuthoringAssignedProjectDeploymentsMetadata FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeAssignedProjectDeploymentsMetadata(document.RootElement); + return DeserializeConversationAuthoringAssignedProjectDeploymentsMetadata(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentsMetadata.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentsMetadata.cs similarity index 71% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentsMetadata.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentsMetadata.cs index 1e0879194373..16577539a44e 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/AssignedProjectDeploymentsMetadata.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringAssignedProjectDeploymentsMetadata.cs @@ -12,7 +12,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the metadata for assigned deployments for a project. - public partial class AssignedProjectDeploymentsMetadata + public partial class ConversationAuthoringAssignedProjectDeploymentsMetadata { /// /// Keeps track of any properties unknown to the library. @@ -46,35 +46,35 @@ public partial class AssignedProjectDeploymentsMetadata /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the resource region. /// is null. - internal AssignedProjectDeploymentsMetadata(IEnumerable deploymentsMetadata) + internal ConversationAuthoringAssignedProjectDeploymentsMetadata(IEnumerable deploymentsMetadata) { Argument.AssertNotNull(deploymentsMetadata, nameof(deploymentsMetadata)); DeploymentsMetadata = deploymentsMetadata.ToList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project name. /// Represents the resource region. /// Keeps track of any properties unknown to the library. - internal AssignedProjectDeploymentsMetadata(string projectName, IReadOnlyList deploymentsMetadata, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringAssignedProjectDeploymentsMetadata(string projectName, IReadOnlyList deploymentsMetadata, IDictionary serializedAdditionalRawData) { ProjectName = projectName; DeploymentsMetadata = deploymentsMetadata; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal AssignedProjectDeploymentsMetadata() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringAssignedProjectDeploymentsMetadata() { } /// Represents the project name. public string ProjectName { get; } /// Represents the resource region. - public IReadOnlyList DeploymentsMetadata { get; } + public IReadOnlyList DeploymentsMetadata { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectDetails.Serialization.cs similarity index 72% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectDetails.Serialization.cs index 5ce8813df4bc..90ed2c38b5a4 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class CopyProjectDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringCopyProjectDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CopyProjectDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("projectKind"u8); @@ -63,19 +63,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - CopyProjectDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringCopyProjectDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CopyProjectDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCopyProjectDetails(document.RootElement, options); + return DeserializeConversationAuthoringCopyProjectDetails(document.RootElement, options); } - internal static CopyProjectDetails DeserializeCopyProjectDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringCopyProjectDetails DeserializeConversationAuthoringCopyProjectDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -129,7 +129,7 @@ internal static CopyProjectDetails DeserializeCopyProjectDetails(JsonElement ele } } serializedAdditionalRawData = rawDataDictionary; - return new CopyProjectDetails( + return new ConversationAuthoringCopyProjectDetails( projectKind, targetProjectName, accessToken, @@ -139,43 +139,43 @@ internal static CopyProjectDetails DeserializeCopyProjectDetails(JsonElement ele serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(CopyProjectDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectDetails)} does not support writing '{options.Format}' format."); } } - CopyProjectDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringCopyProjectDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeCopyProjectDetails(document.RootElement, options); + return DeserializeConversationAuthoringCopyProjectDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(CopyProjectDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static CopyProjectDetails FromResponse(Response response) + internal static ConversationAuthoringCopyProjectDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeCopyProjectDetails(document.RootElement); + return DeserializeConversationAuthoringCopyProjectDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectDetails.cs similarity index 85% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectDetails.cs index a0a6b1f004be..009aae9ec50a 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options for copying an existing project to another Azure resource. - public partial class CopyProjectDetails + public partial class ConversationAuthoringCopyProjectDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,7 +45,7 @@ public partial class CopyProjectDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project kind. /// The project name to be copied-into. /// The access token. @@ -53,7 +53,7 @@ public partial class CopyProjectDetails /// Represents the target Azure resource ID. /// Represents the target Azure resource region. /// , , or is null. - public CopyProjectDetails(ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion) + public ConversationAuthoringCopyProjectDetails(ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion) { Argument.AssertNotNull(targetProjectName, nameof(targetProjectName)); Argument.AssertNotNull(accessToken, nameof(accessToken)); @@ -68,7 +68,7 @@ public CopyProjectDetails(ConversationAuthoringProjectKind projectKind, string t TargetResourceRegion = targetResourceRegion; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project kind. /// The project name to be copied-into. /// The access token. @@ -76,7 +76,7 @@ public CopyProjectDetails(ConversationAuthoringProjectKind projectKind, string t /// Represents the target Azure resource ID. /// Represents the target Azure resource region. /// Keeps track of any properties unknown to the library. - internal CopyProjectDetails(ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringCopyProjectDetails(ConversationAuthoringProjectKind projectKind, string targetProjectName, string accessToken, DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion, IDictionary serializedAdditionalRawData) { ProjectKind = projectKind; TargetProjectName = targetProjectName; @@ -87,8 +87,8 @@ internal CopyProjectDetails(ConversationAuthoringProjectKind projectKind, string _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal CopyProjectDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringCopyProjectDetails() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectState.Serialization.cs similarity index 78% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectState.Serialization.cs index e2f4b626682e..2204fb69f154 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class CopyProjectOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringCopyProjectState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CopyProjectOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -87,19 +87,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - CopyProjectOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringCopyProjectState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CopyProjectOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCopyProjectOperationState(document.RootElement, options); + return DeserializeConversationAuthoringCopyProjectState(document.RootElement, options); } - internal static CopyProjectOperationState DeserializeCopyProjectOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringCopyProjectState DeserializeConversationAuthoringCopyProjectState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -181,7 +181,7 @@ internal static CopyProjectOperationState DeserializeCopyProjectOperationState(J } } serializedAdditionalRawData = rawDataDictionary; - return new CopyProjectOperationState( + return new ConversationAuthoringCopyProjectState( jobId, createdDateTime, lastUpdatedDateTime, @@ -192,43 +192,43 @@ internal static CopyProjectOperationState DeserializeCopyProjectOperationState(J serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(CopyProjectOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectState)} does not support writing '{options.Format}' format."); } } - CopyProjectOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringCopyProjectState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeCopyProjectOperationState(document.RootElement, options); + return DeserializeConversationAuthoringCopyProjectState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(CopyProjectOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCopyProjectState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static CopyProjectOperationState FromResponse(Response response) + internal static ConversationAuthoringCopyProjectState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeCopyProjectOperationState(document.RootElement); + return DeserializeConversationAuthoringCopyProjectState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectState.cs similarity index 84% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectState.cs index f7eda673610f..81db95516a71 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CopyProjectOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCopyProjectState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a copy job. - public partial class CopyProjectOperationState + public partial class ConversationAuthoringCopyProjectState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class CopyProjectOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal CopyProjectOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringCopyProjectState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal CopyProjectOperationState(DateTimeOffset createdOn, DateTimeOffset last Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal CopyProjectOperationState(DateTimeOffset createdOn, DateTimeOffset last /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal CopyProjectOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringCopyProjectState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal CopyProjectOperationState(string jobId, DateTimeOffset createdOn, DateT _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal CopyProjectOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringCopyProjectState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateDeploymentDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateDeploymentDetails.Serialization.cs similarity index 65% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateDeploymentDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateDeploymentDetails.Serialization.cs index 020ce4715307..cc0fba71c988 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateDeploymentDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateDeploymentDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class CreateDeploymentDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringCreateDeploymentDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CreateDeploymentDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateDeploymentDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("trainedModelLabel"u8); @@ -63,19 +63,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - CreateDeploymentDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringCreateDeploymentDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CreateDeploymentDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateDeploymentDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCreateDeploymentDetails(document.RootElement, options); + return DeserializeConversationAuthoringCreateDeploymentDetails(document.RootElement, options); } - internal static CreateDeploymentDetails DeserializeCreateDeploymentDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringCreateDeploymentDetails DeserializeConversationAuthoringCreateDeploymentDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -114,46 +114,46 @@ internal static CreateDeploymentDetails DeserializeCreateDeploymentDetails(JsonE } } serializedAdditionalRawData = rawDataDictionary; - return new CreateDeploymentDetails(trainedModelLabel, assignedResourceIds ?? new ChangeTrackingList(), serializedAdditionalRawData); + return new ConversationAuthoringCreateDeploymentDetails(trainedModelLabel, assignedResourceIds ?? new ChangeTrackingList(), serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(CreateDeploymentDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateDeploymentDetails)} does not support writing '{options.Format}' format."); } } - CreateDeploymentDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringCreateDeploymentDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeCreateDeploymentDetails(document.RootElement, options); + return DeserializeConversationAuthoringCreateDeploymentDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(CreateDeploymentDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateDeploymentDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static CreateDeploymentDetails FromResponse(Response response) + internal static ConversationAuthoringCreateDeploymentDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeCreateDeploymentDetails(document.RootElement); + return DeserializeConversationAuthoringCreateDeploymentDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateDeploymentDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateDeploymentDetails.cs similarity index 85% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateDeploymentDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateDeploymentDetails.cs index b9f368acccc1..ef30c6b0f8dd 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateDeploymentDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateDeploymentDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options for creating or updating a project deployment. - public partial class CreateDeploymentDetails + public partial class ConversationAuthoringCreateDeploymentDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,10 +45,10 @@ public partial class CreateDeploymentDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the trained model label. /// is null. - public CreateDeploymentDetails(string trainedModelLabel) + public ConversationAuthoringCreateDeploymentDetails(string trainedModelLabel) { Argument.AssertNotNull(trainedModelLabel, nameof(trainedModelLabel)); @@ -56,19 +56,19 @@ public CreateDeploymentDetails(string trainedModelLabel) AssignedResourceIds = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the trained model label. /// Represents the resource IDs to be assigned to the deployment. If provided, the deployment will be rolled out to the resources provided here as well as the original resource in which the project is created. /// Keeps track of any properties unknown to the library. - internal CreateDeploymentDetails(string trainedModelLabel, IList assignedResourceIds, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringCreateDeploymentDetails(string trainedModelLabel, IList assignedResourceIds, IDictionary serializedAdditionalRawData) { TrainedModelLabel = trainedModelLabel; AssignedResourceIds = assignedResourceIds; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal CreateDeploymentDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringCreateDeploymentDetails() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateProjectDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateProjectDetails.Serialization.cs similarity index 71% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateProjectDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateProjectDetails.Serialization.cs index b5401df2e097..bfbfe8a1d9eb 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateProjectDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateProjectDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class CreateProjectDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringCreateProjectDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CreateProjectDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateProjectDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("projectKind"u8); @@ -77,19 +77,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - CreateProjectDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringCreateProjectDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CreateProjectDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateProjectDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCreateProjectDetails(document.RootElement, options); + return DeserializeConversationAuthoringCreateProjectDetails(document.RootElement, options); } - internal static CreateProjectDetails DeserializeCreateProjectDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringCreateProjectDetails DeserializeConversationAuthoringCreateProjectDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -98,7 +98,7 @@ internal static CreateProjectDetails DeserializeCreateProjectDetails(JsonElement return null; } ConversationAuthoringProjectKind projectKind = default; - ProjectSettings settings = default; + ConversationAuthoringProjectSettings settings = default; string storageInputContainerName = default; string projectName = default; bool? multilingual = default; @@ -119,7 +119,7 @@ internal static CreateProjectDetails DeserializeCreateProjectDetails(JsonElement { continue; } - settings = ProjectSettings.DeserializeProjectSettings(property.Value, options); + settings = ConversationAuthoringProjectSettings.DeserializeConversationAuthoringProjectSettings(property.Value, options); continue; } if (property.NameEquals("storageInputContainerName"u8)) @@ -157,7 +157,7 @@ internal static CreateProjectDetails DeserializeCreateProjectDetails(JsonElement } } serializedAdditionalRawData = rawDataDictionary; - return new CreateProjectDetails( + return new ConversationAuthoringCreateProjectDetails( projectKind, settings, storageInputContainerName, @@ -168,43 +168,43 @@ internal static CreateProjectDetails DeserializeCreateProjectDetails(JsonElement serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(CreateProjectDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateProjectDetails)} does not support writing '{options.Format}' format."); } } - CreateProjectDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringCreateProjectDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeCreateProjectDetails(document.RootElement, options); + return DeserializeConversationAuthoringCreateProjectDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(CreateProjectDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringCreateProjectDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static CreateProjectDetails FromResponse(Response response) + internal static ConversationAuthoringCreateProjectDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeCreateProjectDetails(document.RootElement); + return DeserializeConversationAuthoringCreateProjectDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateProjectDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateProjectDetails.cs similarity index 70% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateProjectDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateProjectDetails.cs index a8138168a3e4..31c4fc3bc5cc 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/CreateProjectDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringCreateProjectDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options used to create or update a project. - public partial class CreateProjectDetails + public partial class ConversationAuthoringCreateProjectDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,7 +45,22 @@ public partial class CreateProjectDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . + /// Represents the project kind. + /// The new project name. + /// The project language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. + /// or is null. + public ConversationAuthoringCreateProjectDetails(ConversationAuthoringProjectKind projectKind, string projectName, string language) + { + Argument.AssertNotNull(projectName, nameof(projectName)); + Argument.AssertNotNull(language, nameof(language)); + + ProjectKind = projectKind; + ProjectName = projectName; + Language = language; + } + + /// Initializes a new instance of . /// Represents the project kind. /// The project settings. /// The storage container name in case of conversation summarization. @@ -54,7 +69,7 @@ public partial class CreateProjectDetails /// The project description. /// The project language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// Keeps track of any properties unknown to the library. - internal CreateProjectDetails(ConversationAuthoringProjectKind projectKind, ProjectSettings settings, string storageInputContainerName, string projectName, bool? multilingual, string description, string language, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringCreateProjectDetails(ConversationAuthoringProjectKind projectKind, ConversationAuthoringProjectSettings settings, string storageInputContainerName, string projectName, bool? multilingual, string description, string language, IDictionary serializedAdditionalRawData) { ProjectKind = projectKind; Settings = settings; @@ -66,15 +81,15 @@ internal CreateProjectDetails(ConversationAuthoringProjectKind projectKind, Proj _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal CreateProjectDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringCreateProjectDetails() { } /// Represents the project kind. public ConversationAuthoringProjectKind ProjectKind { get; } /// The project settings. - public ProjectSettings Settings { get; set; } + public ConversationAuthoringProjectSettings Settings { get; set; } /// The storage container name in case of conversation summarization. public string StorageInputContainerName { get; set; } /// Whether the project would be used for multiple languages or not. diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeleteDeploymentDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeleteDeploymentDetails.Serialization.cs similarity index 63% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeleteDeploymentDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeleteDeploymentDetails.Serialization.cs index deaae1c3c13d..d2a30966a6d9 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeleteDeploymentDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeleteDeploymentDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class DeleteDeploymentDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringDeleteDeploymentDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeleteDeploymentDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeleteDeploymentDetails)} does not support writing '{format}' format."); } if (Optional.IsCollectionDefined(AssignedResourceIds)) @@ -61,19 +61,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - DeleteDeploymentDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringDeleteDeploymentDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeleteDeploymentDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeleteDeploymentDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDeleteDeploymentDetails(document.RootElement, options); + return DeserializeConversationAuthoringDeleteDeploymentDetails(document.RootElement, options); } - internal static DeleteDeploymentDetails DeserializeDeleteDeploymentDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringDeleteDeploymentDetails DeserializeConversationAuthoringDeleteDeploymentDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -106,46 +106,46 @@ internal static DeleteDeploymentDetails DeserializeDeleteDeploymentDetails(JsonE } } serializedAdditionalRawData = rawDataDictionary; - return new DeleteDeploymentDetails(assignedResourceIds ?? new ChangeTrackingList(), serializedAdditionalRawData); + return new ConversationAuthoringDeleteDeploymentDetails(assignedResourceIds ?? new ChangeTrackingList(), serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(DeleteDeploymentDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeleteDeploymentDetails)} does not support writing '{options.Format}' format."); } } - DeleteDeploymentDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringDeleteDeploymentDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeDeleteDeploymentDetails(document.RootElement, options); + return DeserializeConversationAuthoringDeleteDeploymentDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(DeleteDeploymentDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeleteDeploymentDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static DeleteDeploymentDetails FromResponse(Response response) + internal static ConversationAuthoringDeleteDeploymentDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeDeleteDeploymentDetails(document.RootElement); + return DeserializeConversationAuthoringDeleteDeploymentDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeleteDeploymentDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeleteDeploymentDetails.cs similarity index 83% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeleteDeploymentDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeleteDeploymentDetails.cs index 7e5bda9823c2..85d08aaeac5b 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeleteDeploymentDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeleteDeploymentDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options for deleting a project deployment. - public partial class DeleteDeploymentDetails + public partial class ConversationAuthoringDeleteDeploymentDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,16 +45,16 @@ public partial class DeleteDeploymentDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - public DeleteDeploymentDetails() + /// Initializes a new instance of . + public ConversationAuthoringDeleteDeploymentDetails() { AssignedResourceIds = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the resource IDs to delete the deployment from. If not provided, the deployment will be rolled out from all the resources it is deployed to. If provided, it will delete the deployment only from the specified assigned resources, and leave it for the rest. /// Keeps track of any properties unknown to the library. - internal DeleteDeploymentDetails(IList assignedResourceIds, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringDeleteDeploymentDetails(IList assignedResourceIds, IDictionary serializedAdditionalRawData) { AssignedResourceIds = assignedResourceIds; _serializedAdditionalRawData = serializedAdditionalRawData; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentDeleteFromResourcesState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentDeleteFromResourcesState.Serialization.cs new file mode 100644 index 000000000000..deee6d4d8583 --- /dev/null +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentDeleteFromResourcesState.Serialization.cs @@ -0,0 +1,242 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.AI.Language.Conversations.Authoring +{ + public partial class ConversationAuthoringDeploymentDeleteFromResourcesState : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentDeleteFromResourcesState)} does not support writing '{format}' format."); + } + + if (options.Format != "W") + { + writer.WritePropertyName("jobId"u8); + writer.WriteStringValue(JobId); + } + writer.WritePropertyName("createdDateTime"u8); + writer.WriteStringValue(CreatedOn, "O"); + writer.WritePropertyName("lastUpdatedDateTime"u8); + writer.WriteStringValue(LastUpdatedOn, "O"); + if (Optional.IsDefined(ExpiresOn)) + { + writer.WritePropertyName("expirationDateTime"u8); + writer.WriteStringValue(ExpiresOn.Value, "O"); + } + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + if (Optional.IsCollectionDefined(Warnings)) + { + writer.WritePropertyName("warnings"u8); + writer.WriteStartArray(); + foreach (var item in Warnings) + { + JsonSerializer.Serialize(writer, item); + } + writer.WriteEndArray(); + } + if (Optional.IsCollectionDefined(Errors)) + { + writer.WritePropertyName("errors"u8); + writer.WriteStartArray(); + foreach (var item in Errors) + { + JsonSerializer.Serialize(writer, item); + } + writer.WriteEndArray(); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + ConversationAuthoringDeploymentDeleteFromResourcesState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentDeleteFromResourcesState)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeConversationAuthoringDeploymentDeleteFromResourcesState(document.RootElement, options); + } + + internal static ConversationAuthoringDeploymentDeleteFromResourcesState DeserializeConversationAuthoringDeploymentDeleteFromResourcesState(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string jobId = default; + DateTimeOffset createdDateTime = default; + DateTimeOffset lastUpdatedDateTime = default; + DateTimeOffset? expirationDateTime = default; + ConversationAuthoringOperationStatus status = default; + IReadOnlyList warnings = default; + IReadOnlyList errors = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("jobId"u8)) + { + jobId = property.Value.GetString(); + continue; + } + if (property.NameEquals("createdDateTime"u8)) + { + createdDateTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("lastUpdatedDateTime"u8)) + { + lastUpdatedDateTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("expirationDateTime"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + expirationDateTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("status"u8)) + { + status = new ConversationAuthoringOperationStatus(property.Value.GetString()); + continue; + } + if (property.NameEquals("warnings"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(JsonSerializer.Deserialize(item.GetRawText())); + } + warnings = array; + continue; + } + if (property.NameEquals("errors"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(JsonSerializer.Deserialize(item.GetRawText())); + } + errors = array; + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new ConversationAuthoringDeploymentDeleteFromResourcesState( + jobId, + createdDateTime, + lastUpdatedDateTime, + expirationDateTime, + status, + warnings ?? new ChangeTrackingList(), + errors ?? new ChangeTrackingList(), + serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentDeleteFromResourcesState)} does not support writing '{options.Format}' format."); + } + } + + ConversationAuthoringDeploymentDeleteFromResourcesState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeConversationAuthoringDeploymentDeleteFromResourcesState(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentDeleteFromResourcesState)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + + /// Deserializes the model from a raw response. + /// The response to deserialize the model from. + internal static ConversationAuthoringDeploymentDeleteFromResourcesState FromResponse(Response response) + { + using var document = JsonDocument.Parse(response.Content); + return DeserializeConversationAuthoringDeploymentDeleteFromResourcesState(document.RootElement); + } + + /// Convert into a . + internal virtual RequestContent ToRequestContent() + { + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); + return content; + } + } +} diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentDeleteFromResourcesOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentDeleteFromResourcesState.cs similarity index 78% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentDeleteFromResourcesOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentDeleteFromResourcesState.cs index 60bf065a5daf..c38502a2acee 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentDeleteFromResourcesOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentDeleteFromResourcesState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of an existing delete deployment from specific resources job. - public partial class DeploymentDeleteFromResourcesOperationState + public partial class ConversationAuthoringDeploymentDeleteFromResourcesState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class DeploymentDeleteFromResourcesOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal DeploymentDeleteFromResourcesOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringDeploymentDeleteFromResourcesState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal DeploymentDeleteFromResourcesOperationState(DateTimeOffset createdOn, D Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal DeploymentDeleteFromResourcesOperationState(DateTimeOffset createdOn, D /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal DeploymentDeleteFromResourcesOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringDeploymentDeleteFromResourcesState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal DeploymentDeleteFromResourcesOperationState(string jobId, DateTimeOffse _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal DeploymentDeleteFromResourcesOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringDeploymentDeleteFromResourcesState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResource.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResource.Serialization.cs similarity index 63% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResource.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResource.Serialization.cs index f0674e147fdc..1831b9d355fe 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResource.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResource.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class DeploymentResource : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringDeploymentResource : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeploymentResource)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResource)} does not support writing '{format}' format."); } writer.WritePropertyName("resourceId"u8); @@ -55,19 +55,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - DeploymentResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringDeploymentResource IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeploymentResource)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResource)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDeploymentResource(document.RootElement, options); + return DeserializeConversationAuthoringDeploymentResource(document.RootElement, options); } - internal static DeploymentResource DeserializeDeploymentResource(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringDeploymentResource DeserializeConversationAuthoringDeploymentResource(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -97,46 +97,46 @@ internal static DeploymentResource DeserializeDeploymentResource(JsonElement ele } } serializedAdditionalRawData = rawDataDictionary; - return new DeploymentResource(resourceId, region, serializedAdditionalRawData); + return new ConversationAuthoringDeploymentResource(resourceId, region, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(DeploymentResource)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResource)} does not support writing '{options.Format}' format."); } } - DeploymentResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringDeploymentResource IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeDeploymentResource(document.RootElement, options); + return DeserializeConversationAuthoringDeploymentResource(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(DeploymentResource)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResource)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static DeploymentResource FromResponse(Response response) + internal static ConversationAuthoringDeploymentResource FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeDeploymentResource(document.RootElement); + return DeserializeConversationAuthoringDeploymentResource(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResource.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResource.cs similarity index 79% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResource.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResource.cs index b51b8125b312..e71c35824b1a 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResource.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResource.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents an Azure resource assigned to a deployment. - public partial class DeploymentResource + public partial class ConversationAuthoringDeploymentResource { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class DeploymentResource /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the Azure resource Id. /// Represents the resource region. /// or is null. - internal DeploymentResource(string resourceId, string region) + internal ConversationAuthoringDeploymentResource(string resourceId, string region) { Argument.AssertNotNull(resourceId, nameof(resourceId)); Argument.AssertNotNull(region, nameof(region)); @@ -58,19 +58,19 @@ internal DeploymentResource(string resourceId, string region) Region = region; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the Azure resource Id. /// Represents the resource region. /// Keeps track of any properties unknown to the library. - internal DeploymentResource(string resourceId, string region, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringDeploymentResource(string resourceId, string region, IDictionary serializedAdditionalRawData) { ResourceId = resourceId; Region = region; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal DeploymentResource() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringDeploymentResource() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResourcesState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResourcesState.Serialization.cs new file mode 100644 index 000000000000..f3ef774f7410 --- /dev/null +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResourcesState.Serialization.cs @@ -0,0 +1,242 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.AI.Language.Conversations.Authoring +{ + public partial class ConversationAuthoringDeploymentResourcesState : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResourcesState)} does not support writing '{format}' format."); + } + + if (options.Format != "W") + { + writer.WritePropertyName("jobId"u8); + writer.WriteStringValue(JobId); + } + writer.WritePropertyName("createdDateTime"u8); + writer.WriteStringValue(CreatedOn, "O"); + writer.WritePropertyName("lastUpdatedDateTime"u8); + writer.WriteStringValue(LastUpdatedOn, "O"); + if (Optional.IsDefined(ExpiresOn)) + { + writer.WritePropertyName("expirationDateTime"u8); + writer.WriteStringValue(ExpiresOn.Value, "O"); + } + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + if (Optional.IsCollectionDefined(Warnings)) + { + writer.WritePropertyName("warnings"u8); + writer.WriteStartArray(); + foreach (var item in Warnings) + { + JsonSerializer.Serialize(writer, item); + } + writer.WriteEndArray(); + } + if (Optional.IsCollectionDefined(Errors)) + { + writer.WritePropertyName("errors"u8); + writer.WriteStartArray(); + foreach (var item in Errors) + { + JsonSerializer.Serialize(writer, item); + } + writer.WriteEndArray(); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + ConversationAuthoringDeploymentResourcesState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResourcesState)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeConversationAuthoringDeploymentResourcesState(document.RootElement, options); + } + + internal static ConversationAuthoringDeploymentResourcesState DeserializeConversationAuthoringDeploymentResourcesState(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string jobId = default; + DateTimeOffset createdDateTime = default; + DateTimeOffset lastUpdatedDateTime = default; + DateTimeOffset? expirationDateTime = default; + ConversationAuthoringOperationStatus status = default; + IReadOnlyList warnings = default; + IReadOnlyList errors = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("jobId"u8)) + { + jobId = property.Value.GetString(); + continue; + } + if (property.NameEquals("createdDateTime"u8)) + { + createdDateTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("lastUpdatedDateTime"u8)) + { + lastUpdatedDateTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("expirationDateTime"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + expirationDateTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("status"u8)) + { + status = new ConversationAuthoringOperationStatus(property.Value.GetString()); + continue; + } + if (property.NameEquals("warnings"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(JsonSerializer.Deserialize(item.GetRawText())); + } + warnings = array; + continue; + } + if (property.NameEquals("errors"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(JsonSerializer.Deserialize(item.GetRawText())); + } + errors = array; + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new ConversationAuthoringDeploymentResourcesState( + jobId, + createdDateTime, + lastUpdatedDateTime, + expirationDateTime, + status, + warnings ?? new ChangeTrackingList(), + errors ?? new ChangeTrackingList(), + serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResourcesState)} does not support writing '{options.Format}' format."); + } + } + + ConversationAuthoringDeploymentResourcesState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeConversationAuthoringDeploymentResourcesState(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentResourcesState)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + + /// Deserializes the model from a raw response. + /// The response to deserialize the model from. + internal static ConversationAuthoringDeploymentResourcesState FromResponse(Response response) + { + using var document = JsonDocument.Parse(response.Content); + return DeserializeConversationAuthoringDeploymentResourcesState(document.RootElement); + } + + /// Convert into a . + internal virtual RequestContent ToRequestContent() + { + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); + return content; + } + } +} diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResourcesOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResourcesState.cs similarity index 79% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResourcesOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResourcesState.cs index 2851bf8d4e14..b64fa0be7198 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResourcesOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentResourcesState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a deployment resources job. - public partial class DeploymentResourcesOperationState + public partial class ConversationAuthoringDeploymentResourcesState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class DeploymentResourcesOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal DeploymentResourcesOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringDeploymentResourcesState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal DeploymentResourcesOperationState(DateTimeOffset createdOn, DateTimeOff Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal DeploymentResourcesOperationState(DateTimeOffset createdOn, DateTimeOff /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal DeploymentResourcesOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringDeploymentResourcesState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal DeploymentResourcesOperationState(string jobId, DateTimeOffset createdO _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal DeploymentResourcesOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringDeploymentResourcesState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentState.Serialization.cs similarity index 77% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentState.Serialization.cs index 5a07c9dd368c..b5c01e0309f9 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class DeploymentOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringDeploymentState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeploymentOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -87,19 +87,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - DeploymentOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringDeploymentState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeploymentOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDeploymentOperationState(document.RootElement, options); + return DeserializeConversationAuthoringDeploymentState(document.RootElement, options); } - internal static DeploymentOperationState DeserializeDeploymentOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringDeploymentState DeserializeConversationAuthoringDeploymentState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -181,7 +181,7 @@ internal static DeploymentOperationState DeserializeDeploymentOperationState(Jso } } serializedAdditionalRawData = rawDataDictionary; - return new DeploymentOperationState( + return new ConversationAuthoringDeploymentState( jobId, createdDateTime, lastUpdatedDateTime, @@ -192,43 +192,43 @@ internal static DeploymentOperationState DeserializeDeploymentOperationState(Jso serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(DeploymentOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentState)} does not support writing '{options.Format}' format."); } } - DeploymentOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringDeploymentState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeDeploymentOperationState(document.RootElement, options); + return DeserializeConversationAuthoringDeploymentState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(DeploymentOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringDeploymentState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static DeploymentOperationState FromResponse(Response response) + internal static ConversationAuthoringDeploymentState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeDeploymentOperationState(document.RootElement); + return DeserializeConversationAuthoringDeploymentState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentState.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentState.cs index 9669ddada9e6..10df57ec8326 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringDeploymentState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a deployment job. - public partial class SwapDeploymentsOperationState + public partial class ConversationAuthoringDeploymentState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class SwapDeploymentsOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal SwapDeploymentsOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringDeploymentState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal SwapDeploymentsOperationState(DateTimeOffset createdOn, DateTimeOffset Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal SwapDeploymentsOperationState(DateTimeOffset createdOn, DateTimeOffset /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal SwapDeploymentsOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringDeploymentState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal SwapDeploymentsOperationState(string jobId, DateTimeOffset createdOn, D _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal SwapDeploymentsOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringDeploymentState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntityEvaluationSummary.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEntityEvalSummary.Serialization.cs similarity index 71% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntityEvaluationSummary.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEntityEvalSummary.Serialization.cs index b24296111e4f..7d64114c8855 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntityEvaluationSummary.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEntityEvalSummary.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class EntityEvaluationSummary : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringEntityEvalSummary : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReade /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EntityEvaluationSummary)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEntityEvalSummary)} does not support writing '{format}' format."); } writer.WritePropertyName("f1"u8); @@ -65,19 +65,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - EntityEvaluationSummary IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringEntityEvalSummary IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EntityEvaluationSummary)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEntityEvalSummary)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeEntityEvaluationSummary(document.RootElement, options); + return DeserializeConversationAuthoringEntityEvalSummary(document.RootElement, options); } - internal static EntityEvaluationSummary DeserializeEntityEvaluationSummary(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringEntityEvalSummary DeserializeConversationAuthoringEntityEvalSummary(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -137,7 +137,7 @@ internal static EntityEvaluationSummary DeserializeEntityEvaluationSummary(JsonE } } serializedAdditionalRawData = rawDataDictionary; - return new EntityEvaluationSummary( + return new ConversationAuthoringEntityEvalSummary( f1, precision, recall, @@ -148,43 +148,43 @@ internal static EntityEvaluationSummary DeserializeEntityEvaluationSummary(JsonE serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(EntityEvaluationSummary)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEntityEvalSummary)} does not support writing '{options.Format}' format."); } } - EntityEvaluationSummary IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringEntityEvalSummary IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeEntityEvaluationSummary(document.RootElement, options); + return DeserializeConversationAuthoringEntityEvalSummary(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(EntityEvaluationSummary)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEntityEvalSummary)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static EntityEvaluationSummary FromResponse(Response response) + internal static ConversationAuthoringEntityEvalSummary FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeEntityEvaluationSummary(document.RootElement); + return DeserializeConversationAuthoringEntityEvalSummary(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntityEvaluationSummary.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEntityEvalSummary.cs similarity index 82% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntityEvaluationSummary.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEntityEvalSummary.cs index f3651fbab12c..e39274c0b7f2 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntityEvaluationSummary.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEntityEvalSummary.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the evaluation result for an entity. - public partial class EntityEvaluationSummary + public partial class ConversationAuthoringEntityEvalSummary { /// /// Keeps track of any properties unknown to the library. @@ -45,7 +45,7 @@ public partial class EntityEvaluationSummary /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the model F1 score. /// Represents the model precision. /// Represents the model precision. @@ -53,7 +53,7 @@ public partial class EntityEvaluationSummary /// Represents the count of true negative. /// Represents the count of false positive. /// Represents the count of false negative. - internal EntityEvaluationSummary(double f1, double precision, double recall, int truePositiveCount, int trueNegativeCount, int falsePositiveCount, int falseNegativeCount) + internal ConversationAuthoringEntityEvalSummary(double f1, double precision, double recall, int truePositiveCount, int trueNegativeCount, int falsePositiveCount, int falseNegativeCount) { F1 = f1; Precision = precision; @@ -64,7 +64,7 @@ internal EntityEvaluationSummary(double f1, double precision, double recall, int FalseNegativeCount = falseNegativeCount; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the model F1 score. /// Represents the model precision. /// Represents the model precision. @@ -73,7 +73,7 @@ internal EntityEvaluationSummary(double f1, double precision, double recall, int /// Represents the count of false positive. /// Represents the count of false negative. /// Keeps track of any properties unknown to the library. - internal EntityEvaluationSummary(double f1, double precision, double recall, int truePositiveCount, int trueNegativeCount, int falsePositiveCount, int falseNegativeCount, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringEntityEvalSummary(double f1, double precision, double recall, int truePositiveCount, int trueNegativeCount, int falsePositiveCount, int falseNegativeCount, IDictionary serializedAdditionalRawData) { F1 = f1; Precision = precision; @@ -85,8 +85,8 @@ internal EntityEvaluationSummary(double f1, double precision, double recall, int _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal EntityEvaluationSummary() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringEntityEvalSummary() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationSummary.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvalSummary.Serialization.cs similarity index 65% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationSummary.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvalSummary.Serialization.cs index b6f62cde0c38..c30fdbcde9fd 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationSummary.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvalSummary.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class EvaluationSummary : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringEvalSummary : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationSummary)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvalSummary)} does not support writing '{format}' format."); } writer.WritePropertyName("entitiesEvaluation"u8); @@ -60,19 +60,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - EvaluationSummary IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringEvalSummary IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationSummary)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvalSummary)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeEvaluationSummary(document.RootElement, options); + return DeserializeConversationAuthoringEvalSummary(document.RootElement, options); } - internal static EvaluationSummary DeserializeEvaluationSummary(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringEvalSummary DeserializeConversationAuthoringEvalSummary(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -82,7 +82,7 @@ internal static EvaluationSummary DeserializeEvaluationSummary(JsonElement eleme } EntitiesEvaluationSummary entitiesEvaluation = default; IntentsEvaluationSummary intentsEvaluation = default; - EvaluationDetails evaluationOptions = default; + ConversationAuthoringEvaluationDetails evaluationOptions = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -103,7 +103,7 @@ internal static EvaluationSummary DeserializeEvaluationSummary(JsonElement eleme { continue; } - evaluationOptions = EvaluationDetails.DeserializeEvaluationDetails(property.Value, options); + evaluationOptions = ConversationAuthoringEvaluationDetails.DeserializeConversationAuthoringEvaluationDetails(property.Value, options); continue; } if (options.Format != "W") @@ -112,46 +112,46 @@ internal static EvaluationSummary DeserializeEvaluationSummary(JsonElement eleme } } serializedAdditionalRawData = rawDataDictionary; - return new EvaluationSummary(entitiesEvaluation, intentsEvaluation, evaluationOptions, serializedAdditionalRawData); + return new ConversationAuthoringEvalSummary(entitiesEvaluation, intentsEvaluation, evaluationOptions, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(EvaluationSummary)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvalSummary)} does not support writing '{options.Format}' format."); } } - EvaluationSummary IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringEvalSummary IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeEvaluationSummary(document.RootElement, options); + return DeserializeConversationAuthoringEvalSummary(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(EvaluationSummary)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvalSummary)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static EvaluationSummary FromResponse(Response response) + internal static ConversationAuthoringEvalSummary FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeEvaluationSummary(document.RootElement); + return DeserializeConversationAuthoringEvalSummary(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationSummary.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvalSummary.cs similarity index 78% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationSummary.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvalSummary.cs index be295813afda..5544f4b9a783 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationSummary.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvalSummary.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the evaluation result summary. - public partial class EvaluationSummary + public partial class ConversationAuthoringEvalSummary { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class EvaluationSummary /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Contains the data related to entities evaluation. /// Contains the data related to intents evaluation. /// or is null. - internal EvaluationSummary(EntitiesEvaluationSummary entitiesEvaluation, IntentsEvaluationSummary intentsEvaluation) + internal ConversationAuthoringEvalSummary(EntitiesEvaluationSummary entitiesEvaluation, IntentsEvaluationSummary intentsEvaluation) { Argument.AssertNotNull(entitiesEvaluation, nameof(entitiesEvaluation)); Argument.AssertNotNull(intentsEvaluation, nameof(intentsEvaluation)); @@ -58,12 +58,12 @@ internal EvaluationSummary(EntitiesEvaluationSummary entitiesEvaluation, Intents IntentsEvaluation = intentsEvaluation; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Contains the data related to entities evaluation. /// Contains the data related to intents evaluation. /// The options that were used while running the evaluation. /// Keeps track of any properties unknown to the library. - internal EvaluationSummary(EntitiesEvaluationSummary entitiesEvaluation, IntentsEvaluationSummary intentsEvaluation, EvaluationDetails evaluationOptions, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringEvalSummary(EntitiesEvaluationSummary entitiesEvaluation, IntentsEvaluationSummary intentsEvaluation, ConversationAuthoringEvaluationDetails evaluationOptions, IDictionary serializedAdditionalRawData) { EntitiesEvaluation = entitiesEvaluation; IntentsEvaluation = intentsEvaluation; @@ -71,8 +71,8 @@ internal EvaluationSummary(EntitiesEvaluationSummary entitiesEvaluation, Intents _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal EvaluationSummary() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringEvalSummary() { } @@ -81,6 +81,6 @@ internal EvaluationSummary() /// Contains the data related to intents evaluation. public IntentsEvaluationSummary IntentsEvaluation { get; } /// The options that were used while running the evaluation. - public EvaluationDetails EvaluationOptions { get; } + public ConversationAuthoringEvaluationDetails EvaluationOptions { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationDetails.Serialization.cs similarity index 68% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationDetails.Serialization.cs index 1bf84bb3b59a..dc636fe7e4f1 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class EvaluationDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringEvaluationDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationDetails)} does not support writing '{format}' format."); } if (Optional.IsDefined(Kind)) @@ -66,19 +66,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - EvaluationDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringEvaluationDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeEvaluationDetails(document.RootElement, options); + return DeserializeConversationAuthoringEvaluationDetails(document.RootElement, options); } - internal static EvaluationDetails DeserializeEvaluationDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringEvaluationDetails DeserializeConversationAuthoringEvaluationDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -126,46 +126,46 @@ internal static EvaluationDetails DeserializeEvaluationDetails(JsonElement eleme } } serializedAdditionalRawData = rawDataDictionary; - return new EvaluationDetails(kind, trainingSplitPercentage, testingSplitPercentage, serializedAdditionalRawData); + return new ConversationAuthoringEvaluationDetails(kind, trainingSplitPercentage, testingSplitPercentage, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(EvaluationDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationDetails)} does not support writing '{options.Format}' format."); } } - EvaluationDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringEvaluationDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeEvaluationDetails(document.RootElement, options); + return DeserializeConversationAuthoringEvaluationDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(EvaluationDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static EvaluationDetails FromResponse(Response response) + internal static ConversationAuthoringEvaluationDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeEvaluationDetails(document.RootElement); + return DeserializeConversationAuthoringEvaluationDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationDetails.cs similarity index 84% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationDetails.cs index b1c8f9763f79..655a9f13b6f6 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options used running the evaluation. - public partial class EvaluationDetails + public partial class ConversationAuthoringEvaluationDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,17 +45,17 @@ public partial class EvaluationDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - public EvaluationDetails() + /// Initializes a new instance of . + public ConversationAuthoringEvaluationDetails() { } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the evaluation kind. By default, the evaluation kind is set to percentage. /// Represents the training dataset split percentage. Only needed in case the evaluation kind is percentage. /// Represents the testing dataset split percentage. Only needed in case the evaluation kind is percentage. /// Keeps track of any properties unknown to the library. - internal EvaluationDetails(ConversationAuthoringEvaluationKind? kind, int? trainingSplitPercentage, int? testingSplitPercentage, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringEvaluationDetails(ConversationAuthoringEvaluationKind? kind, int? trainingSplitPercentage, int? testingSplitPercentage, IDictionary serializedAdditionalRawData) { Kind = kind; TrainingSplitPercentage = trainingSplitPercentage; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationJobResult.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationJobResult.Serialization.cs similarity index 63% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationJobResult.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationJobResult.Serialization.cs index 7be7117446a4..47258fa4ba95 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationJobResult.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationJobResult.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class EvaluationJobResult : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringEvaluationJobResult : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationJobResult)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationJobResult)} does not support writing '{format}' format."); } writer.WritePropertyName("evaluationOptions"u8); @@ -59,19 +59,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - EvaluationJobResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringEvaluationJobResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationJobResult)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationJobResult)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeEvaluationJobResult(document.RootElement, options); + return DeserializeConversationAuthoringEvaluationJobResult(document.RootElement, options); } - internal static EvaluationJobResult DeserializeEvaluationJobResult(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringEvaluationJobResult DeserializeConversationAuthoringEvaluationJobResult(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -79,7 +79,7 @@ internal static EvaluationJobResult DeserializeEvaluationJobResult(JsonElement e { return null; } - EvaluationDetails evaluationOptions = default; + ConversationAuthoringEvaluationDetails evaluationOptions = default; string modelLabel = default; string trainingConfigVersion = default; int percentComplete = default; @@ -89,7 +89,7 @@ internal static EvaluationJobResult DeserializeEvaluationJobResult(JsonElement e { if (property.NameEquals("evaluationOptions"u8)) { - evaluationOptions = EvaluationDetails.DeserializeEvaluationDetails(property.Value, options); + evaluationOptions = ConversationAuthoringEvaluationDetails.DeserializeConversationAuthoringEvaluationDetails(property.Value, options); continue; } if (property.NameEquals("modelLabel"u8)) @@ -113,46 +113,46 @@ internal static EvaluationJobResult DeserializeEvaluationJobResult(JsonElement e } } serializedAdditionalRawData = rawDataDictionary; - return new EvaluationJobResult(evaluationOptions, modelLabel, trainingConfigVersion, percentComplete, serializedAdditionalRawData); + return new ConversationAuthoringEvaluationJobResult(evaluationOptions, modelLabel, trainingConfigVersion, percentComplete, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(EvaluationJobResult)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationJobResult)} does not support writing '{options.Format}' format."); } } - EvaluationJobResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringEvaluationJobResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeEvaluationJobResult(document.RootElement, options); + return DeserializeConversationAuthoringEvaluationJobResult(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(EvaluationJobResult)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationJobResult)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static EvaluationJobResult FromResponse(Response response) + internal static ConversationAuthoringEvaluationJobResult FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeEvaluationJobResult(document.RootElement); + return DeserializeConversationAuthoringEvaluationJobResult(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationJobResult.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationJobResult.cs similarity index 77% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationJobResult.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationJobResult.cs index 01e1779da773..92148c3e6fab 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationJobResult.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationJobResult.cs @@ -10,8 +10,8 @@ namespace Azure.AI.Language.Conversations.Authoring { - /// The EvaluationJobResult. - public partial class EvaluationJobResult + /// The ConversationAuthoringEvaluationJobResult. + public partial class ConversationAuthoringEvaluationJobResult { /// /// Keeps track of any properties unknown to the library. @@ -45,13 +45,13 @@ public partial class EvaluationJobResult /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the options used running the evaluation. /// Represents trained model label. /// Represents training config version. /// Represents progress percentage. /// , or is null. - internal EvaluationJobResult(EvaluationDetails evaluationDetails, string modelLabel, string trainingConfigVersion, int percentComplete) + internal ConversationAuthoringEvaluationJobResult(ConversationAuthoringEvaluationDetails evaluationDetails, string modelLabel, string trainingConfigVersion, int percentComplete) { Argument.AssertNotNull(evaluationDetails, nameof(evaluationDetails)); Argument.AssertNotNull(modelLabel, nameof(modelLabel)); @@ -63,13 +63,13 @@ internal EvaluationJobResult(EvaluationDetails evaluationDetails, string modelLa PercentComplete = percentComplete; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the options used running the evaluation. /// Represents trained model label. /// Represents training config version. /// Represents progress percentage. /// Keeps track of any properties unknown to the library. - internal EvaluationJobResult(EvaluationDetails evaluationDetails, string modelLabel, string trainingConfigVersion, int percentComplete, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringEvaluationJobResult(ConversationAuthoringEvaluationDetails evaluationDetails, string modelLabel, string trainingConfigVersion, int percentComplete, IDictionary serializedAdditionalRawData) { EvaluationDetails = evaluationDetails; ModelLabel = modelLabel; @@ -78,13 +78,13 @@ internal EvaluationJobResult(EvaluationDetails evaluationDetails, string modelLa _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal EvaluationJobResult() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringEvaluationJobResult() { } /// Represents the options used running the evaluation. - public EvaluationDetails EvaluationDetails { get; } + public ConversationAuthoringEvaluationDetails EvaluationDetails { get; } /// Represents trained model label. public string ModelLabel { get; } /// Represents training config version. diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationState.Serialization.cs similarity index 76% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationState.Serialization.cs index 5cdce40c8bfd..ec624be1fce0 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class EvaluationOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringEvaluationState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRead /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -89,19 +89,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - EvaluationOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringEvaluationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(EvaluationOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeEvaluationOperationState(document.RootElement, options); + return DeserializeConversationAuthoringEvaluationState(document.RootElement, options); } - internal static EvaluationOperationState DeserializeEvaluationOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringEvaluationState DeserializeConversationAuthoringEvaluationState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -116,7 +116,7 @@ internal static EvaluationOperationState DeserializeEvaluationOperationState(Jso ConversationAuthoringOperationStatus status = default; IReadOnlyList warnings = default; IReadOnlyList errors = default; - EvaluationJobResult result = default; + ConversationAuthoringEvaluationJobResult result = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -180,7 +180,7 @@ internal static EvaluationOperationState DeserializeEvaluationOperationState(Jso } if (property.NameEquals("result"u8)) { - result = EvaluationJobResult.DeserializeEvaluationJobResult(property.Value, options); + result = ConversationAuthoringEvaluationJobResult.DeserializeConversationAuthoringEvaluationJobResult(property.Value, options); continue; } if (options.Format != "W") @@ -189,7 +189,7 @@ internal static EvaluationOperationState DeserializeEvaluationOperationState(Jso } } serializedAdditionalRawData = rawDataDictionary; - return new EvaluationOperationState( + return new ConversationAuthoringEvaluationState( jobId, createdDateTime, lastUpdatedDateTime, @@ -201,43 +201,43 @@ internal static EvaluationOperationState DeserializeEvaluationOperationState(Jso serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(EvaluationOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationState)} does not support writing '{options.Format}' format."); } } - EvaluationOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringEvaluationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeEvaluationOperationState(document.RootElement, options); + return DeserializeConversationAuthoringEvaluationState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(EvaluationOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringEvaluationState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static EvaluationOperationState FromResponse(Response response) + internal static ConversationAuthoringEvaluationState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeEvaluationOperationState(document.RootElement); + return DeserializeConversationAuthoringEvaluationState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationState.cs similarity index 79% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationState.cs index 76deb4b47625..7ce688b5bab4 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EvaluationOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringEvaluationState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a evaluation job. - public partial class EvaluationOperationState + public partial class ConversationAuthoringEvaluationState { /// /// Keeps track of any properties unknown to the library. @@ -45,13 +45,13 @@ public partial class EvaluationOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. /// Represents evaluation task detailed result. /// is null. - internal EvaluationOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status, EvaluationJobResult result) + internal ConversationAuthoringEvaluationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status, ConversationAuthoringEvaluationJobResult result) { Argument.AssertNotNull(result, nameof(result)); @@ -63,7 +63,7 @@ internal EvaluationOperationState(DateTimeOffset createdOn, DateTimeOffset lastU Result = result; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -73,7 +73,7 @@ internal EvaluationOperationState(DateTimeOffset createdOn, DateTimeOffset lastU /// The errors encountered while executing the job. /// Represents evaluation task detailed result. /// Keeps track of any properties unknown to the library. - internal EvaluationOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, EvaluationJobResult result, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringEvaluationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, ConversationAuthoringEvaluationJobResult result, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -86,8 +86,8 @@ internal EvaluationOperationState(string jobId, DateTimeOffset createdOn, DateTi _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal EvaluationOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringEvaluationState() { } @@ -106,6 +106,6 @@ internal EvaluationOperationState() /// The errors encountered while executing the job. public IReadOnlyList Errors { get; } /// Represents evaluation task detailed result. - public EvaluationJobResult Result { get; } + public ConversationAuthoringEvaluationJobResult Result { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportProjectOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportProjectState.Serialization.cs similarity index 77% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportProjectOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportProjectState.Serialization.cs index 96b58d426773..d9c9e003cd0e 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportProjectOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportProjectState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportProjectOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportProjectState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportProjectOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportProjectState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -92,19 +92,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportProjectOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportProjectState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportProjectOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportProjectState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportProjectOperationState(document.RootElement, options); + return DeserializeConversationAuthoringExportProjectState(document.RootElement, options); } - internal static ExportProjectOperationState DeserializeExportProjectOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportProjectState DeserializeConversationAuthoringExportProjectState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -192,7 +192,7 @@ internal static ExportProjectOperationState DeserializeExportProjectOperationSta } } serializedAdditionalRawData = rawDataDictionary; - return new ExportProjectOperationState( + return new ConversationAuthoringExportProjectState( jobId, createdDateTime, lastUpdatedDateTime, @@ -204,43 +204,43 @@ internal static ExportProjectOperationState DeserializeExportProjectOperationSta serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportProjectOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportProjectState)} does not support writing '{options.Format}' format."); } } - ExportProjectOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportProjectState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportProjectOperationState(document.RootElement, options); + return DeserializeConversationAuthoringExportProjectState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportProjectOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportProjectState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportProjectOperationState FromResponse(Response response) + internal static ConversationAuthoringExportProjectState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportProjectOperationState(document.RootElement); + return DeserializeConversationAuthoringExportProjectState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportProjectOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportProjectState.cs similarity index 81% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportProjectOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportProjectState.cs index 928f703b5d58..affcfca45f1c 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportProjectOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportProjectState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of an export job. - public partial class ExportProjectOperationState + public partial class ConversationAuthoringExportProjectState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class ExportProjectOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal ExportProjectOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringExportProjectState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal ExportProjectOperationState(DateTimeOffset createdOn, DateTimeOffset la Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -68,7 +68,7 @@ internal ExportProjectOperationState(DateTimeOffset createdOn, DateTimeOffset la /// The errors encountered while executing the job. /// The URL to use in order to download the exported project. /// Keeps track of any properties unknown to the library. - internal ExportProjectOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, string resultUri, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportProjectState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, string resultUri, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -81,8 +81,8 @@ internal ExportProjectOperationState(string jobId, DateTimeOffset createdOn, Dat _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ExportProjectOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringExportProjectState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityList.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityList.Serialization.cs similarity index 60% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityList.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityList.Serialization.cs index ed057246ce1c..7cfe95f915b1 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityList.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityList.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedEntityList : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedEntityList : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedEntityList)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityList)} does not support writing '{format}' format."); } if (Optional.IsCollectionDefined(Sublists)) @@ -61,19 +61,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedEntityList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedEntityList IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedEntityList)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityList)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedEntityList(document.RootElement, options); + return DeserializeConversationAuthoringExportedEntityList(document.RootElement, options); } - internal static ExportedEntityList DeserializeExportedEntityList(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedEntityList DeserializeConversationAuthoringExportedEntityList(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -81,7 +81,7 @@ internal static ExportedEntityList DeserializeExportedEntityList(JsonElement ele { return null; } - IList sublists = default; + IList sublists = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -92,10 +92,10 @@ internal static ExportedEntityList DeserializeExportedEntityList(JsonElement ele { continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ExportedEntitySublist.DeserializeExportedEntitySublist(item, options)); + array.Add(ConversationAuthoringExportedEntitySublist.DeserializeConversationAuthoringExportedEntitySublist(item, options)); } sublists = array; continue; @@ -106,46 +106,46 @@ internal static ExportedEntityList DeserializeExportedEntityList(JsonElement ele } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedEntityList(sublists ?? new ChangeTrackingList(), serializedAdditionalRawData); + return new ConversationAuthoringExportedEntityList(sublists ?? new ChangeTrackingList(), serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedEntityList)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityList)} does not support writing '{options.Format}' format."); } } - ExportedEntityList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedEntityList IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedEntityList(document.RootElement, options); + return DeserializeConversationAuthoringExportedEntityList(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedEntityList)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityList)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedEntityList FromResponse(Response response) + internal static ConversationAuthoringExportedEntityList FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedEntityList(document.RootElement); + return DeserializeConversationAuthoringExportedEntityList(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityList.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityList.cs similarity index 74% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityList.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityList.cs index d282445b3d86..8a78232e6c24 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityList.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityList.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a list component of an entity. - public partial class ExportedEntityList + public partial class ConversationAuthoringExportedEntityList { /// /// Keeps track of any properties unknown to the library. @@ -45,22 +45,22 @@ public partial class ExportedEntityList /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - public ExportedEntityList() + /// Initializes a new instance of . + public ConversationAuthoringExportedEntityList() { - Sublists = new ChangeTrackingList(); + Sublists = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The sub-lists of the list component. /// Keeps track of any properties unknown to the library. - internal ExportedEntityList(IList sublists, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedEntityList(IList sublists, IDictionary serializedAdditionalRawData) { Sublists = sublists; _serializedAdditionalRawData = serializedAdditionalRawData; } /// The sub-lists of the list component. - public IList Sublists { get; } + public IList Sublists { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityListSynonym.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityListSynonym.Serialization.cs similarity index 64% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityListSynonym.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityListSynonym.Serialization.cs index 743e6eed68ea..24f95da6d405 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityListSynonym.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityListSynonym.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedEntityListSynonym : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedEntityListSynonym : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedEntityListSynonym)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityListSynonym)} does not support writing '{format}' format."); } if (Optional.IsDefined(Language)) @@ -66,19 +66,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedEntityListSynonym IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedEntityListSynonym IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedEntityListSynonym)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityListSynonym)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedEntityListSynonym(document.RootElement, options); + return DeserializeConversationAuthoringExportedEntityListSynonym(document.RootElement, options); } - internal static ExportedEntityListSynonym DeserializeExportedEntityListSynonym(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedEntityListSynonym DeserializeConversationAuthoringExportedEntityListSynonym(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -117,46 +117,46 @@ internal static ExportedEntityListSynonym DeserializeExportedEntityListSynonym(J } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedEntityListSynonym(language, values ?? new ChangeTrackingList(), serializedAdditionalRawData); + return new ConversationAuthoringExportedEntityListSynonym(language, values ?? new ChangeTrackingList(), serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedEntityListSynonym)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityListSynonym)} does not support writing '{options.Format}' format."); } } - ExportedEntityListSynonym IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedEntityListSynonym IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedEntityListSynonym(document.RootElement, options); + return DeserializeConversationAuthoringExportedEntityListSynonym(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedEntityListSynonym)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntityListSynonym)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedEntityListSynonym FromResponse(Response response) + internal static ConversationAuthoringExportedEntityListSynonym FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedEntityListSynonym(document.RootElement); + return DeserializeConversationAuthoringExportedEntityListSynonym(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityListSynonym.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityListSynonym.cs similarity index 83% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityListSynonym.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityListSynonym.cs index 35196d8f7959..22441bf80213 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntityListSynonym.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntityListSynonym.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a list of synonyms inside a list component. - public partial class ExportedEntityListSynonym + public partial class ConversationAuthoringExportedEntityListSynonym { /// /// Keeps track of any properties unknown to the library. @@ -45,17 +45,17 @@ public partial class ExportedEntityListSynonym /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - public ExportedEntityListSynonym() + /// Initializes a new instance of . + public ConversationAuthoringExportedEntityListSynonym() { Values = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the language of the synonyms. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// The list of synonyms. /// Keeps track of any properties unknown to the library. - internal ExportedEntityListSynonym(string language, IList values, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedEntityListSynonym(string language, IList values, IDictionary serializedAdditionalRawData) { Language = language; Values = values; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntitySublist.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntitySublist.Serialization.cs similarity index 61% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntitySublist.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntitySublist.Serialization.cs index d1b24e6d9029..8cfb5c89c771 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntitySublist.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntitySublist.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedEntitySublist : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedEntitySublist : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedEntitySublist)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntitySublist)} does not support writing '{format}' format."); } if (Optional.IsDefined(ListKey)) @@ -66,19 +66,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedEntitySublist IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedEntitySublist IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedEntitySublist)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntitySublist)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedEntitySublist(document.RootElement, options); + return DeserializeConversationAuthoringExportedEntitySublist(document.RootElement, options); } - internal static ExportedEntitySublist DeserializeExportedEntitySublist(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedEntitySublist DeserializeConversationAuthoringExportedEntitySublist(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -87,7 +87,7 @@ internal static ExportedEntitySublist DeserializeExportedEntitySublist(JsonEleme return null; } string listKey = default; - IList synonyms = default; + IList synonyms = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -103,10 +103,10 @@ internal static ExportedEntitySublist DeserializeExportedEntitySublist(JsonEleme { continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ExportedEntityListSynonym.DeserializeExportedEntityListSynonym(item, options)); + array.Add(ConversationAuthoringExportedEntityListSynonym.DeserializeConversationAuthoringExportedEntityListSynonym(item, options)); } synonyms = array; continue; @@ -117,46 +117,46 @@ internal static ExportedEntitySublist DeserializeExportedEntitySublist(JsonEleme } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedEntitySublist(listKey, synonyms ?? new ChangeTrackingList(), serializedAdditionalRawData); + return new ConversationAuthoringExportedEntitySublist(listKey, synonyms ?? new ChangeTrackingList(), serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedEntitySublist)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntitySublist)} does not support writing '{options.Format}' format."); } } - ExportedEntitySublist IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedEntitySublist IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedEntitySublist(document.RootElement, options); + return DeserializeConversationAuthoringExportedEntitySublist(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedEntitySublist)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedEntitySublist)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedEntitySublist FromResponse(Response response) + internal static ConversationAuthoringExportedEntitySublist FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedEntitySublist(document.RootElement); + return DeserializeConversationAuthoringExportedEntitySublist(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntitySublist.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntitySublist.cs similarity index 75% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntitySublist.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntitySublist.cs index 67405cfa983b..36188d32c2c5 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedEntitySublist.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedEntitySublist.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a sub-list inside a list component. - public partial class ExportedEntitySublist + public partial class ConversationAuthoringExportedEntitySublist { /// /// Keeps track of any properties unknown to the library. @@ -45,17 +45,17 @@ public partial class ExportedEntitySublist /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - public ExportedEntitySublist() + /// Initializes a new instance of . + public ConversationAuthoringExportedEntitySublist() { - Synonyms = new ChangeTrackingList(); + Synonyms = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The key of the sub-list. /// The phrases of that correspond to the sub-list. /// Keeps track of any properties unknown to the library. - internal ExportedEntitySublist(string listKey, IList synonyms, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedEntitySublist(string listKey, IList synonyms, IDictionary serializedAdditionalRawData) { ListKey = listKey; Synonyms = synonyms; @@ -65,6 +65,6 @@ internal ExportedEntitySublist(string listKey, IList /// The key of the sub-list. public string ListKey { get; set; } /// The phrases of that correspond to the sub-list. - public IList Synonyms { get; } + public IList Synonyms { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelDetails.Serialization.cs similarity index 61% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelDetails.Serialization.cs index a484da270b13..0db742e006f3 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedModelDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedModelDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedModelDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("trainedModelLabel"u8); @@ -53,19 +53,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedModelDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedModelDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedModelDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedModelDetails(document.RootElement, options); + return DeserializeConversationAuthoringExportedModelDetails(document.RootElement, options); } - internal static ExportedModelDetails DeserializeExportedModelDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedModelDetails DeserializeConversationAuthoringExportedModelDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -89,46 +89,46 @@ internal static ExportedModelDetails DeserializeExportedModelDetails(JsonElement } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedModelDetails(trainedModelLabel, serializedAdditionalRawData); + return new ConversationAuthoringExportedModelDetails(trainedModelLabel, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedModelDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelDetails)} does not support writing '{options.Format}' format."); } } - ExportedModelDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedModelDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedModelDetails(document.RootElement, options); + return DeserializeConversationAuthoringExportedModelDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedModelDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedModelDetails FromResponse(Response response) + internal static ConversationAuthoringExportedModelDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedModelDetails(document.RootElement); + return DeserializeConversationAuthoringExportedModelDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelDetails.cs similarity index 77% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelDetails.cs index b78448af3d4c..63fa74add80b 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options for creating or replacing an exported model. - public partial class ExportedModelDetails + public partial class ConversationAuthoringExportedModelDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,27 +45,27 @@ public partial class ExportedModelDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The trained model label. /// is null. - public ExportedModelDetails(string trainedModelLabel) + public ConversationAuthoringExportedModelDetails(string trainedModelLabel) { Argument.AssertNotNull(trainedModelLabel, nameof(trainedModelLabel)); TrainedModelLabel = trainedModelLabel; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The trained model label. /// Keeps track of any properties unknown to the library. - internal ExportedModelDetails(string trainedModelLabel, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedModelDetails(string trainedModelLabel, IDictionary serializedAdditionalRawData) { TrainedModelLabel = trainedModelLabel; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ExportedModelDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringExportedModelDetails() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelState.Serialization.cs similarity index 76% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelState.Serialization.cs index e6d647a30069..0f71721b534c 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedModelOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedModelState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedModelOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -87,19 +87,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedModelOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedModelState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedModelOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedModelOperationState(document.RootElement, options); + return DeserializeConversationAuthoringExportedModelState(document.RootElement, options); } - internal static ExportedModelOperationState DeserializeExportedModelOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedModelState DeserializeConversationAuthoringExportedModelState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -181,7 +181,7 @@ internal static ExportedModelOperationState DeserializeExportedModelOperationSta } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedModelOperationState( + return new ConversationAuthoringExportedModelState( jobId, createdDateTime, lastUpdatedDateTime, @@ -192,43 +192,43 @@ internal static ExportedModelOperationState DeserializeExportedModelOperationSta serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedModelOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelState)} does not support writing '{options.Format}' format."); } } - ExportedModelOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedModelState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedModelOperationState(document.RootElement, options); + return DeserializeConversationAuthoringExportedModelState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedModelOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedModelState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedModelOperationState FromResponse(Response response) + internal static ConversationAuthoringExportedModelState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedModelOperationState(document.RootElement); + return DeserializeConversationAuthoringExportedModelState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelState.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelState.cs index 13030cdc6b20..6f9a989583c3 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedModelOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedModelState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a job to create or updated an exported model. - public partial class ExportedModelOperationState + public partial class ConversationAuthoringExportedModelState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class ExportedModelOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal ExportedModelOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringExportedModelState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal ExportedModelOperationState(DateTimeOffset createdOn, DateTimeOffset la Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal ExportedModelOperationState(DateTimeOffset createdOn, DateTimeOffset la /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal ExportedModelOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedModelState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal ExportedModelOperationState(string jobId, DateTimeOffset createdOn, Dat _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ExportedModelOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringExportedModelState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedPrebuiltEntity.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedPrebuiltEntity.Serialization.cs similarity index 60% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedPrebuiltEntity.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedPrebuiltEntity.Serialization.cs index ea6e39cbadd2..87b6ff965a69 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedPrebuiltEntity.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedPrebuiltEntity.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedPrebuiltEntity : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedPrebuiltEntity : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedPrebuiltEntity)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedPrebuiltEntity)} does not support writing '{format}' format."); } writer.WritePropertyName("category"u8); @@ -53,19 +53,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedPrebuiltEntity IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedPrebuiltEntity IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedPrebuiltEntity)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedPrebuiltEntity)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedPrebuiltEntity(document.RootElement, options); + return DeserializeConversationAuthoringExportedPrebuiltEntity(document.RootElement, options); } - internal static ExportedPrebuiltEntity DeserializeExportedPrebuiltEntity(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedPrebuiltEntity DeserializeConversationAuthoringExportedPrebuiltEntity(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -89,46 +89,46 @@ internal static ExportedPrebuiltEntity DeserializeExportedPrebuiltEntity(JsonEle } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedPrebuiltEntity(category, serializedAdditionalRawData); + return new ConversationAuthoringExportedPrebuiltEntity(category, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedPrebuiltEntity)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedPrebuiltEntity)} does not support writing '{options.Format}' format."); } } - ExportedPrebuiltEntity IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedPrebuiltEntity IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedPrebuiltEntity(document.RootElement, options); + return DeserializeConversationAuthoringExportedPrebuiltEntity(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedPrebuiltEntity)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedPrebuiltEntity)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedPrebuiltEntity FromResponse(Response response) + internal static ConversationAuthoringExportedPrebuiltEntity FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedPrebuiltEntity(document.RootElement); + return DeserializeConversationAuthoringExportedPrebuiltEntity(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedPrebuiltEntity.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedPrebuiltEntity.cs similarity index 76% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedPrebuiltEntity.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedPrebuiltEntity.cs index 3ae35ce3d0ac..70b589075e54 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedPrebuiltEntity.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedPrebuiltEntity.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents an exported prebuilt entity component. - public partial class ExportedPrebuiltEntity + public partial class ConversationAuthoringExportedPrebuiltEntity { /// /// Keeps track of any properties unknown to the library. @@ -45,27 +45,27 @@ public partial class ExportedPrebuiltEntity /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The prebuilt entity category. /// is null. - public ExportedPrebuiltEntity(string category) + public ConversationAuthoringExportedPrebuiltEntity(string category) { Argument.AssertNotNull(category, nameof(category)); Category = category; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The prebuilt entity category. /// Keeps track of any properties unknown to the library. - internal ExportedPrebuiltEntity(string category, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedPrebuiltEntity(string category, IDictionary serializedAdditionalRawData) { Category = category; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ExportedPrebuiltEntity() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringExportedPrebuiltEntity() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProject.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProject.Serialization.cs similarity index 63% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProject.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProject.Serialization.cs index 374ae8c582e6..dde42e1ccd99 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProject.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProject.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedProject : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedProject : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedProject)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProject)} does not support writing '{format}' format."); } writer.WritePropertyName("projectFileVersion"u8); @@ -62,19 +62,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedProject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedProject IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedProject)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProject)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedProject(document.RootElement, options); + return DeserializeConversationAuthoringExportedProject(document.RootElement, options); } - internal static ExportedProject DeserializeExportedProject(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedProject DeserializeConversationAuthoringExportedProject(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -84,8 +84,8 @@ internal static ExportedProject DeserializeExportedProject(JsonElement element, } string projectFileVersion = default; StringIndexType stringIndexType = default; - CreateProjectDetails metadata = default; - ExportedProjectAsset assets = default; + ConversationAuthoringCreateProjectDetails metadata = default; + ConversationAuthoringExportedProjectAsset assets = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -102,7 +102,7 @@ internal static ExportedProject DeserializeExportedProject(JsonElement element, } if (property.NameEquals("metadata"u8)) { - metadata = CreateProjectDetails.DeserializeCreateProjectDetails(property.Value, options); + metadata = ConversationAuthoringCreateProjectDetails.DeserializeConversationAuthoringCreateProjectDetails(property.Value, options); continue; } if (property.NameEquals("assets"u8)) @@ -111,7 +111,7 @@ internal static ExportedProject DeserializeExportedProject(JsonElement element, { continue; } - assets = ExportedProjectAsset.DeserializeExportedProjectAsset(property.Value, options); + assets = ConversationAuthoringExportedProjectAsset.DeserializeConversationAuthoringExportedProjectAsset(property.Value, options); continue; } if (options.Format != "W") @@ -120,46 +120,46 @@ internal static ExportedProject DeserializeExportedProject(JsonElement element, } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedProject(projectFileVersion, stringIndexType, metadata, assets, serializedAdditionalRawData); + return new ConversationAuthoringExportedProject(projectFileVersion, stringIndexType, metadata, assets, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedProject)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProject)} does not support writing '{options.Format}' format."); } } - ExportedProject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedProject IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedProject(document.RootElement, options); + return DeserializeConversationAuthoringExportedProject(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedProject)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProject)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedProject FromResponse(Response response) + internal static ConversationAuthoringExportedProject FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedProject(document.RootElement); + return DeserializeConversationAuthoringExportedProject(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProject.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProject.cs similarity index 71% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProject.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProject.cs index 67dc18662e20..5ec913595f2b 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProject.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProject.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents an exported project. - public partial class ExportedProject + public partial class ConversationAuthoringExportedProject { /// /// Keeps track of any properties unknown to the library. @@ -45,12 +45,12 @@ public partial class ExportedProject /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The version of the exported file. /// Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets. /// Represents the project metadata. /// or is null. - public ExportedProject(string projectFileVersion, StringIndexType stringIndexType, CreateProjectDetails metadata) + public ConversationAuthoringExportedProject(string projectFileVersion, StringIndexType stringIndexType, ConversationAuthoringCreateProjectDetails metadata) { Argument.AssertNotNull(projectFileVersion, nameof(projectFileVersion)); Argument.AssertNotNull(metadata, nameof(metadata)); @@ -60,17 +60,17 @@ public ExportedProject(string projectFileVersion, StringIndexType stringIndexTyp Metadata = metadata; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The version of the exported file. /// Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets. /// Represents the project metadata. /// /// Represents the project assets. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include and . /// /// Keeps track of any properties unknown to the library. - internal ExportedProject(string projectFileVersion, StringIndexType stringIndexType, CreateProjectDetails metadata, ExportedProjectAsset assets, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedProject(string projectFileVersion, StringIndexType stringIndexType, ConversationAuthoringCreateProjectDetails metadata, ConversationAuthoringExportedProjectAsset assets, IDictionary serializedAdditionalRawData) { ProjectFileVersion = projectFileVersion; StringIndexType = stringIndexType; @@ -79,8 +79,8 @@ internal ExportedProject(string projectFileVersion, StringIndexType stringIndexT _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ExportedProject() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringExportedProject() { } @@ -89,12 +89,12 @@ internal ExportedProject() /// Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets. public StringIndexType StringIndexType { get; } /// Represents the project metadata. - public CreateProjectDetails Metadata { get; } + public ConversationAuthoringCreateProjectDetails Metadata { get; } /// /// Represents the project assets. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include and . /// - public ExportedProjectAsset Assets { get; set; } + public ConversationAuthoringExportedProjectAsset Assets { get; set; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProjectAsset.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProjectAsset.Serialization.cs similarity index 58% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProjectAsset.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProjectAsset.Serialization.cs index af4c8f58155a..7a8971430b5b 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProjectAsset.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProjectAsset.Serialization.cs @@ -12,12 +12,12 @@ namespace Azure.AI.Language.Conversations.Authoring { - [PersistableModelProxy(typeof(UnknownExportedProjectAsset))] - public partial class ExportedProjectAsset : IUtf8JsonSerializable, IJsonModel + [PersistableModelProxy(typeof(UnknownConversationAuthoringExportedProjectAsset))] + public partial class ConversationAuthoringExportedProjectAsset : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support writing '{format}' format."); } writer.WritePropertyName("projectKind"u8); @@ -53,19 +53,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedProjectAsset IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedProjectAsset IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedProjectAsset(document.RootElement, options); + return DeserializeConversationAuthoringExportedProjectAsset(document.RootElement, options); } - internal static ExportedProjectAsset DeserializeExportedProjectAsset(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedProjectAsset DeserializeConversationAuthoringExportedProjectAsset(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -81,46 +81,46 @@ internal static ExportedProjectAsset DeserializeExportedProjectAsset(JsonElement case "Orchestration": return OrchestrationExportedProjectAsset.DeserializeOrchestrationExportedProjectAsset(element, options); } } - return UnknownExportedProjectAsset.DeserializeUnknownExportedProjectAsset(element, options); + return UnknownConversationAuthoringExportedProjectAsset.DeserializeUnknownConversationAuthoringExportedProjectAsset(element, options); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support writing '{options.Format}' format."); } } - ExportedProjectAsset IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedProjectAsset IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedProjectAsset(document.RootElement, options); + return DeserializeConversationAuthoringExportedProjectAsset(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedProjectAsset FromResponse(Response response) + internal static ConversationAuthoringExportedProjectAsset FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedProjectAsset(document.RootElement); + return DeserializeConversationAuthoringExportedProjectAsset(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProjectAsset.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProjectAsset.cs similarity index 74% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProjectAsset.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProjectAsset.cs index d6bf1adfa850..aa5539e52a2d 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedProjectAsset.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedProjectAsset.cs @@ -12,10 +12,10 @@ namespace Azure.AI.Language.Conversations.Authoring { /// /// Represents the assets of an exported project. - /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include and . /// - public abstract partial class ExportedProjectAsset + public abstract partial class ConversationAuthoringExportedProjectAsset { /// /// Keeps track of any properties unknown to the library. @@ -49,15 +49,15 @@ public abstract partial class ExportedProjectAsset /// private protected IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - protected ExportedProjectAsset() + /// Initializes a new instance of . + protected ConversationAuthoringExportedProjectAsset() { } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The type of project containing the assets. /// Keeps track of any properties unknown to the library. - internal ExportedProjectAsset(ConversationAuthoringProjectKind projectKind, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedProjectAsset(ConversationAuthoringProjectKind projectKind, IDictionary serializedAdditionalRawData) { ProjectKind = projectKind; _serializedAdditionalRawData = serializedAdditionalRawData; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedTrainedModel.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedTrainedModel.Serialization.cs similarity index 71% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedTrainedModel.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedTrainedModel.Serialization.cs index a147dd9e2719..51c74c304799 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedTrainedModel.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedTrainedModel.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ExportedTrainedModel : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringExportedTrainedModel : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedTrainedModel)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedTrainedModel)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -66,19 +66,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ExportedTrainedModel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedTrainedModel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedTrainedModel)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedTrainedModel)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedTrainedModel(document.RootElement, options); + return DeserializeConversationAuthoringExportedTrainedModel(document.RootElement, options); } - internal static ExportedTrainedModel DeserializeExportedTrainedModel(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringExportedTrainedModel DeserializeConversationAuthoringExportedTrainedModel(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -132,7 +132,7 @@ internal static ExportedTrainedModel DeserializeExportedTrainedModel(JsonElement } } serializedAdditionalRawData = rawDataDictionary; - return new ExportedTrainedModel( + return new ConversationAuthoringExportedTrainedModel( exportedModelName, modelId, lastTrainedDateTime, @@ -142,43 +142,43 @@ internal static ExportedTrainedModel DeserializeExportedTrainedModel(JsonElement serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedTrainedModel)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedTrainedModel)} does not support writing '{options.Format}' format."); } } - ExportedTrainedModel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedTrainedModel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedTrainedModel(document.RootElement, options); + return DeserializeConversationAuthoringExportedTrainedModel(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedTrainedModel)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedTrainedModel)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ExportedTrainedModel FromResponse(Response response) + internal static ConversationAuthoringExportedTrainedModel FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeExportedTrainedModel(document.RootElement); + return DeserializeConversationAuthoringExportedTrainedModel(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedTrainedModel.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedTrainedModel.cs similarity index 81% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedTrainedModel.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedTrainedModel.cs index 630e6e725068..ee641c709038 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ExportedTrainedModel.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringExportedTrainedModel.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents an exported trained model. - public partial class ExportedTrainedModel + public partial class ConversationAuthoringExportedTrainedModel { /// /// Keeps track of any properties unknown to the library. @@ -45,14 +45,14 @@ public partial class ExportedTrainedModel /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The model ID. /// The last trained date time of the model. /// The last exported date time of the model. /// The model expiration date. /// The model training config version. /// or is null. - internal ExportedTrainedModel(string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastExportedModelOn, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion) + internal ConversationAuthoringExportedTrainedModel(string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastExportedModelOn, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion) { Argument.AssertNotNull(modelId, nameof(modelId)); Argument.AssertNotNull(modelTrainingConfigVersion, nameof(modelTrainingConfigVersion)); @@ -64,7 +64,7 @@ internal ExportedTrainedModel(string modelId, DateTimeOffset lastTrainedOn, Date ModelTrainingConfigVersion = modelTrainingConfigVersion; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The exported model name. /// The model ID. /// The last trained date time of the model. @@ -72,7 +72,7 @@ internal ExportedTrainedModel(string modelId, DateTimeOffset lastTrainedOn, Date /// The model expiration date. /// The model training config version. /// Keeps track of any properties unknown to the library. - internal ExportedTrainedModel(string exportedModelName, string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastExportedModelOn, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringExportedTrainedModel(string exportedModelName, string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastExportedModelOn, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion, IDictionary serializedAdditionalRawData) { ExportedModelName = exportedModelName; ModelId = modelId; @@ -83,8 +83,8 @@ internal ExportedTrainedModel(string exportedModelName, string modelId, DateTime _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ExportedTrainedModel() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringExportedTrainedModel() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ImportProjectOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringImportProjectState.Serialization.cs similarity index 76% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ImportProjectOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringImportProjectState.Serialization.cs index a49d0b069624..ae6b98a1cc4e 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ImportProjectOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringImportProjectState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ImportProjectOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringImportProjectState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelR /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ImportProjectOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringImportProjectState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -87,19 +87,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ImportProjectOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringImportProjectState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ImportProjectOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringImportProjectState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeImportProjectOperationState(document.RootElement, options); + return DeserializeConversationAuthoringImportProjectState(document.RootElement, options); } - internal static ImportProjectOperationState DeserializeImportProjectOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringImportProjectState DeserializeConversationAuthoringImportProjectState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -181,7 +181,7 @@ internal static ImportProjectOperationState DeserializeImportProjectOperationSta } } serializedAdditionalRawData = rawDataDictionary; - return new ImportProjectOperationState( + return new ConversationAuthoringImportProjectState( jobId, createdDateTime, lastUpdatedDateTime, @@ -192,43 +192,43 @@ internal static ImportProjectOperationState DeserializeImportProjectOperationSta serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ImportProjectOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringImportProjectState)} does not support writing '{options.Format}' format."); } } - ImportProjectOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringImportProjectState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeImportProjectOperationState(document.RootElement, options); + return DeserializeConversationAuthoringImportProjectState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ImportProjectOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringImportProjectState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ImportProjectOperationState FromResponse(Response response) + internal static ConversationAuthoringImportProjectState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeImportProjectOperationState(document.RootElement); + return DeserializeConversationAuthoringImportProjectState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ImportProjectOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringImportProjectState.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ImportProjectOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringImportProjectState.cs index 20a4897802d3..eba7d7b74970 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ImportProjectOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringImportProjectState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of an import job. - public partial class ImportProjectOperationState + public partial class ConversationAuthoringImportProjectState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class ImportProjectOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal ImportProjectOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringImportProjectState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal ImportProjectOperationState(DateTimeOffset createdOn, DateTimeOffset la Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal ImportProjectOperationState(DateTimeOffset createdOn, DateTimeOffset la /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal ImportProjectOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringImportProjectState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal ImportProjectOperationState(string jobId, DateTimeOffset createdOn, Dat _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ImportProjectOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringImportProjectState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/LoadSnapshotOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringLoadSnapshotState.Serialization.cs similarity index 77% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/LoadSnapshotOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringLoadSnapshotState.Serialization.cs index f00798dd393f..ea7d2a78d039 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/LoadSnapshotOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringLoadSnapshotState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class LoadSnapshotOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringLoadSnapshotState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRe /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(LoadSnapshotOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringLoadSnapshotState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -87,19 +87,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - LoadSnapshotOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringLoadSnapshotState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(LoadSnapshotOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringLoadSnapshotState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeLoadSnapshotOperationState(document.RootElement, options); + return DeserializeConversationAuthoringLoadSnapshotState(document.RootElement, options); } - internal static LoadSnapshotOperationState DeserializeLoadSnapshotOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringLoadSnapshotState DeserializeConversationAuthoringLoadSnapshotState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -181,7 +181,7 @@ internal static LoadSnapshotOperationState DeserializeLoadSnapshotOperationState } } serializedAdditionalRawData = rawDataDictionary; - return new LoadSnapshotOperationState( + return new ConversationAuthoringLoadSnapshotState( jobId, createdDateTime, lastUpdatedDateTime, @@ -192,43 +192,43 @@ internal static LoadSnapshotOperationState DeserializeLoadSnapshotOperationState serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(LoadSnapshotOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringLoadSnapshotState)} does not support writing '{options.Format}' format."); } } - LoadSnapshotOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringLoadSnapshotState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeLoadSnapshotOperationState(document.RootElement, options); + return DeserializeConversationAuthoringLoadSnapshotState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(LoadSnapshotOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringLoadSnapshotState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static LoadSnapshotOperationState FromResponse(Response response) + internal static ConversationAuthoringLoadSnapshotState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeLoadSnapshotOperationState(document.RootElement); + return DeserializeConversationAuthoringLoadSnapshotState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/LoadSnapshotOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringLoadSnapshotState.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/LoadSnapshotOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringLoadSnapshotState.cs index 81410ae61045..9645e179b5e2 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/LoadSnapshotOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringLoadSnapshotState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of loading a snapshot job. - public partial class LoadSnapshotOperationState + public partial class ConversationAuthoringLoadSnapshotState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class LoadSnapshotOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal LoadSnapshotOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringLoadSnapshotState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal LoadSnapshotOperationState(DateTimeOffset createdOn, DateTimeOffset las Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal LoadSnapshotOperationState(DateTimeOffset createdOn, DateTimeOffset las /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal LoadSnapshotOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringLoadSnapshotState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal LoadSnapshotOperationState(string jobId, DateTimeOffset createdOn, Date _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal LoadSnapshotOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringLoadSnapshotState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/PrebuiltEntity.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringPrebuiltEntity.Serialization.cs similarity index 66% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/PrebuiltEntity.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringPrebuiltEntity.Serialization.cs index e24f7c05ee2a..2ee7852a59fb 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/PrebuiltEntity.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringPrebuiltEntity.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class PrebuiltEntity : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringPrebuiltEntity : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOp /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(PrebuiltEntity)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringPrebuiltEntity)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -60,19 +60,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - PrebuiltEntity IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringPrebuiltEntity IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(PrebuiltEntity)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringPrebuiltEntity)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializePrebuiltEntity(document.RootElement, options); + return DeserializeConversationAuthoringPrebuiltEntity(document.RootElement, options); } - internal static PrebuiltEntity DeserializePrebuiltEntity(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringPrebuiltEntity DeserializeConversationAuthoringPrebuiltEntity(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -108,46 +108,46 @@ internal static PrebuiltEntity DeserializePrebuiltEntity(JsonElement element, Mo } } serializedAdditionalRawData = rawDataDictionary; - return new PrebuiltEntity(category, description, examples, serializedAdditionalRawData); + return new ConversationAuthoringPrebuiltEntity(category, description, examples, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(PrebuiltEntity)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringPrebuiltEntity)} does not support writing '{options.Format}' format."); } } - PrebuiltEntity IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringPrebuiltEntity IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializePrebuiltEntity(document.RootElement, options); + return DeserializeConversationAuthoringPrebuiltEntity(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(PrebuiltEntity)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringPrebuiltEntity)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static PrebuiltEntity FromResponse(Response response) + internal static ConversationAuthoringPrebuiltEntity FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializePrebuiltEntity(document.RootElement); + return DeserializeConversationAuthoringPrebuiltEntity(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/PrebuiltEntity.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringPrebuiltEntity.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/PrebuiltEntity.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringPrebuiltEntity.cs index a79acd1470ed..5a8d5304d45d 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/PrebuiltEntity.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringPrebuiltEntity.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a supported prebuilt entity. - public partial class PrebuiltEntity + public partial class ConversationAuthoringPrebuiltEntity { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class PrebuiltEntity /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The description. /// English examples for the entity. /// or is null. - internal PrebuiltEntity(string description, string examples) + internal ConversationAuthoringPrebuiltEntity(string description, string examples) { Argument.AssertNotNull(description, nameof(description)); Argument.AssertNotNull(examples, nameof(examples)); @@ -58,12 +58,12 @@ internal PrebuiltEntity(string description, string examples) Examples = examples; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The prebuilt entity category. /// The description. /// English examples for the entity. /// Keeps track of any properties unknown to the library. - internal PrebuiltEntity(string category, string description, string examples, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringPrebuiltEntity(string category, string description, string examples, IDictionary serializedAdditionalRawData) { Category = category; Description = description; @@ -71,8 +71,8 @@ internal PrebuiltEntity(string category, string description, string examples, ID _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal PrebuiltEntity() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringPrebuiltEntity() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProject.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProject.cs index 6e80a0a5d2f5..84593cb3f1e1 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProject.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProject.cs @@ -60,13 +60,13 @@ internal ConversationAuthoringProject(ClientDiagnostics clientDiagnostics, HttpP /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual async Task> GetProjectDeletionStatusAsync(string jobId, CancellationToken cancellationToken = default) + public virtual async Task> GetProjectDeletionStatusAsync(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = await GetProjectDeletionStatusAsync(jobId, context).ConfigureAwait(false); - return Response.FromValue(ProjectDeletionOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectDeletionState.FromResponse(response), response); } /// Gets the status for a project deletion job. @@ -74,13 +74,13 @@ public virtual async Task> GetProjectDel /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - public virtual Response GetProjectDeletionStatus(string jobId, CancellationToken cancellationToken = default) + public virtual Response GetProjectDeletionStatus(string jobId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(jobId, nameof(jobId)); RequestContext context = FromCancellationToken(cancellationToken); Response response = GetProjectDeletionStatus(jobId, context); - return Response.FromValue(ProjectDeletionOperationState.FromResponse(response), response); + return Response.FromValue(ConversationAuthoringProjectDeletionState.FromResponse(response), response); } /// @@ -557,10 +557,10 @@ internal static RequestContext FromCancellationToken(CancellationToken cancellat private static ResponseClassifier _responseClassifier200201; private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); - private TrainingJobResult FetchTrainingJobResultFromTrainingOperationState(Response response) + private ConversationAuthoringTrainingJobResult FetchConversationAuthoringTrainingJobResultFromConversationAuthoringTrainingState(Response response) { var resultJsonElement = JsonDocument.Parse(response.Content).RootElement.GetProperty("result"); - return TrainingJobResult.DeserializeTrainingJobResult(resultJsonElement); + return ConversationAuthoringTrainingJobResult.DeserializeConversationAuthoringTrainingJobResult(resultJsonElement); } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeletionOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeletionState.Serialization.cs similarity index 76% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeletionOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeletionState.Serialization.cs index c084752f9a4f..a1f5f4b2dcb6 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeletionOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeletionState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ProjectDeletionOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringProjectDeletionState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, Mode /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectDeletionOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeletionState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -87,19 +87,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ProjectDeletionOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringProjectDeletionState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectDeletionOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeletionState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeProjectDeletionOperationState(document.RootElement, options); + return DeserializeConversationAuthoringProjectDeletionState(document.RootElement, options); } - internal static ProjectDeletionOperationState DeserializeProjectDeletionOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringProjectDeletionState DeserializeConversationAuthoringProjectDeletionState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -181,7 +181,7 @@ internal static ProjectDeletionOperationState DeserializeProjectDeletionOperatio } } serializedAdditionalRawData = rawDataDictionary; - return new ProjectDeletionOperationState( + return new ConversationAuthoringProjectDeletionState( jobId, createdDateTime, lastUpdatedDateTime, @@ -192,43 +192,43 @@ internal static ProjectDeletionOperationState DeserializeProjectDeletionOperatio serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ProjectDeletionOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeletionState)} does not support writing '{options.Format}' format."); } } - ProjectDeletionOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringProjectDeletionState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeProjectDeletionOperationState(document.RootElement, options); + return DeserializeConversationAuthoringProjectDeletionState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ProjectDeletionOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeletionState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ProjectDeletionOperationState FromResponse(Response response) + internal static ConversationAuthoringProjectDeletionState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeProjectDeletionOperationState(document.RootElement); + return DeserializeConversationAuthoringProjectDeletionState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeletionOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeletionState.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeletionOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeletionState.cs index 713ed3edeabb..05813677812b 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeletionOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeletionState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a project deletion job. - public partial class ProjectDeletionOperationState + public partial class ConversationAuthoringProjectDeletionState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class ProjectDeletionOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal ProjectDeletionOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringProjectDeletionState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal ProjectDeletionOperationState(DateTimeOffset createdOn, DateTimeOffset Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal ProjectDeletionOperationState(DateTimeOffset createdOn, DateTimeOffset /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal ProjectDeletionOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringProjectDeletionState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal ProjectDeletionOperationState(string jobId, DateTimeOffset createdOn, D _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ProjectDeletionOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringProjectDeletionState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeployment.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeployment.Serialization.cs similarity index 70% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeployment.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeployment.Serialization.cs index a94b7a3fc1d1..ae150fd92ce5 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeployment.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeployment.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ProjectDeployment : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringProjectDeployment : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectDeployment)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeployment)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -73,19 +73,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ProjectDeployment IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringProjectDeployment IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectDeployment)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeployment)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeProjectDeployment(document.RootElement, options); + return DeserializeConversationAuthoringProjectDeployment(document.RootElement, options); } - internal static ProjectDeployment DeserializeProjectDeployment(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringProjectDeployment DeserializeConversationAuthoringProjectDeployment(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -99,7 +99,7 @@ internal static ProjectDeployment DeserializeProjectDeployment(JsonElement eleme DateTimeOffset lastDeployedDateTime = default; DateTimeOffset deploymentExpirationDate = default; string modelTrainingConfigVersion = default; - IReadOnlyList assignedResources = default; + IReadOnlyList assignedResources = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -136,10 +136,10 @@ internal static ProjectDeployment DeserializeProjectDeployment(JsonElement eleme } if (property.NameEquals("assignedResources"u8)) { - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeploymentResource.DeserializeDeploymentResource(item, options)); + array.Add(ConversationAuthoringDeploymentResource.DeserializeConversationAuthoringDeploymentResource(item, options)); } assignedResources = array; continue; @@ -150,7 +150,7 @@ internal static ProjectDeployment DeserializeProjectDeployment(JsonElement eleme } } serializedAdditionalRawData = rawDataDictionary; - return new ProjectDeployment( + return new ConversationAuthoringProjectDeployment( deploymentName, modelId, lastTrainedDateTime, @@ -161,43 +161,43 @@ internal static ProjectDeployment DeserializeProjectDeployment(JsonElement eleme serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ProjectDeployment)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeployment)} does not support writing '{options.Format}' format."); } } - ProjectDeployment IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringProjectDeployment IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeProjectDeployment(document.RootElement, options); + return DeserializeConversationAuthoringProjectDeployment(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ProjectDeployment)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectDeployment)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ProjectDeployment FromResponse(Response response) + internal static ConversationAuthoringProjectDeployment FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeProjectDeployment(document.RootElement); + return DeserializeConversationAuthoringProjectDeployment(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeployment.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeployment.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeployment.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeployment.cs index 71eba679a674..78e67a55d268 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectDeployment.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectDeployment.cs @@ -12,7 +12,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a project deployment. - public partial class ProjectDeployment + public partial class ConversationAuthoringProjectDeployment { /// /// Keeps track of any properties unknown to the library. @@ -46,7 +46,7 @@ public partial class ProjectDeployment /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents deployment modelId. /// Represents deployment last trained time. /// Represents deployment last deployed time. @@ -54,7 +54,7 @@ public partial class ProjectDeployment /// Represents model training config version. /// Represents the metadata of the assigned Azure resources. /// , or is null. - internal ProjectDeployment(string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiredOn, string modelTrainingConfigVersion, IEnumerable assignedResources) + internal ConversationAuthoringProjectDeployment(string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiredOn, string modelTrainingConfigVersion, IEnumerable assignedResources) { Argument.AssertNotNull(modelId, nameof(modelId)); Argument.AssertNotNull(modelTrainingConfigVersion, nameof(modelTrainingConfigVersion)); @@ -68,7 +68,7 @@ internal ProjectDeployment(string modelId, DateTimeOffset lastTrainedOn, DateTim AssignedResources = assignedResources.ToList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents deployment name. /// Represents deployment modelId. /// Represents deployment last trained time. @@ -77,7 +77,7 @@ internal ProjectDeployment(string modelId, DateTimeOffset lastTrainedOn, DateTim /// Represents model training config version. /// Represents the metadata of the assigned Azure resources. /// Keeps track of any properties unknown to the library. - internal ProjectDeployment(string deploymentName, string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiredOn, string modelTrainingConfigVersion, IReadOnlyList assignedResources, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringProjectDeployment(string deploymentName, string modelId, DateTimeOffset lastTrainedOn, DateTimeOffset lastDeployedOn, DateTimeOffset deploymentExpiredOn, string modelTrainingConfigVersion, IReadOnlyList assignedResources, IDictionary serializedAdditionalRawData) { DeploymentName = deploymentName; ModelId = modelId; @@ -89,8 +89,8 @@ internal ProjectDeployment(string deploymentName, string modelId, DateTimeOffset _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ProjectDeployment() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringProjectDeployment() { } @@ -107,6 +107,6 @@ internal ProjectDeployment() /// Represents model training config version. public string ModelTrainingConfigVersion { get; } /// Represents the metadata of the assigned Azure resources. - public IReadOnlyList AssignedResources { get; } + public IReadOnlyList AssignedResources { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectMetadata.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectMetadata.Serialization.cs similarity index 77% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectMetadata.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectMetadata.Serialization.cs index 968783972c7c..e4cc7c880af9 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectMetadata.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectMetadata.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ProjectMetadata : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringProjectMetadata : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectMetadata)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectMetadata)} does not support writing '{format}' format."); } writer.WritePropertyName("createdDateTime"u8); @@ -91,19 +91,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ProjectMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringProjectMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectMetadata)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectMetadata)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeProjectMetadata(document.RootElement, options); + return DeserializeConversationAuthoringProjectMetadata(document.RootElement, options); } - internal static ProjectMetadata DeserializeProjectMetadata(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringProjectMetadata DeserializeConversationAuthoringProjectMetadata(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -116,7 +116,7 @@ internal static ProjectMetadata DeserializeProjectMetadata(JsonElement element, DateTimeOffset? lastTrainedDateTime = default; DateTimeOffset? lastDeployedDateTime = default; ConversationAuthoringProjectKind projectKind = default; - ProjectSettings settings = default; + ConversationAuthoringProjectSettings settings = default; string storageInputContainerName = default; string projectName = default; bool? multilingual = default; @@ -165,7 +165,7 @@ internal static ProjectMetadata DeserializeProjectMetadata(JsonElement element, { continue; } - settings = ProjectSettings.DeserializeProjectSettings(property.Value, options); + settings = ConversationAuthoringProjectSettings.DeserializeConversationAuthoringProjectSettings(property.Value, options); continue; } if (property.NameEquals("storageInputContainerName"u8)) @@ -203,7 +203,7 @@ internal static ProjectMetadata DeserializeProjectMetadata(JsonElement element, } } serializedAdditionalRawData = rawDataDictionary; - return new ProjectMetadata( + return new ConversationAuthoringProjectMetadata( createdDateTime, lastModifiedDateTime, lastTrainedDateTime, @@ -218,43 +218,43 @@ internal static ProjectMetadata DeserializeProjectMetadata(JsonElement element, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ProjectMetadata)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectMetadata)} does not support writing '{options.Format}' format."); } } - ProjectMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringProjectMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeProjectMetadata(document.RootElement, options); + return DeserializeConversationAuthoringProjectMetadata(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ProjectMetadata)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectMetadata)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ProjectMetadata FromResponse(Response response) + internal static ConversationAuthoringProjectMetadata FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeProjectMetadata(document.RootElement); + return DeserializeConversationAuthoringProjectMetadata(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectMetadata.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectMetadata.cs similarity index 83% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectMetadata.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectMetadata.cs index d8abe5c3368c..4fb0d496d064 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectMetadata.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectMetadata.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the metadata of a project. - public partial class ProjectMetadata + public partial class ConversationAuthoringProjectMetadata { /// /// Keeps track of any properties unknown to the library. @@ -45,14 +45,14 @@ public partial class ProjectMetadata /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project creation datetime. /// Represents the project creation datetime. /// Represents the project kind. /// The new project name. /// The project language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// or is null. - internal ProjectMetadata(DateTimeOffset createdOn, DateTimeOffset lastModifiedOn, ConversationAuthoringProjectKind projectKind, string projectName, string language) + internal ConversationAuthoringProjectMetadata(DateTimeOffset createdOn, DateTimeOffset lastModifiedOn, ConversationAuthoringProjectKind projectKind, string projectName, string language) { Argument.AssertNotNull(projectName, nameof(projectName)); Argument.AssertNotNull(language, nameof(language)); @@ -64,7 +64,7 @@ internal ProjectMetadata(DateTimeOffset createdOn, DateTimeOffset lastModifiedOn Language = language; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the project creation datetime. /// Represents the project creation datetime. /// Represents the project last trained datetime. @@ -77,7 +77,7 @@ internal ProjectMetadata(DateTimeOffset createdOn, DateTimeOffset lastModifiedOn /// The project description. /// The project language. This is BCP-47 representation of a language. For example, use "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// Keeps track of any properties unknown to the library. - internal ProjectMetadata(DateTimeOffset createdOn, DateTimeOffset lastModifiedOn, DateTimeOffset? lastTrainedOn, DateTimeOffset? lastDeployedOn, ConversationAuthoringProjectKind projectKind, ProjectSettings settings, string storageInputContainerName, string projectName, bool? multilingual, string description, string language, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringProjectMetadata(DateTimeOffset createdOn, DateTimeOffset lastModifiedOn, DateTimeOffset? lastTrainedOn, DateTimeOffset? lastDeployedOn, ConversationAuthoringProjectKind projectKind, ConversationAuthoringProjectSettings settings, string storageInputContainerName, string projectName, bool? multilingual, string description, string language, IDictionary serializedAdditionalRawData) { CreatedOn = createdOn; LastModifiedOn = lastModifiedOn; @@ -93,8 +93,8 @@ internal ProjectMetadata(DateTimeOffset createdOn, DateTimeOffset lastModifiedOn _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ProjectMetadata() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringProjectMetadata() { } @@ -109,7 +109,7 @@ internal ProjectMetadata() /// Represents the project kind. public ConversationAuthoringProjectKind ProjectKind { get; } /// The project settings. - public ProjectSettings Settings { get; } + public ConversationAuthoringProjectSettings Settings { get; } /// The storage container name in case of conversation summarization. public string StorageInputContainerName { get; } /// The new project name. diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectSettings.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectSettings.Serialization.cs similarity index 62% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectSettings.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectSettings.Serialization.cs index 23170feb5c4d..2266fd8b8cef 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectSettings.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectSettings.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ProjectSettings : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringProjectSettings : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterO /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectSettings)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectSettings)} does not support writing '{format}' format."); } writer.WritePropertyName("confidenceThreshold"u8); @@ -53,19 +53,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ProjectSettings IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringProjectSettings IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectSettings)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectSettings)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeProjectSettings(document.RootElement, options); + return DeserializeConversationAuthoringProjectSettings(document.RootElement, options); } - internal static ProjectSettings DeserializeProjectSettings(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringProjectSettings DeserializeConversationAuthoringProjectSettings(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -89,46 +89,46 @@ internal static ProjectSettings DeserializeProjectSettings(JsonElement element, } } serializedAdditionalRawData = rawDataDictionary; - return new ProjectSettings(confidenceThreshold, serializedAdditionalRawData); + return new ConversationAuthoringProjectSettings(confidenceThreshold, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ProjectSettings)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectSettings)} does not support writing '{options.Format}' format."); } } - ProjectSettings IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringProjectSettings IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeProjectSettings(document.RootElement, options); + return DeserializeConversationAuthoringProjectSettings(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ProjectSettings)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectSettings)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ProjectSettings FromResponse(Response response) + internal static ConversationAuthoringProjectSettings FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeProjectSettings(document.RootElement); + return DeserializeConversationAuthoringProjectSettings(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectSettings.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectSettings.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectSettings.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectSettings.cs index 54cd96a119f7..76cd439cf0ce 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectSettings.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectSettings.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the settings used to define the project behavior. - public partial class ProjectSettings + public partial class ConversationAuthoringProjectSettings { /// /// Keeps track of any properties unknown to the library. @@ -45,24 +45,24 @@ public partial class ProjectSettings /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The threshold of the intent with the highest confidence, at which the prediction will automatically be changed to "None". The value of the threshold should be between 0 and 1 inclusive. - public ProjectSettings(float confidenceThreshold) + public ConversationAuthoringProjectSettings(float confidenceThreshold) { ConfidenceThreshold = confidenceThreshold; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The threshold of the intent with the highest confidence, at which the prediction will automatically be changed to "None". The value of the threshold should be between 0 and 1 inclusive. /// Keeps track of any properties unknown to the library. - internal ProjectSettings(float confidenceThreshold, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringProjectSettings(float confidenceThreshold, IDictionary serializedAdditionalRawData) { ConfidenceThreshold = confidenceThreshold; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ProjectSettings() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringProjectSettings() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectTrainedModel.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectTrainedModel.Serialization.cs similarity index 72% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectTrainedModel.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectTrainedModel.Serialization.cs index 200890c42c9b..e62237bfd4da 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectTrainedModel.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectTrainedModel.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ProjectTrainedModel : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringProjectTrainedModel : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectTrainedModel)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectTrainedModel)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -68,19 +68,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ProjectTrainedModel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringProjectTrainedModel IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ProjectTrainedModel)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectTrainedModel)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeProjectTrainedModel(document.RootElement, options); + return DeserializeConversationAuthoringProjectTrainedModel(document.RootElement, options); } - internal static ProjectTrainedModel DeserializeProjectTrainedModel(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringProjectTrainedModel DeserializeConversationAuthoringProjectTrainedModel(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -140,7 +140,7 @@ internal static ProjectTrainedModel DeserializeProjectTrainedModel(JsonElement e } } serializedAdditionalRawData = rawDataDictionary; - return new ProjectTrainedModel( + return new ConversationAuthoringProjectTrainedModel( label, modelId, lastTrainedDateTime, @@ -151,43 +151,43 @@ internal static ProjectTrainedModel DeserializeProjectTrainedModel(JsonElement e serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ProjectTrainedModel)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectTrainedModel)} does not support writing '{options.Format}' format."); } } - ProjectTrainedModel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringProjectTrainedModel IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeProjectTrainedModel(document.RootElement, options); + return DeserializeConversationAuthoringProjectTrainedModel(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ProjectTrainedModel)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringProjectTrainedModel)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ProjectTrainedModel FromResponse(Response response) + internal static ConversationAuthoringProjectTrainedModel FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeProjectTrainedModel(document.RootElement); + return DeserializeConversationAuthoringProjectTrainedModel(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectTrainedModel.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectTrainedModel.cs similarity index 82% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectTrainedModel.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectTrainedModel.cs index c5bc4831417d..986d3a3ac517 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ProjectTrainedModel.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringProjectTrainedModel.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a trained model. - public partial class ProjectTrainedModel + public partial class ConversationAuthoringProjectTrainedModel { /// /// Keeps track of any properties unknown to the library. @@ -45,7 +45,7 @@ public partial class ProjectTrainedModel /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The model ID. /// The last trained date time of the model. /// The duration of the model's last training request in seconds. @@ -53,7 +53,7 @@ public partial class ProjectTrainedModel /// The model training config version. /// The flag to indicate if the trained model has a snapshot ready. /// or is null. - internal ProjectTrainedModel(string modelId, DateTimeOffset lastTrainedOn, int lastTrainingDurationInSeconds, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion, bool hasSnapshot) + internal ConversationAuthoringProjectTrainedModel(string modelId, DateTimeOffset lastTrainedOn, int lastTrainingDurationInSeconds, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion, bool hasSnapshot) { Argument.AssertNotNull(modelId, nameof(modelId)); Argument.AssertNotNull(modelTrainingConfigVersion, nameof(modelTrainingConfigVersion)); @@ -66,7 +66,7 @@ internal ProjectTrainedModel(string modelId, DateTimeOffset lastTrainedOn, int l HasSnapshot = hasSnapshot; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The trained model label. /// The model ID. /// The last trained date time of the model. @@ -75,7 +75,7 @@ internal ProjectTrainedModel(string modelId, DateTimeOffset lastTrainedOn, int l /// The model training config version. /// The flag to indicate if the trained model has a snapshot ready. /// Keeps track of any properties unknown to the library. - internal ProjectTrainedModel(string label, string modelId, DateTimeOffset lastTrainedOn, int lastTrainingDurationInSeconds, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion, bool hasSnapshot, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringProjectTrainedModel(string label, string modelId, DateTimeOffset lastTrainedOn, int lastTrainingDurationInSeconds, DateTimeOffset modelExpiredOn, string modelTrainingConfigVersion, bool hasSnapshot, IDictionary serializedAdditionalRawData) { Label = label; ModelId = modelId; @@ -87,8 +87,8 @@ internal ProjectTrainedModel(string label, string modelId, DateTimeOffset lastTr _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ProjectTrainedModel() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringProjectTrainedModel() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ResourceMetadata.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringResourceMetadata.Serialization.cs similarity index 65% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ResourceMetadata.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringResourceMetadata.Serialization.cs index 39bdc2397d99..3be68d70fb26 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ResourceMetadata.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringResourceMetadata.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class ResourceMetadata : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringResourceMetadata : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ResourceMetadata)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringResourceMetadata)} does not support writing '{format}' format."); } writer.WritePropertyName("azureResourceId"u8); @@ -57,19 +57,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ResourceMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringResourceMetadata IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ResourceMetadata)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringResourceMetadata)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeResourceMetadata(document.RootElement, options); + return DeserializeConversationAuthoringResourceMetadata(document.RootElement, options); } - internal static ResourceMetadata DeserializeResourceMetadata(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringResourceMetadata DeserializeConversationAuthoringResourceMetadata(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -105,46 +105,46 @@ internal static ResourceMetadata DeserializeResourceMetadata(JsonElement element } } serializedAdditionalRawData = rawDataDictionary; - return new ResourceMetadata(azureResourceId, customDomain, region, serializedAdditionalRawData); + return new ConversationAuthoringResourceMetadata(azureResourceId, customDomain, region, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ResourceMetadata)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringResourceMetadata)} does not support writing '{options.Format}' format."); } } - ResourceMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringResourceMetadata IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeResourceMetadata(document.RootElement, options); + return DeserializeConversationAuthoringResourceMetadata(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ResourceMetadata)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringResourceMetadata)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ResourceMetadata FromResponse(Response response) + internal static ConversationAuthoringResourceMetadata FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeResourceMetadata(document.RootElement); + return DeserializeConversationAuthoringResourceMetadata(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ResourceMetadata.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringResourceMetadata.cs similarity index 81% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ResourceMetadata.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringResourceMetadata.cs index baca2ceea6e5..599058db8441 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ResourceMetadata.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringResourceMetadata.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents metadata for the Azure resource.. - public partial class ResourceMetadata + public partial class ConversationAuthoringResourceMetadata { /// /// Keeps track of any properties unknown to the library. @@ -45,12 +45,12 @@ public partial class ResourceMetadata /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the Azure resource ID. /// Represents the Azure resource custom domain. /// Represents the Azure resource region. /// , or is null. - public ResourceMetadata(string azureResourceId, string customDomain, string region) + public ConversationAuthoringResourceMetadata(string azureResourceId, string customDomain, string region) { Argument.AssertNotNull(azureResourceId, nameof(azureResourceId)); Argument.AssertNotNull(customDomain, nameof(customDomain)); @@ -61,12 +61,12 @@ public ResourceMetadata(string azureResourceId, string customDomain, string regi Region = region; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the Azure resource ID. /// Represents the Azure resource custom domain. /// Represents the Azure resource region. /// Keeps track of any properties unknown to the library. - internal ResourceMetadata(string azureResourceId, string customDomain, string region, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringResourceMetadata(string azureResourceId, string customDomain, string region, IDictionary serializedAdditionalRawData) { AzureResourceId = azureResourceId; CustomDomain = customDomain; @@ -74,8 +74,8 @@ internal ResourceMetadata(string azureResourceId, string customDomain, string re _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal ResourceMetadata() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringResourceMetadata() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SubTrainingOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSubTrainingState.Serialization.cs similarity index 69% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SubTrainingOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSubTrainingState.Serialization.cs index b3c3945475e6..9806f940121e 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SubTrainingOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSubTrainingState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class SubTrainingOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringSubTrainingState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelRea /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(SubTrainingOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSubTrainingState)} does not support writing '{format}' format."); } writer.WritePropertyName("percentComplete"u8); @@ -65,19 +65,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - SubTrainingOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringSubTrainingState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(SubTrainingOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSubTrainingState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeSubTrainingOperationState(document.RootElement, options); + return DeserializeConversationAuthoringSubTrainingState(document.RootElement, options); } - internal static SubTrainingOperationState DeserializeSubTrainingOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringSubTrainingState DeserializeConversationAuthoringSubTrainingState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -127,46 +127,46 @@ internal static SubTrainingOperationState DeserializeSubTrainingOperationState(J } } serializedAdditionalRawData = rawDataDictionary; - return new SubTrainingOperationState(percentComplete, startDateTime, endDateTime, status, serializedAdditionalRawData); + return new ConversationAuthoringSubTrainingState(percentComplete, startDateTime, endDateTime, status, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(SubTrainingOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSubTrainingState)} does not support writing '{options.Format}' format."); } } - SubTrainingOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringSubTrainingState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeSubTrainingOperationState(document.RootElement, options); + return DeserializeConversationAuthoringSubTrainingState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(SubTrainingOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSubTrainingState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static SubTrainingOperationState FromResponse(Response response) + internal static ConversationAuthoringSubTrainingState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeSubTrainingOperationState(document.RootElement); + return DeserializeConversationAuthoringSubTrainingState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SubTrainingOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSubTrainingState.cs similarity index 78% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SubTrainingOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSubTrainingState.cs index 96b674e607c4..b81a2686e3e1 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SubTrainingOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSubTrainingState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the detailed state of a training sub-operation. - public partial class SubTrainingOperationState + public partial class ConversationAuthoringSubTrainingState { /// /// Keeps track of any properties unknown to the library. @@ -45,22 +45,22 @@ public partial class SubTrainingOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents progress percentage. /// Represents the status of the sub-operation. - internal SubTrainingOperationState(int percentComplete, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringSubTrainingState(int percentComplete, ConversationAuthoringOperationStatus status) { PercentComplete = percentComplete; Status = status; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents progress percentage. /// Represents the start date time. /// Represents the end date time. /// Represents the status of the sub-operation. /// Keeps track of any properties unknown to the library. - internal SubTrainingOperationState(int percentComplete, DateTimeOffset? startedOn, DateTimeOffset? endedOn, ConversationAuthoringOperationStatus status, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringSubTrainingState(int percentComplete, DateTimeOffset? startedOn, DateTimeOffset? endedOn, ConversationAuthoringOperationStatus status, IDictionary serializedAdditionalRawData) { PercentComplete = percentComplete; StartedOn = startedOn; @@ -69,8 +69,8 @@ internal SubTrainingOperationState(int percentComplete, DateTimeOffset? startedO _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal SubTrainingOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringSubTrainingState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SupportedLanguage.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSupportedLanguage.Serialization.cs similarity index 63% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SupportedLanguage.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSupportedLanguage.Serialization.cs index 06bde9d167a0..abf07cb8cbd5 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SupportedLanguage.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSupportedLanguage.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class SupportedLanguage : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringSupportedLanguage : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(SupportedLanguage)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSupportedLanguage)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -58,19 +58,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - SupportedLanguage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringSupportedLanguage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(SupportedLanguage)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSupportedLanguage)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeSupportedLanguage(document.RootElement, options); + return DeserializeConversationAuthoringSupportedLanguage(document.RootElement, options); } - internal static SupportedLanguage DeserializeSupportedLanguage(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringSupportedLanguage DeserializeConversationAuthoringSupportedLanguage(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -100,46 +100,46 @@ internal static SupportedLanguage DeserializeSupportedLanguage(JsonElement eleme } } serializedAdditionalRawData = rawDataDictionary; - return new SupportedLanguage(languageName, languageCode, serializedAdditionalRawData); + return new ConversationAuthoringSupportedLanguage(languageName, languageCode, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(SupportedLanguage)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSupportedLanguage)} does not support writing '{options.Format}' format."); } } - SupportedLanguage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringSupportedLanguage IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeSupportedLanguage(document.RootElement, options); + return DeserializeConversationAuthoringSupportedLanguage(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(SupportedLanguage)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSupportedLanguage)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static SupportedLanguage FromResponse(Response response) + internal static ConversationAuthoringSupportedLanguage FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeSupportedLanguage(document.RootElement); + return DeserializeConversationAuthoringSupportedLanguage(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SupportedLanguage.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSupportedLanguage.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SupportedLanguage.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSupportedLanguage.cs index 5d4cbca1d428..243d35f94d17 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SupportedLanguage.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSupportedLanguage.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a supported language. - public partial class SupportedLanguage + public partial class ConversationAuthoringSupportedLanguage { /// /// Keeps track of any properties unknown to the library. @@ -45,29 +45,29 @@ public partial class SupportedLanguage /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// is null. - internal SupportedLanguage(string languageCode) + internal ConversationAuthoringSupportedLanguage(string languageCode) { Argument.AssertNotNull(languageCode, nameof(languageCode)); LanguageCode = languageCode; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The language name. /// The language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc. /// Keeps track of any properties unknown to the library. - internal SupportedLanguage(string languageName, string languageCode, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringSupportedLanguage(string languageName, string languageCode, IDictionary serializedAdditionalRawData) { LanguageName = languageName; LanguageCode = languageCode; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal SupportedLanguage() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringSupportedLanguage() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsDetails.Serialization.cs similarity index 62% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsDetails.Serialization.cs index fed56882fefe..3ad1dbcfa958 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class SwapDeploymentsDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringSwapDeploymentsDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(SwapDeploymentsDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("firstDeploymentName"u8); @@ -55,19 +55,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - SwapDeploymentsDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringSwapDeploymentsDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(SwapDeploymentsDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeSwapDeploymentsDetails(document.RootElement, options); + return DeserializeConversationAuthoringSwapDeploymentsDetails(document.RootElement, options); } - internal static SwapDeploymentsDetails DeserializeSwapDeploymentsDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringSwapDeploymentsDetails DeserializeConversationAuthoringSwapDeploymentsDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -97,46 +97,46 @@ internal static SwapDeploymentsDetails DeserializeSwapDeploymentsDetails(JsonEle } } serializedAdditionalRawData = rawDataDictionary; - return new SwapDeploymentsDetails(firstDeploymentName, secondDeploymentName, serializedAdditionalRawData); + return new ConversationAuthoringSwapDeploymentsDetails(firstDeploymentName, secondDeploymentName, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(SwapDeploymentsDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsDetails)} does not support writing '{options.Format}' format."); } } - SwapDeploymentsDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringSwapDeploymentsDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeSwapDeploymentsDetails(document.RootElement, options); + return DeserializeConversationAuthoringSwapDeploymentsDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(SwapDeploymentsDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static SwapDeploymentsDetails FromResponse(Response response) + internal static ConversationAuthoringSwapDeploymentsDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeSwapDeploymentsDetails(document.RootElement); + return DeserializeConversationAuthoringSwapDeploymentsDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsDetails.cs similarity index 79% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsDetails.cs index e0020e2227f6..d87479bd51d5 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options for swapping two deployments together. - public partial class SwapDeploymentsDetails + public partial class ConversationAuthoringSwapDeploymentsDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class SwapDeploymentsDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the first deployment name. /// Represents the second deployment name. /// or is null. - public SwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName) + public ConversationAuthoringSwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName) { Argument.AssertNotNull(firstDeploymentName, nameof(firstDeploymentName)); Argument.AssertNotNull(secondDeploymentName, nameof(secondDeploymentName)); @@ -58,19 +58,19 @@ public SwapDeploymentsDetails(string firstDeploymentName, string secondDeploymen SecondDeploymentName = secondDeploymentName; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the first deployment name. /// Represents the second deployment name. /// Keeps track of any properties unknown to the library. - internal SwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringSwapDeploymentsDetails(string firstDeploymentName, string secondDeploymentName, IDictionary serializedAdditionalRawData) { FirstDeploymentName = firstDeploymentName; SecondDeploymentName = secondDeploymentName; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal SwapDeploymentsDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringSwapDeploymentsDetails() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResourcesOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsState.Serialization.cs similarity index 76% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResourcesOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsState.Serialization.cs index 23accdaeebd1..e380765b1a22 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentResourcesOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class DeploymentResourcesOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringSwapDeploymentsState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeploymentResourcesOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -87,19 +87,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - DeploymentResourcesOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringSwapDeploymentsState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DeploymentResourcesOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDeploymentResourcesOperationState(document.RootElement, options); + return DeserializeConversationAuthoringSwapDeploymentsState(document.RootElement, options); } - internal static DeploymentResourcesOperationState DeserializeDeploymentResourcesOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringSwapDeploymentsState DeserializeConversationAuthoringSwapDeploymentsState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -181,7 +181,7 @@ internal static DeploymentResourcesOperationState DeserializeDeploymentResources } } serializedAdditionalRawData = rawDataDictionary; - return new DeploymentResourcesOperationState( + return new ConversationAuthoringSwapDeploymentsState( jobId, createdDateTime, lastUpdatedDateTime, @@ -192,43 +192,43 @@ internal static DeploymentResourcesOperationState DeserializeDeploymentResources serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(DeploymentResourcesOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsState)} does not support writing '{options.Format}' format."); } } - DeploymentResourcesOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringSwapDeploymentsState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeDeploymentResourcesOperationState(document.RootElement, options); + return DeserializeConversationAuthoringSwapDeploymentsState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(DeploymentResourcesOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringSwapDeploymentsState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static DeploymentResourcesOperationState FromResponse(Response response) + internal static ConversationAuthoringSwapDeploymentsState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeDeploymentResourcesOperationState(document.RootElement); + return DeserializeConversationAuthoringSwapDeploymentsState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsState.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsState.cs index 11ba36698a1b..742548a68933 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringSwapDeploymentsState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a deployment job. - public partial class DeploymentOperationState + public partial class ConversationAuthoringSwapDeploymentsState { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class DeploymentOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. - internal DeploymentOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) + internal ConversationAuthoringSwapDeploymentsState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status) { CreatedOn = createdOn; LastUpdatedOn = lastUpdatedOn; @@ -58,7 +58,7 @@ internal DeploymentOperationState(DateTimeOffset createdOn, DateTimeOffset lastU Errors = new ChangeTrackingList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -67,7 +67,7 @@ internal DeploymentOperationState(DateTimeOffset createdOn, DateTimeOffset lastU /// The warnings that were encountered while executing the job. /// The errors encountered while executing the job. /// Keeps track of any properties unknown to the library. - internal DeploymentOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringSwapDeploymentsState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -79,8 +79,8 @@ internal DeploymentOperationState(string jobId, DateTimeOffset createdOn, DateTi _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal DeploymentOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringSwapDeploymentsState() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainedModel.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainedModel.cs index b01f6c8904fd..4622aacca514 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainedModel.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainedModel.cs @@ -254,10 +254,10 @@ internal static RequestContext FromCancellationToken(CancellationToken cancellat private static ResponseClassifier _responseClassifier202; private static ResponseClassifier ResponseClassifier202 => _responseClassifier202 ??= new StatusCodeClassifier(stackalloc ushort[] { 202 }); - private EvaluationJobResult FetchEvaluationJobResultFromEvaluationOperationState(Response response) + private ConversationAuthoringEvaluationJobResult FetchConversationAuthoringEvaluationJobResultFromConversationAuthoringEvaluationState(Response response) { var resultJsonElement = JsonDocument.Parse(response.Content).RootElement.GetProperty("result"); - return EvaluationJobResult.DeserializeEvaluationJobResult(resultJsonElement); + return ConversationAuthoringEvaluationJobResult.DeserializeConversationAuthoringEvaluationJobResult(resultJsonElement); } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingConfigVersion.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingConfigVersion.Serialization.cs similarity index 62% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingConfigVersion.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingConfigVersion.Serialization.cs index 9db287de9ac5..97f23d8e2901 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingConfigVersion.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingConfigVersion.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class TrainingConfigVersion : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringTrainingConfigVersion : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,16 +28,16 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingConfigVersion)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingConfigVersion)} does not support writing '{format}' format."); } if (options.Format != "W") { writer.WritePropertyName("trainingConfigVersion"u8); - writer.WriteStringValue(TrainingConfigVersionProperty); + writer.WriteStringValue(TrainingConfigVersion); } writer.WritePropertyName("modelExpirationDate"u8); writer.WriteStringValue(ModelExpirationDate, "D"); @@ -58,19 +58,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - TrainingConfigVersion IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringTrainingConfigVersion IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingConfigVersion)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingConfigVersion)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeTrainingConfigVersion(document.RootElement, options); + return DeserializeConversationAuthoringTrainingConfigVersion(document.RootElement, options); } - internal static TrainingConfigVersion DeserializeTrainingConfigVersion(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringTrainingConfigVersion DeserializeConversationAuthoringTrainingConfigVersion(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -100,46 +100,46 @@ internal static TrainingConfigVersion DeserializeTrainingConfigVersion(JsonEleme } } serializedAdditionalRawData = rawDataDictionary; - return new TrainingConfigVersion(trainingConfigVersion, modelExpirationDate, serializedAdditionalRawData); + return new ConversationAuthoringTrainingConfigVersion(trainingConfigVersion, modelExpirationDate, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(TrainingConfigVersion)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingConfigVersion)} does not support writing '{options.Format}' format."); } } - TrainingConfigVersion IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringTrainingConfigVersion IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeTrainingConfigVersion(document.RootElement, options); + return DeserializeConversationAuthoringTrainingConfigVersion(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(TrainingConfigVersion)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingConfigVersion)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static TrainingConfigVersion FromResponse(Response response) + internal static ConversationAuthoringTrainingConfigVersion FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeTrainingConfigVersion(document.RootElement); + return DeserializeConversationAuthoringTrainingConfigVersion(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingConfigVersion.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingConfigVersion.cs similarity index 71% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingConfigVersion.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingConfigVersion.cs index 22fcf0400450..2f6bd0f674d4 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingConfigVersion.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingConfigVersion.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents a training config version. - public partial class TrainingConfigVersion + public partial class ConversationAuthoringTrainingConfigVersion { /// /// Keeps track of any properties unknown to the library. @@ -45,31 +45,31 @@ public partial class TrainingConfigVersion /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the training config version expiration date. - internal TrainingConfigVersion(DateTimeOffset modelExpirationDate) + internal ConversationAuthoringTrainingConfigVersion(DateTimeOffset modelExpirationDate) { ModelExpirationDate = modelExpirationDate; } - /// Initializes a new instance of . - /// Represents the version of the config. + /// Initializes a new instance of . + /// Represents the version of the config. /// Represents the training config version expiration date. /// Keeps track of any properties unknown to the library. - internal TrainingConfigVersion(string trainingConfigVersionProperty, DateTimeOffset modelExpirationDate, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringTrainingConfigVersion(string trainingConfigVersion, DateTimeOffset modelExpirationDate, IDictionary serializedAdditionalRawData) { - TrainingConfigVersionProperty = trainingConfigVersionProperty; + TrainingConfigVersion = trainingConfigVersion; ModelExpirationDate = modelExpirationDate; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal TrainingConfigVersion() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringTrainingConfigVersion() { } /// Represents the version of the config. - public string TrainingConfigVersionProperty { get; } + public string TrainingConfigVersion { get; } /// Represents the training config version expiration date. public DateTimeOffset ModelExpirationDate { get; } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobDetails.Serialization.cs similarity index 65% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobDetails.Serialization.cs index 83d5c71d7ceb..41ec8bb8caa8 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class TrainingJobDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringTrainingJobDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrit /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingJobDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("modelLabel"u8); @@ -65,19 +65,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - TrainingJobDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringTrainingJobDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingJobDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeTrainingJobDetails(document.RootElement, options); + return DeserializeConversationAuthoringTrainingJobDetails(document.RootElement, options); } - internal static TrainingJobDetails DeserializeTrainingJobDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringTrainingJobDetails DeserializeConversationAuthoringTrainingJobDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -88,7 +88,7 @@ internal static TrainingJobDetails DeserializeTrainingJobDetails(JsonElement ele string modelLabel = default; string trainingConfigVersion = default; ConversationAuthoringTrainingMode trainingMode = default; - EvaluationDetails evaluationOptions = default; + ConversationAuthoringEvaluationDetails evaluationOptions = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -114,7 +114,7 @@ internal static TrainingJobDetails DeserializeTrainingJobDetails(JsonElement ele { continue; } - evaluationOptions = EvaluationDetails.DeserializeEvaluationDetails(property.Value, options); + evaluationOptions = ConversationAuthoringEvaluationDetails.DeserializeConversationAuthoringEvaluationDetails(property.Value, options); continue; } if (options.Format != "W") @@ -123,46 +123,46 @@ internal static TrainingJobDetails DeserializeTrainingJobDetails(JsonElement ele } } serializedAdditionalRawData = rawDataDictionary; - return new TrainingJobDetails(modelLabel, trainingConfigVersion, trainingMode, evaluationOptions, serializedAdditionalRawData); + return new ConversationAuthoringTrainingJobDetails(modelLabel, trainingConfigVersion, trainingMode, evaluationOptions, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(TrainingJobDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobDetails)} does not support writing '{options.Format}' format."); } } - TrainingJobDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringTrainingJobDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeTrainingJobDetails(document.RootElement, options); + return DeserializeConversationAuthoringTrainingJobDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(TrainingJobDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static TrainingJobDetails FromResponse(Response response) + internal static ConversationAuthoringTrainingJobDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeTrainingJobDetails(document.RootElement); + return DeserializeConversationAuthoringTrainingJobDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobDetails.cs similarity index 79% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobDetails.cs index 22f1fb20a53d..90c6b5c2e48a 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobDetails.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options for starting a new training job. - public partial class TrainingJobDetails + public partial class ConversationAuthoringTrainingJobDetails { /// /// Keeps track of any properties unknown to the library. @@ -45,11 +45,11 @@ public partial class TrainingJobDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the output model label. /// Represents the mode of the training operation. /// is null. - public TrainingJobDetails(string modelLabel, ConversationAuthoringTrainingMode trainingMode) + public ConversationAuthoringTrainingJobDetails(string modelLabel, ConversationAuthoringTrainingMode trainingMode) { Argument.AssertNotNull(modelLabel, nameof(modelLabel)); @@ -57,13 +57,13 @@ public TrainingJobDetails(string modelLabel, ConversationAuthoringTrainingMode t TrainingMode = trainingMode; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the output model label. /// Represents training config version. By default, "latest" value is used which uses the latest released training config version. /// Represents the mode of the training operation. /// Represents the evaluation options. By default, the evaluation kind is percentage, with training split percentage as 80, and testing split percentage as 20. /// Keeps track of any properties unknown to the library. - internal TrainingJobDetails(string modelLabel, string trainingConfigVersion, ConversationAuthoringTrainingMode trainingMode, EvaluationDetails evaluationOptions, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringTrainingJobDetails(string modelLabel, string trainingConfigVersion, ConversationAuthoringTrainingMode trainingMode, ConversationAuthoringEvaluationDetails evaluationOptions, IDictionary serializedAdditionalRawData) { ModelLabel = modelLabel; TrainingConfigVersion = trainingConfigVersion; @@ -72,8 +72,8 @@ internal TrainingJobDetails(string modelLabel, string trainingConfigVersion, Con _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal TrainingJobDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringTrainingJobDetails() { } @@ -84,6 +84,6 @@ internal TrainingJobDetails() /// Represents the mode of the training operation. public ConversationAuthoringTrainingMode TrainingMode { get; } /// Represents the evaluation options. By default, the evaluation kind is percentage, with training split percentage as 80, and testing split percentage as 20. - public EvaluationDetails EvaluationOptions { get; set; } + public ConversationAuthoringEvaluationDetails EvaluationOptions { get; set; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobResult.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobResult.Serialization.cs similarity index 69% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobResult.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobResult.Serialization.cs index 69899cd4cdfd..218b6049e7c5 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobResult.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobResult.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class TrainingJobResult : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringTrainingJobResult : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingJobResult)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobResult)} does not support writing '{format}' format."); } writer.WritePropertyName("modelLabel"u8); @@ -72,19 +72,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - TrainingJobResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringTrainingJobResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingJobResult)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobResult)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeTrainingJobResult(document.RootElement, options); + return DeserializeConversationAuthoringTrainingJobResult(document.RootElement, options); } - internal static TrainingJobResult DeserializeTrainingJobResult(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringTrainingJobResult DeserializeConversationAuthoringTrainingJobResult(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -95,8 +95,8 @@ internal static TrainingJobResult DeserializeTrainingJobResult(JsonElement eleme string modelLabel = default; string trainingConfigVersion = default; ConversationAuthoringTrainingMode? trainingMode = default; - SubTrainingOperationState trainingStatus = default; - SubTrainingOperationState evaluationStatus = default; + ConversationAuthoringSubTrainingState trainingStatus = default; + ConversationAuthoringSubTrainingState evaluationStatus = default; DateTimeOffset? estimatedEndDateTime = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); @@ -123,7 +123,7 @@ internal static TrainingJobResult DeserializeTrainingJobResult(JsonElement eleme } if (property.NameEquals("trainingStatus"u8)) { - trainingStatus = SubTrainingOperationState.DeserializeSubTrainingOperationState(property.Value, options); + trainingStatus = ConversationAuthoringSubTrainingState.DeserializeConversationAuthoringSubTrainingState(property.Value, options); continue; } if (property.NameEquals("evaluationStatus"u8)) @@ -132,7 +132,7 @@ internal static TrainingJobResult DeserializeTrainingJobResult(JsonElement eleme { continue; } - evaluationStatus = SubTrainingOperationState.DeserializeSubTrainingOperationState(property.Value, options); + evaluationStatus = ConversationAuthoringSubTrainingState.DeserializeConversationAuthoringSubTrainingState(property.Value, options); continue; } if (property.NameEquals("estimatedEndDateTime"u8)) @@ -150,7 +150,7 @@ internal static TrainingJobResult DeserializeTrainingJobResult(JsonElement eleme } } serializedAdditionalRawData = rawDataDictionary; - return new TrainingJobResult( + return new ConversationAuthoringTrainingJobResult( modelLabel, trainingConfigVersion, trainingMode, @@ -160,43 +160,43 @@ internal static TrainingJobResult DeserializeTrainingJobResult(JsonElement eleme serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(TrainingJobResult)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobResult)} does not support writing '{options.Format}' format."); } } - TrainingJobResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringTrainingJobResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeTrainingJobResult(document.RootElement, options); + return DeserializeConversationAuthoringTrainingJobResult(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(TrainingJobResult)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingJobResult)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static TrainingJobResult FromResponse(Response response) + internal static ConversationAuthoringTrainingJobResult FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeTrainingJobResult(document.RootElement); + return DeserializeConversationAuthoringTrainingJobResult(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobResult.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobResult.cs similarity index 78% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobResult.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobResult.cs index 2db468347ceb..7af2d341bdd2 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingJobResult.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingJobResult.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the output of a training job. - public partial class TrainingJobResult + public partial class ConversationAuthoringTrainingJobResult { /// /// Keeps track of any properties unknown to the library. @@ -45,12 +45,12 @@ public partial class TrainingJobResult /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents trained model label. /// Represents training config version. /// Represents the model training status. /// , or is null. - internal TrainingJobResult(string modelLabel, string trainingConfigVersion, SubTrainingOperationState trainingStatus) + internal ConversationAuthoringTrainingJobResult(string modelLabel, string trainingConfigVersion, ConversationAuthoringSubTrainingState trainingStatus) { Argument.AssertNotNull(modelLabel, nameof(modelLabel)); Argument.AssertNotNull(trainingConfigVersion, nameof(trainingConfigVersion)); @@ -61,7 +61,7 @@ internal TrainingJobResult(string modelLabel, string trainingConfigVersion, SubT TrainingStatus = trainingStatus; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents trained model label. /// Represents training config version. /// Represents the mode of the training operation. @@ -69,7 +69,7 @@ internal TrainingJobResult(string modelLabel, string trainingConfigVersion, SubT /// Represents model evaluation status. /// Represents the estimated end date time for training and evaluation. /// Keeps track of any properties unknown to the library. - internal TrainingJobResult(string modelLabel, string trainingConfigVersion, ConversationAuthoringTrainingMode? trainingMode, SubTrainingOperationState trainingStatus, SubTrainingOperationState evaluationStatus, DateTimeOffset? estimatedEndOn, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringTrainingJobResult(string modelLabel, string trainingConfigVersion, ConversationAuthoringTrainingMode? trainingMode, ConversationAuthoringSubTrainingState trainingStatus, ConversationAuthoringSubTrainingState evaluationStatus, DateTimeOffset? estimatedEndOn, IDictionary serializedAdditionalRawData) { ModelLabel = modelLabel; TrainingConfigVersion = trainingConfigVersion; @@ -80,8 +80,8 @@ internal TrainingJobResult(string modelLabel, string trainingConfigVersion, Conv _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal TrainingJobResult() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringTrainingJobResult() { } @@ -92,9 +92,9 @@ internal TrainingJobResult() /// Represents the mode of the training operation. public ConversationAuthoringTrainingMode? TrainingMode { get; } /// Represents the model training status. - public SubTrainingOperationState TrainingStatus { get; } + public ConversationAuthoringSubTrainingState TrainingStatus { get; } /// Represents model evaluation status. - public SubTrainingOperationState EvaluationStatus { get; } + public ConversationAuthoringSubTrainingState EvaluationStatus { get; } /// Represents the estimated end date time for training and evaluation. public DateTimeOffset? EstimatedEndOn { get; } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingState.Serialization.cs similarity index 77% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingOperationState.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingState.Serialization.cs index 989eeb5ea062..a0486c322d32 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingOperationState.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingState.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class TrainingOperationState : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringTrainingState : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReader /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingOperationState)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingState)} does not support writing '{format}' format."); } if (options.Format != "W") @@ -89,19 +89,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - TrainingOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringTrainingState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(TrainingOperationState)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingState)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeTrainingOperationState(document.RootElement, options); + return DeserializeConversationAuthoringTrainingState(document.RootElement, options); } - internal static TrainingOperationState DeserializeTrainingOperationState(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringTrainingState DeserializeConversationAuthoringTrainingState(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -116,7 +116,7 @@ internal static TrainingOperationState DeserializeTrainingOperationState(JsonEle ConversationAuthoringOperationStatus status = default; IReadOnlyList warnings = default; IReadOnlyList errors = default; - TrainingJobResult result = default; + ConversationAuthoringTrainingJobResult result = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -180,7 +180,7 @@ internal static TrainingOperationState DeserializeTrainingOperationState(JsonEle } if (property.NameEquals("result"u8)) { - result = TrainingJobResult.DeserializeTrainingJobResult(property.Value, options); + result = ConversationAuthoringTrainingJobResult.DeserializeConversationAuthoringTrainingJobResult(property.Value, options); continue; } if (options.Format != "W") @@ -189,7 +189,7 @@ internal static TrainingOperationState DeserializeTrainingOperationState(JsonEle } } serializedAdditionalRawData = rawDataDictionary; - return new TrainingOperationState( + return new ConversationAuthoringTrainingState( jobId, createdDateTime, lastUpdatedDateTime, @@ -201,43 +201,43 @@ internal static TrainingOperationState DeserializeTrainingOperationState(JsonEle serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(TrainingOperationState)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingState)} does not support writing '{options.Format}' format."); } } - TrainingOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringTrainingState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeTrainingOperationState(document.RootElement, options); + return DeserializeConversationAuthoringTrainingState(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(TrainingOperationState)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringTrainingState)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static TrainingOperationState FromResponse(Response response) + internal static ConversationAuthoringTrainingState FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeTrainingOperationState(document.RootElement); + return DeserializeConversationAuthoringTrainingState(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingOperationState.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingState.cs similarity index 80% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingOperationState.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingState.cs index 5986fe1f0534..ec9741426d01 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/TrainingOperationState.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringTrainingState.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the state of a training job. - public partial class TrainingOperationState + public partial class ConversationAuthoringTrainingState { /// /// Keeps track of any properties unknown to the library. @@ -45,13 +45,13 @@ public partial class TrainingOperationState /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// The creation date time of the job. /// The last date time the job was updated. /// The job status. /// Represents training tasks detailed result. /// is null. - internal TrainingOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status, TrainingJobResult result) + internal ConversationAuthoringTrainingState(DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, ConversationAuthoringOperationStatus status, ConversationAuthoringTrainingJobResult result) { Argument.AssertNotNull(result, nameof(result)); @@ -63,7 +63,7 @@ internal TrainingOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpd Result = result; } - /// Initializes a new instance of . + /// Initializes a new instance of . /// The job ID. /// The creation date time of the job. /// The last date time the job was updated. @@ -73,7 +73,7 @@ internal TrainingOperationState(DateTimeOffset createdOn, DateTimeOffset lastUpd /// The errors encountered while executing the job. /// Represents training tasks detailed result. /// Keeps track of any properties unknown to the library. - internal TrainingOperationState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, TrainingJobResult result, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringTrainingState(string jobId, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, DateTimeOffset? expiresOn, ConversationAuthoringOperationStatus status, IReadOnlyList warnings, IReadOnlyList errors, ConversationAuthoringTrainingJobResult result, IDictionary serializedAdditionalRawData) { JobId = jobId; CreatedOn = createdOn; @@ -86,8 +86,8 @@ internal TrainingOperationState(string jobId, DateTimeOffset createdOn, DateTime _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal TrainingOperationState() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringTrainingState() { } @@ -106,6 +106,6 @@ internal TrainingOperationState() /// The errors encountered while executing the job. public IReadOnlyList Errors { get; } /// Represents training tasks detailed result. - public TrainingJobResult Result { get; } + public ConversationAuthoringTrainingJobResult Result { get; } } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnassignDeploymentResourcesDetails.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringUnassignDeploymentResourcesDetails.Serialization.cs similarity index 60% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnassignDeploymentResourcesDetails.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringUnassignDeploymentResourcesDetails.Serialization.cs index fa5861ae0c00..abbcfdc17475 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnassignDeploymentResourcesDetails.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringUnassignDeploymentResourcesDetails.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - public partial class UnassignDeploymentResourcesDetails : IUtf8JsonSerializable, IJsonModel + public partial class ConversationAuthoringUnassignDeploymentResourcesDetails : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,10 +28,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(UnassignDeploymentResourcesDetails)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringUnassignDeploymentResourcesDetails)} does not support writing '{format}' format."); } writer.WritePropertyName("assignedResourceIds"u8); @@ -58,19 +58,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - UnassignDeploymentResourcesDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringUnassignDeploymentResourcesDetails IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(UnassignDeploymentResourcesDetails)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringUnassignDeploymentResourcesDetails)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeUnassignDeploymentResourcesDetails(document.RootElement, options); + return DeserializeConversationAuthoringUnassignDeploymentResourcesDetails(document.RootElement, options); } - internal static UnassignDeploymentResourcesDetails DeserializeUnassignDeploymentResourcesDetails(JsonElement element, ModelReaderWriterOptions options = null) + internal static ConversationAuthoringUnassignDeploymentResourcesDetails DeserializeConversationAuthoringUnassignDeploymentResourcesDetails(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -99,46 +99,46 @@ internal static UnassignDeploymentResourcesDetails DeserializeUnassignDeployment } } serializedAdditionalRawData = rawDataDictionary; - return new UnassignDeploymentResourcesDetails(assignedResourceIds, serializedAdditionalRawData); + return new ConversationAuthoringUnassignDeploymentResourcesDetails(assignedResourceIds, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(UnassignDeploymentResourcesDetails)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringUnassignDeploymentResourcesDetails)} does not support writing '{options.Format}' format."); } } - UnassignDeploymentResourcesDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringUnassignDeploymentResourcesDetails IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeUnassignDeploymentResourcesDetails(document.RootElement, options); + return DeserializeConversationAuthoringUnassignDeploymentResourcesDetails(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(UnassignDeploymentResourcesDetails)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringUnassignDeploymentResourcesDetails)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static UnassignDeploymentResourcesDetails FromResponse(Response response) + internal static ConversationAuthoringUnassignDeploymentResourcesDetails FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeUnassignDeploymentResourcesDetails(document.RootElement); + return DeserializeConversationAuthoringUnassignDeploymentResourcesDetails(document.RootElement); } /// Convert into a . diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnassignDeploymentResourcesDetails.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringUnassignDeploymentResourcesDetails.cs similarity index 75% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnassignDeploymentResourcesDetails.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringUnassignDeploymentResourcesDetails.cs index 4f472b166ab6..6dfc0c425fb0 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnassignDeploymentResourcesDetails.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationAuthoringUnassignDeploymentResourcesDetails.cs @@ -12,7 +12,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the options to unassign Azure resources from a project. - public partial class UnassignDeploymentResourcesDetails + public partial class ConversationAuthoringUnassignDeploymentResourcesDetails { /// /// Keeps track of any properties unknown to the library. @@ -46,27 +46,27 @@ public partial class UnassignDeploymentResourcesDetails /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the assigned resource IDs to be unassigned. /// is null. - public UnassignDeploymentResourcesDetails(IEnumerable assignedResourceIds) + public ConversationAuthoringUnassignDeploymentResourcesDetails(IEnumerable assignedResourceIds) { Argument.AssertNotNull(assignedResourceIds, nameof(assignedResourceIds)); AssignedResourceIds = assignedResourceIds.ToList(); } - /// Initializes a new instance of . + /// Initializes a new instance of . /// Represents the assigned resource IDs to be unassigned. /// Keeps track of any properties unknown to the library. - internal UnassignDeploymentResourcesDetails(IList assignedResourceIds, IDictionary serializedAdditionalRawData) + internal ConversationAuthoringUnassignDeploymentResourcesDetails(IList assignedResourceIds, IDictionary serializedAdditionalRawData) { AssignedResourceIds = assignedResourceIds; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal UnassignDeploymentResourcesDetails() + /// Initializes a new instance of for deserialization. + internal ConversationAuthoringUnassignDeploymentResourcesDetails() { } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.Serialization.cs index ca01747cd38a..4c2cd1e3bb66 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.Serialization.cs @@ -110,8 +110,8 @@ internal static ConversationExportedEntity DeserializeConversationExportedEntity } string category = default; ConversationAuthoringCompositionMode? compositionSetting = default; - ExportedEntityList entities = default; - IList prebuilts = default; + ConversationAuthoringExportedEntityList entities = default; + IList prebuilts = default; ExportedEntityRegex regex = default; IList requiredComponents = default; IDictionary serializedAdditionalRawData = default; @@ -138,7 +138,7 @@ internal static ConversationExportedEntity DeserializeConversationExportedEntity { continue; } - entities = ExportedEntityList.DeserializeExportedEntityList(property.Value, options); + entities = ConversationAuthoringExportedEntityList.DeserializeConversationAuthoringExportedEntityList(property.Value, options); continue; } if (property.NameEquals("prebuilts"u8)) @@ -147,10 +147,10 @@ internal static ConversationExportedEntity DeserializeConversationExportedEntity { continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ExportedPrebuiltEntity.DeserializeExportedPrebuiltEntity(item, options)); + array.Add(ConversationAuthoringExportedPrebuiltEntity.DeserializeConversationAuthoringExportedPrebuiltEntity(item, options)); } prebuilts = array; continue; @@ -188,7 +188,7 @@ internal static ConversationExportedEntity DeserializeConversationExportedEntity category, compositionSetting, entities, - prebuilts ?? new ChangeTrackingList(), + prebuilts ?? new ChangeTrackingList(), regex, requiredComponents ?? new ChangeTrackingList(), serializedAdditionalRawData); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.cs index 0019c94c0659..ead94ca517ca 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedEntity.cs @@ -53,7 +53,7 @@ public ConversationExportedEntity(string category) Argument.AssertNotNull(category, nameof(category)); Category = category; - Prebuilts = new ChangeTrackingList(); + Prebuilts = new ChangeTrackingList(); RequiredComponents = new ChangeTrackingList(); } @@ -65,7 +65,7 @@ public ConversationExportedEntity(string category) /// The regex component of the entity. /// The required components. Allowed values are 'learned', 'list', 'prebuilts' and 'regex'. /// Keeps track of any properties unknown to the library. - internal ConversationExportedEntity(string category, ConversationAuthoringCompositionMode? compositionMode, ExportedEntityList entities, IList prebuilts, ExportedEntityRegex regex, IList requiredComponents, IDictionary serializedAdditionalRawData) + internal ConversationExportedEntity(string category, ConversationAuthoringCompositionMode? compositionMode, ConversationAuthoringExportedEntityList entities, IList prebuilts, ExportedEntityRegex regex, IList requiredComponents, IDictionary serializedAdditionalRawData) { Category = category; CompositionMode = compositionMode; @@ -86,9 +86,9 @@ internal ConversationExportedEntity() /// The behavior to follow when the entity's components overlap with each other. public ConversationAuthoringCompositionMode? CompositionMode { get; set; } /// The list component of the entity. - public ExportedEntityList Entities { get; set; } + public ConversationAuthoringExportedEntityList Entities { get; set; } /// The prebuilt entities components. - public IList Prebuilts { get; } + public IList Prebuilts { get; } /// The regex component of the entity. public ExportedEntityRegex Regex { get; set; } /// The required components. Allowed values are 'learned', 'list', 'prebuilts' and 'regex'. diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedProjectAsset.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedProjectAsset.cs index 062df8797357..7845a901da84 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedProjectAsset.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/ConversationExportedProjectAsset.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the exported assets of a conversational project. - public partial class ConversationExportedProjectAsset : ExportedProjectAsset + public partial class ConversationExportedProjectAsset : ConversationAuthoringExportedProjectAsset { /// Initializes a new instance of . public ConversationExportedProjectAsset() diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentDeleteFromResourcesOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentDeleteFromResourcesOperationState.Serialization.cs deleted file mode 100644 index 79611a8897e7..000000000000 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/DeploymentDeleteFromResourcesOperationState.Serialization.cs +++ /dev/null @@ -1,242 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.AI.Language.Conversations.Authoring -{ - public partial class DeploymentDeleteFromResourcesOperationState : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(DeploymentDeleteFromResourcesOperationState)} does not support writing '{format}' format."); - } - - if (options.Format != "W") - { - writer.WritePropertyName("jobId"u8); - writer.WriteStringValue(JobId); - } - writer.WritePropertyName("createdDateTime"u8); - writer.WriteStringValue(CreatedOn, "O"); - writer.WritePropertyName("lastUpdatedDateTime"u8); - writer.WriteStringValue(LastUpdatedOn, "O"); - if (Optional.IsDefined(ExpiresOn)) - { - writer.WritePropertyName("expirationDateTime"u8); - writer.WriteStringValue(ExpiresOn.Value, "O"); - } - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.ToString()); - if (Optional.IsCollectionDefined(Warnings)) - { - writer.WritePropertyName("warnings"u8); - writer.WriteStartArray(); - foreach (var item in Warnings) - { - JsonSerializer.Serialize(writer, item); - } - writer.WriteEndArray(); - } - if (Optional.IsCollectionDefined(Errors)) - { - writer.WritePropertyName("errors"u8); - writer.WriteStartArray(); - foreach (var item in Errors) - { - JsonSerializer.Serialize(writer, item); - } - writer.WriteEndArray(); - } - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - DeploymentDeleteFromResourcesOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(DeploymentDeleteFromResourcesOperationState)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDeploymentDeleteFromResourcesOperationState(document.RootElement, options); - } - - internal static DeploymentDeleteFromResourcesOperationState DeserializeDeploymentDeleteFromResourcesOperationState(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string jobId = default; - DateTimeOffset createdDateTime = default; - DateTimeOffset lastUpdatedDateTime = default; - DateTimeOffset? expirationDateTime = default; - ConversationAuthoringOperationStatus status = default; - IReadOnlyList warnings = default; - IReadOnlyList errors = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("jobId"u8)) - { - jobId = property.Value.GetString(); - continue; - } - if (property.NameEquals("createdDateTime"u8)) - { - createdDateTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("lastUpdatedDateTime"u8)) - { - lastUpdatedDateTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("expirationDateTime"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - expirationDateTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("status"u8)) - { - status = new ConversationAuthoringOperationStatus(property.Value.GetString()); - continue; - } - if (property.NameEquals("warnings"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(JsonSerializer.Deserialize(item.GetRawText())); - } - warnings = array; - continue; - } - if (property.NameEquals("errors"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(JsonSerializer.Deserialize(item.GetRawText())); - } - errors = array; - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new DeploymentDeleteFromResourcesOperationState( - jobId, - createdDateTime, - lastUpdatedDateTime, - expirationDateTime, - status, - warnings ?? new ChangeTrackingList(), - errors ?? new ChangeTrackingList(), - serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(DeploymentDeleteFromResourcesOperationState)} does not support writing '{options.Format}' format."); - } - } - - DeploymentDeleteFromResourcesOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data); - return DeserializeDeploymentDeleteFromResourcesOperationState(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(DeploymentDeleteFromResourcesOperationState)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static DeploymentDeleteFromResourcesOperationState FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content); - return DeserializeDeploymentDeleteFromResourcesOperationState(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.Serialization.cs index 00b04d7683fc..a2fa3c6bf68a 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.Serialization.cs @@ -100,7 +100,7 @@ internal static EntitiesEvaluationSummary DeserializeEntitiesEvaluationSummary(J return null; } IReadOnlyDictionary confusionMatrix = default; - IReadOnlyDictionary entities = default; + IReadOnlyDictionary entities = default; float microF1 = default; float microPrecision = default; float microRecall = default; @@ -123,10 +123,10 @@ internal static EntitiesEvaluationSummary DeserializeEntitiesEvaluationSummary(J } if (property.NameEquals("entities"u8)) { - Dictionary dictionary = new Dictionary(); + Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, EntityEvaluationSummary.DeserializeEntityEvaluationSummary(property0.Value, options)); + dictionary.Add(property0.Name, ConversationAuthoringEntityEvalSummary.DeserializeConversationAuthoringEntityEvalSummary(property0.Value, options)); } entities = dictionary; continue; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.cs index f1803e9d4e29..780d14838ca1 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/EntitiesEvaluationSummary.cs @@ -55,7 +55,7 @@ public partial class EntitiesEvaluationSummary /// Represents the macro precision. Expected value is a float between 0 and 1 inclusive. /// Represents the macro recall. Expected value is a float between 0 and 1 inclusive. /// or is null. - internal EntitiesEvaluationSummary(IReadOnlyDictionary confusionMatrix, IReadOnlyDictionary entities, float microF1, float microPrecision, float microRecall, float macroF1, float macroPrecision, float macroRecall) + internal EntitiesEvaluationSummary(IReadOnlyDictionary confusionMatrix, IReadOnlyDictionary entities, float microF1, float microPrecision, float microRecall, float macroF1, float macroPrecision, float macroRecall) { Argument.AssertNotNull(confusionMatrix, nameof(confusionMatrix)); Argument.AssertNotNull(entities, nameof(entities)); @@ -80,7 +80,7 @@ internal EntitiesEvaluationSummary(IReadOnlyDictionary Represents the macro precision. Expected value is a float between 0 and 1 inclusive. /// Represents the macro recall. Expected value is a float between 0 and 1 inclusive. /// Keeps track of any properties unknown to the library. - internal EntitiesEvaluationSummary(IReadOnlyDictionary confusionMatrix, IReadOnlyDictionary entities, float microF1, float microPrecision, float microRecall, float macroF1, float macroPrecision, float macroRecall, IDictionary serializedAdditionalRawData) + internal EntitiesEvaluationSummary(IReadOnlyDictionary confusionMatrix, IReadOnlyDictionary entities, float microF1, float microPrecision, float microRecall, float macroF1, float macroPrecision, float macroRecall, IDictionary serializedAdditionalRawData) { ConfusionMatrix = confusionMatrix; Entities = entities; @@ -101,7 +101,7 @@ internal EntitiesEvaluationSummary() /// Represents the confusion matrix between two entities (the two entities can be the same). The matrix is between the entity that was labelled and the entity that was predicted. public IReadOnlyDictionary ConfusionMatrix { get; } /// Represents the entities evaluation summary. - public IReadOnlyDictionary Entities { get; } + public IReadOnlyDictionary Entities { get; } /// Represents the micro F1. Expected value is a float between 0 and 1 inclusive. public float MicroF1 { get; } /// Represents the micro precision. Expected value is a float between 0 and 1 inclusive. diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/OrchestrationExportedProjectAsset.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/OrchestrationExportedProjectAsset.cs index 67b0bf5542a3..6327fdeb37b9 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/OrchestrationExportedProjectAsset.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/OrchestrationExportedProjectAsset.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Language.Conversations.Authoring { /// Represents the assets of an orchestration project. - public partial class OrchestrationExportedProjectAsset : ExportedProjectAsset + public partial class OrchestrationExportedProjectAsset : ConversationAuthoringExportedProjectAsset { /// Initializes a new instance of . public OrchestrationExportedProjectAsset() diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsOperationState.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsOperationState.Serialization.cs deleted file mode 100644 index c90e6cf9dbcc..000000000000 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/SwapDeploymentsOperationState.Serialization.cs +++ /dev/null @@ -1,242 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.AI.Language.Conversations.Authoring -{ - public partial class SwapDeploymentsOperationState : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(SwapDeploymentsOperationState)} does not support writing '{format}' format."); - } - - if (options.Format != "W") - { - writer.WritePropertyName("jobId"u8); - writer.WriteStringValue(JobId); - } - writer.WritePropertyName("createdDateTime"u8); - writer.WriteStringValue(CreatedOn, "O"); - writer.WritePropertyName("lastUpdatedDateTime"u8); - writer.WriteStringValue(LastUpdatedOn, "O"); - if (Optional.IsDefined(ExpiresOn)) - { - writer.WritePropertyName("expirationDateTime"u8); - writer.WriteStringValue(ExpiresOn.Value, "O"); - } - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.ToString()); - if (Optional.IsCollectionDefined(Warnings)) - { - writer.WritePropertyName("warnings"u8); - writer.WriteStartArray(); - foreach (var item in Warnings) - { - JsonSerializer.Serialize(writer, item); - } - writer.WriteEndArray(); - } - if (Optional.IsCollectionDefined(Errors)) - { - writer.WritePropertyName("errors"u8); - writer.WriteStartArray(); - foreach (var item in Errors) - { - JsonSerializer.Serialize(writer, item); - } - writer.WriteEndArray(); - } - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - SwapDeploymentsOperationState IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(SwapDeploymentsOperationState)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeSwapDeploymentsOperationState(document.RootElement, options); - } - - internal static SwapDeploymentsOperationState DeserializeSwapDeploymentsOperationState(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string jobId = default; - DateTimeOffset createdDateTime = default; - DateTimeOffset lastUpdatedDateTime = default; - DateTimeOffset? expirationDateTime = default; - ConversationAuthoringOperationStatus status = default; - IReadOnlyList warnings = default; - IReadOnlyList errors = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("jobId"u8)) - { - jobId = property.Value.GetString(); - continue; - } - if (property.NameEquals("createdDateTime"u8)) - { - createdDateTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("lastUpdatedDateTime"u8)) - { - lastUpdatedDateTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("expirationDateTime"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - expirationDateTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("status"u8)) - { - status = new ConversationAuthoringOperationStatus(property.Value.GetString()); - continue; - } - if (property.NameEquals("warnings"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(JsonSerializer.Deserialize(item.GetRawText())); - } - warnings = array; - continue; - } - if (property.NameEquals("errors"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(JsonSerializer.Deserialize(item.GetRawText())); - } - errors = array; - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new SwapDeploymentsOperationState( - jobId, - createdDateTime, - lastUpdatedDateTime, - expirationDateTime, - status, - warnings ?? new ChangeTrackingList(), - errors ?? new ChangeTrackingList(), - serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(SwapDeploymentsOperationState)} does not support writing '{options.Format}' format."); - } - } - - SwapDeploymentsOperationState IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data); - return DeserializeSwapDeploymentsOperationState(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(SwapDeploymentsOperationState)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static SwapDeploymentsOperationState FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content); - return DeserializeSwapDeploymentsOperationState(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownExportedProjectAsset.Serialization.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownConversationAuthoringExportedProjectAsset.Serialization.cs similarity index 55% rename from sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownExportedProjectAsset.Serialization.cs rename to sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownConversationAuthoringExportedProjectAsset.Serialization.cs index 827a6f4b2160..f72f752f2cd8 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownExportedProjectAsset.Serialization.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownConversationAuthoringExportedProjectAsset.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.AI.Language.Conversations.Authoring { - internal partial class UnknownExportedProjectAsset : IUtf8JsonSerializable, IJsonModel + internal partial class UnknownConversationAuthoringExportedProjectAsset : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,28 +28,28 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWr /// The client options for reading and writing models. protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); } - ExportedProjectAsset IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + ConversationAuthoringExportedProjectAsset IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeExportedProjectAsset(document.RootElement, options); + return DeserializeConversationAuthoringExportedProjectAsset(document.RootElement, options); } - internal static UnknownExportedProjectAsset DeserializeUnknownExportedProjectAsset(JsonElement element, ModelReaderWriterOptions options = null) + internal static UnknownConversationAuthoringExportedProjectAsset DeserializeUnknownConversationAuthoringExportedProjectAsset(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -73,53 +73,53 @@ internal static UnknownExportedProjectAsset DeserializeUnknownExportedProjectAss } } serializedAdditionalRawData = rawDataDictionary; - return new UnknownExportedProjectAsset(projectKind, serializedAdditionalRawData); + return new UnknownConversationAuthoringExportedProjectAsset(projectKind, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support writing '{options.Format}' format."); } } - ExportedProjectAsset IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + ConversationAuthoringExportedProjectAsset IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data); - return DeserializeExportedProjectAsset(document.RootElement, options); + return DeserializeConversationAuthoringExportedProjectAsset(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ExportedProjectAsset)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(ConversationAuthoringExportedProjectAsset)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static new UnknownExportedProjectAsset FromResponse(Response response) + internal static new UnknownConversationAuthoringExportedProjectAsset FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content); - return DeserializeUnknownExportedProjectAsset(document.RootElement); + return DeserializeUnknownConversationAuthoringExportedProjectAsset(document.RootElement); } /// Convert into a . internal override RequestContent ToRequestContent() { var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); + content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); return content; } } diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownConversationAuthoringExportedProjectAsset.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownConversationAuthoringExportedProjectAsset.cs new file mode 100644 index 000000000000..bb0f6abc3070 --- /dev/null +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownConversationAuthoringExportedProjectAsset.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.AI.Language.Conversations.Authoring +{ + /// Unknown version of ConversationAuthoringExportedProjectAsset. + internal partial class UnknownConversationAuthoringExportedProjectAsset : ConversationAuthoringExportedProjectAsset + { + /// Initializes a new instance of . + /// The type of project containing the assets. + /// Keeps track of any properties unknown to the library. + internal UnknownConversationAuthoringExportedProjectAsset(ConversationAuthoringProjectKind projectKind, IDictionary serializedAdditionalRawData) : base(projectKind, serializedAdditionalRawData) + { + } + + /// Initializes a new instance of for deserialization. + internal UnknownConversationAuthoringExportedProjectAsset() + { + } + } +} diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownExportedProjectAsset.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownExportedProjectAsset.cs deleted file mode 100644 index 481c6faa0acc..000000000000 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/src/Generated/UnknownExportedProjectAsset.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.AI.Language.Conversations.Authoring -{ - /// Unknown version of ExportedProjectAsset. - internal partial class UnknownExportedProjectAsset : ExportedProjectAsset - { - /// Initializes a new instance of . - /// The type of project containing the assets. - /// Keeps track of any properties unknown to the library. - internal UnknownExportedProjectAsset(ConversationAuthoringProjectKind projectKind, IDictionary serializedAdditionalRawData) : base(projectKind, serializedAdditionalRawData) - { - } - - /// Initializes a new instance of for deserialization. - internal UnknownExportedProjectAsset() - { - } - } -} diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/ConversationsAuthoringClientLiveTest.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/ConversationsAuthoringClientLiveTest.cs index c01e36bae73c..ee1afd52a79f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/ConversationsAuthoringClientLiveTest.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/ConversationsAuthoringClientLiveTest.cs @@ -26,7 +26,7 @@ public async Task CreateProjectAsync() // Arrange string projectName = "NewProject001"; ConversationAuthoringProject projectAuthoringClient = client.GetProject(projectName); - var projectData = new CreateProjectDetails( + var projectData = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en-us" ) @@ -51,12 +51,12 @@ public async Task ImportProjectAsync() string projectName = "Test-data-labels"; // Create metadata based on JSON data - var projectMetadata = new CreateProjectDetails( + var projectMetadata = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en-us" ) { - Settings = new ProjectSettings(0.0F), // ConfidenceThreshold set to 0 + Settings = new ConversationAuthoringProjectSettings(0.0F), // ConfidenceThreshold set to 0 Multilingual = false, Description = string.Empty }; @@ -116,7 +116,7 @@ public async Task ImportProjectAsync() )); // Build the exported project - var exportedProject = new ExportedProject( + var exportedProject = new ConversationAuthoringExportedProject( projectFileVersion: "2022-10-01-preview", stringIndexType: StringIndexType.Utf16CodeUnit, metadata: projectMetadata @@ -177,8 +177,8 @@ public async Task GetProjectAsync() ConversationAuthoringProject projectAuthoringClient = client.GetProject(projectName); // Act - Response response = await projectAuthoringClient.GetProjectAsync(); - ProjectMetadata projectMetadata = response.Value; + Response response = await projectAuthoringClient.GetProjectAsync(); + ConversationAuthoringProjectMetadata projectMetadata = response.Value; // Assert Assert.IsNotNull(response, "The response should not be null."); @@ -215,13 +215,13 @@ public async Task TrainAsync() // Arrange string projectName = "Test-data-labels"; - var trainingJobDetails = new TrainingJobDetails( + var trainingJobDetails = new ConversationAuthoringTrainingJobDetails( modelLabel: "MyModel", trainingMode: ConversationAuthoringTrainingMode.Standard ) { TrainingConfigVersion = "2023-04-15", - EvaluationOptions = new EvaluationDetails + EvaluationOptions = new ConversationAuthoringEvaluationDetails { Kind = ConversationAuthoringEvaluationKind.Percentage, TestingSplitPercentage = 20, @@ -231,7 +231,7 @@ public async Task TrainAsync() ConversationAuthoringProject projectAuthoringClient = client.GetProject(projectName); // Act - Operation operation = await projectAuthoringClient.TrainAsync( + Operation operation = await projectAuthoringClient.TrainAsync( waitUntil: WaitUntil.Completed, details: trainingJobDetails ); @@ -254,7 +254,7 @@ public async Task CancelTrainingJobAsync() // Act ConversationAuthoringProject projectAuthoringClient = client.GetProject(projectName); - Operation cancelOperation = await projectAuthoringClient.CancelTrainingJobAsync( + Operation cancelOperation = await projectAuthoringClient.CancelTrainingJobAsync( waitUntil: WaitUntil.Started, jobId: jobId ); @@ -277,7 +277,7 @@ public async Task GetModelEvaluationSummaryAsync() ConversationAuthoringTrainedModel trainedModelAuthoringClient = client.GetTrainedModel(projectName, trainedModelLabel); // Act - Response evaluationSummaryResponse = await trainedModelAuthoringClient.GetModelEvaluationSummaryAsync( ); + Response evaluationSummaryResponse = await trainedModelAuthoringClient.GetModelEvaluationSummaryAsync( ); // Assert Assert.IsNotNull(evaluationSummaryResponse, "The evaluation summary response should not be null."); @@ -424,7 +424,7 @@ public async Task SwapDeploymentsAsync() var deploymentName1 = "deployment1"; var deploymentName2 = "deployment2"; - var swapDetails = new SwapDeploymentsDetails(deploymentName1, deploymentName2); + var swapDetails = new ConversationAuthoringSwapDeploymentsDetails(deploymentName1, deploymentName2); ConversationAuthoringProject projectAuthoringClient = client.GetProject(projectName); // Act @@ -470,7 +470,7 @@ public async Task DeployProjectAsync(){ ConversationAuthoringDeployment deploymentAuthoringClient = client.GetDeployment(projectName, deploymentName); - CreateDeploymentDetails trainedModeDetails = new CreateDeploymentDetails("m1"); + ConversationAuthoringCreateDeploymentDetails trainedModeDetails = new ConversationAuthoringCreateDeploymentDetails("m1"); // Act Operation operation = await deploymentAuthoringClient.DeployProjectAsync( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/CreateClient.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/CreateClient.cs index 889ff95216d5..b81d96639448 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/CreateClient.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/CreateClient.cs @@ -55,7 +55,7 @@ public void BadArgument() { string invalidProjectName = "InvalidProject"; ConversationAuthoringProject projectClient = client.GetProject(invalidProjectName); - CreateProjectDetails projectData = new CreateProjectDetails( + ConversationAuthoringCreateProjectDetails projectData = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "invalid-lang" ) diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeployments.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeployments.cs index 060d5c4fe073..afe792c625ca 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeployments.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeployments.cs @@ -4,7 +4,6 @@ using System; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; @@ -25,7 +24,7 @@ public void SwapDeployments() string projectName = "SampleProject"; string deploymentName1 = "deployment1"; string deploymentName2 = "deployment2"; - SwapDeploymentsDetails swapDetails = new SwapDeploymentsDetails(deploymentName1, deploymentName2); + ConversationAuthoringSwapDeploymentsDetails swapDetails = new ConversationAuthoringSwapDeploymentsDetails(deploymentName1, deploymentName2); ConversationAuthoringProject projectClient = client.GetProject(projectName); Operation operation = projectClient.SwapDeployments( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.cs index 2015951ea8e8..577ab5fa50da 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample12_ConversationsAuthoring_SwapDeploymentsAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; @@ -28,7 +27,7 @@ public async Task SwapDeploymentsAsync() string deploymentName2 = "deployment2"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - SwapDeploymentsDetails swapDetails = new SwapDeploymentsDetails(deploymentName1, deploymentName2); + ConversationAuthoringSwapDeploymentsDetails swapDetails = new ConversationAuthoringSwapDeploymentsDetails(deploymentName1, deploymentName2); Operation operation = await projectClient.SwapDeploymentsAsync( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeployment.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeployment.cs index 18360a8fd8f2..09f5d6a5e63d 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeployment.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeployment.cs @@ -4,7 +4,6 @@ using System; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeploymentAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeploymentAsync.cs index e4d98f26ee4b..c6cac152ca39 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeploymentAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample13_ConversationsAuthoring_DeleteDeploymentAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProject.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProject.cs index 7c6062f232b7..f7b2588e7afd 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProject.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProject.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; @@ -28,7 +27,7 @@ public void DeployProject() ConversationAuthoringDeployment deploymentClient = client.GetDeployment(projectName, deploymentName); - CreateDeploymentDetails trainedModeDetails = new CreateDeploymentDetails("m1"); + ConversationAuthoringCreateDeploymentDetails trainedModeDetails = new ConversationAuthoringCreateDeploymentDetails("m1"); Operation operation = deploymentClient.DeployProject( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProjectAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProjectAsync.cs index 95a621e72bf1..bac40586c62a 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProjectAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample14_ConversationsAuthoring_DeployProjectAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; @@ -28,7 +27,7 @@ public async Task DeployProjectAsync() ConversationAuthoringDeployment deploymentClient = client.GetDeployment(projectName, deploymentName); - CreateDeploymentDetails trainedModeDetails = new CreateDeploymentDetails("m1"); + ConversationAuthoringCreateDeploymentDetails trainedModeDetails = new ConversationAuthoringCreateDeploymentDetails("m1"); Operation operation = await deploymentClient.DeployProjectAsync( waitUntil: WaitUntil.Completed, diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProject.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProject.cs index a6b081ce081c..8818f486611c 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProject.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProject.cs @@ -24,7 +24,7 @@ public void CreateProject() #region Snippet:Sample1_ConversationsAuthoring_CreateProject string projectName = "MyNewProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - CreateProjectDetails projectData = new CreateProjectDetails( + ConversationAuthoringCreateProjectDetails projectData = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en-us" ) diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProjectAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProjectAsync.cs index 438a6213e072..3d7f3e482a2a 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProjectAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample1_ConversationsAuthoring_CreateProjectAsync.cs @@ -25,7 +25,7 @@ public async Task CreateProjectAsync() #region Snippet:Sample1_ConversationsAuthoring_CreateProjectAsync string projectName = "MyNewProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - CreateProjectDetails projectData = new CreateProjectDetails( + ConversationAuthoringCreateProjectDetails projectData = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en-us" ) diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_Import.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_Import.cs index 13e488ab5484..2709ca35a47f 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_Import.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_Import.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -28,12 +27,12 @@ public void Import() string projectName = "MyImportedProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - CreateProjectDetails projectMetadata = new CreateProjectDetails( + ConversationAuthoringCreateProjectDetails projectMetadata = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en" ) { - Settings = new ProjectSettings(0.7F), + Settings = new ConversationAuthoringProjectSettings(0.7F), Multilingual = true, Description = "Trying out CLU with assets" }; @@ -69,7 +68,7 @@ public void Import() Dataset = "dataset1" }); - ExportedProject exportedProject = new ExportedProject( + ConversationAuthoringExportedProject exportedProject = new ConversationAuthoringExportedProject( projectFileVersion: "2023-10-01", stringIndexType: StringIndexType.Utf16CodeUnit, metadata: projectMetadata diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_ImportAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_ImportAsync.cs index 75c2433abe39..672a3f455816 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_ImportAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample2_ConversationsAuthoring_ImportAsync.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -29,12 +28,12 @@ public async Task ImportAsync() string projectName = "MyImportedProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - CreateProjectDetails projectMetadata = new CreateProjectDetails( + ConversationAuthoringCreateProjectDetails projectMetadata = new ConversationAuthoringCreateProjectDetails( projectKind: "Conversation", language: "en" ) { - Settings = new ProjectSettings(0.7F), + Settings = new ConversationAuthoringProjectSettings(0.7F), Multilingual = true, Description = "Trying out CLU with assets" }; @@ -70,7 +69,7 @@ public async Task ImportAsync() Dataset = "dataset1" }); - ExportedProject exportedProject = new ExportedProject( + ConversationAuthoringExportedProject exportedProject = new ConversationAuthoringExportedProject( projectFileVersion: "2023-10-01", stringIndexType: StringIndexType.Utf16CodeUnit, metadata: projectMetadata diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_Export.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_Export.cs index c87bd330b3d6..3aff1bd8cea5 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_Export.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_Export.cs @@ -4,7 +4,6 @@ using System; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_ExportAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_ExportAsync.cs index f65b6b8aa790..8ab6cb56fde8 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_ExportAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample3_ConversationsAuthoring_ExportAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProject.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProject.cs index f81b44b6eece..514a77b0c26d 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProject.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProject.cs @@ -4,7 +4,6 @@ using System; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -26,8 +25,8 @@ public void GetProject() string projectName = "MySampleProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - Response response = projectClient.GetProject(); - ProjectMetadata projectMetadata = response.Value; + Response response = projectClient.GetProject(); + ConversationAuthoringProjectMetadata projectMetadata = response.Value; Console.WriteLine($"Created DateTime: {projectMetadata.CreatedOn}"); Console.WriteLine($"Last Modified DateTime: {projectMetadata.LastModifiedOn}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProjectAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProjectAsync.cs index 555fd6d731c5..0a931500e91b 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProjectAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample4_ConversationsAuthoring_GetProjectAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -27,8 +26,8 @@ public async Task GetProjectAsync() string projectName = "MySampleProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - Response response = await projectClient.GetProjectAsync(); - ProjectMetadata projectMetadata = response.Value; + Response response = await projectClient.GetProjectAsync(); + ConversationAuthoringProjectMetadata projectMetadata = response.Value; Console.WriteLine($"Created DateTime: {projectMetadata.CreatedOn}"); Console.WriteLine($"Last Modified DateTime: {projectMetadata.LastModifiedOn}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_Train.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_Train.cs index cb6756511e88..3543627becd2 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_Train.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_Train.cs @@ -4,7 +4,6 @@ using System; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -25,13 +24,13 @@ public void Train() #region Snippet:Sample6_ConversationsAuthoring_Train string projectName = "MySampleProject"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - TrainingJobDetails trainingJobDetails = new TrainingJobDetails( + ConversationAuthoringTrainingJobDetails trainingJobDetails = new ConversationAuthoringTrainingJobDetails( modelLabel: "MyModel", trainingMode: ConversationAuthoringTrainingMode.Standard ) { TrainingConfigVersion = "1.0", - EvaluationOptions = new EvaluationDetails + EvaluationOptions = new ConversationAuthoringEvaluationDetails { Kind = ConversationAuthoringEvaluationKind.Percentage, TestingSplitPercentage = 20, @@ -39,7 +38,7 @@ public void Train() } }; - Operation operation = projectClient.Train( + Operation operation = projectClient.Train( waitUntil: WaitUntil.Completed, details: trainingJobDetails ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_TrainAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_TrainAsync.cs index de3999eb67c9..6f5d3d08dabc 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_TrainAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample6_ConversationsAuthoring_TrainAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -27,13 +26,13 @@ public async Task TrainAsync() string projectName = "MySampleProjectAsync"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - TrainingJobDetails trainingJobDetails = new TrainingJobDetails( + ConversationAuthoringTrainingJobDetails trainingJobDetails = new ConversationAuthoringTrainingJobDetails( modelLabel: "MyModel", trainingMode: ConversationAuthoringTrainingMode.Standard ) { TrainingConfigVersion = "1.0", - EvaluationOptions = new EvaluationDetails + EvaluationOptions = new ConversationAuthoringEvaluationDetails { Kind = ConversationAuthoringEvaluationKind.Percentage, TestingSplitPercentage = 20, @@ -41,7 +40,7 @@ public async Task TrainAsync() } }; - Operation operation = await projectClient.TrainAsync( + Operation operation = await projectClient.TrainAsync( waitUntil: WaitUntil.Completed, details: trainingJobDetails ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJob.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJob.cs index fac28c89df58..099e7231bad2 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJob.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJob.cs @@ -4,7 +4,6 @@ using System; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -27,7 +26,7 @@ public void CancelTrainingJob() string jobId = "YourTrainingJobId"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - Operation cancelOperation = projectClient.CancelTrainingJob( + Operation cancelOperation = projectClient.CancelTrainingJob( waitUntil: WaitUntil.Completed, jobId: jobId ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.cs index ec58c37d621c..ea24979f2ac0 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample7_ConversationsAuthoring_CancelTrainingJobAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -28,7 +27,7 @@ public async Task CancelTrainingJobAsync() string jobId = "YourTrainingJobId"; ConversationAuthoringProject projectClient = client.GetProject(projectName); - Operation cancelOperation = await projectClient.CancelTrainingJobAsync( + Operation cancelOperation = await projectClient.CancelTrainingJobAsync( waitUntil: WaitUntil.Completed, jobId: jobId ); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.cs index 5aee8808a6b5..3fedf9663a3e 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummary.cs @@ -5,7 +5,6 @@ using System.Collections.Generic; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -28,7 +27,7 @@ public void GetModelEvaluationSummary() string trainedModelLabel = "YourTrainedModelLabel"; ConversationAuthoringTrainedModel trainedModelClient = client.GetTrainedModel(projectName, trainedModelLabel); - Response evaluationSummaryResponse = trainedModelClient.GetModelEvaluationSummary(); + Response evaluationSummaryResponse = trainedModelClient.GetModelEvaluationSummary(); // Print entities evaluation summary EntitiesEvaluationSummary entitiesEval = evaluationSummaryResponse.Value.EntitiesEvaluation; @@ -36,7 +35,7 @@ public void GetModelEvaluationSummary() Console.WriteLine($"Entities - Macro F1: {entitiesEval.MacroF1}, Macro Precision: {entitiesEval.MacroPrecision}, Macro Recall: {entitiesEval.MacroRecall}"); // Print detailed metrics per entity - foreach (KeyValuePair entity in entitiesEval.Entities) + foreach (KeyValuePair entity in entitiesEval.Entities) { Console.WriteLine($"Entity '{entity.Key}': F1 = {entity.Value.F1}, Precision = {entity.Value.Precision}, Recall = {entity.Value.Recall}"); Console.WriteLine($" True Positives: {entity.Value.TruePositiveCount}, True Negatives: {entity.Value.TrueNegativeCount}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.cs index 42e769098138..b504730cd052 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample8_ConversationsAuthoring_GetModelEvaluationSummaryAsync.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.AI.Language.Conversations.Authoring.Tests; using Azure.Core; using Azure.Core.TestFramework; @@ -29,7 +28,7 @@ public async Task GetModelEvaluationSummaryAsync() string trainedModelLabel = "YourTrainedModelLabel"; ConversationAuthoringTrainedModel trainedModelClient = client.GetTrainedModel(projectName, trainedModelLabel); - Response evaluationSummaryResponse = await trainedModelClient.GetModelEvaluationSummaryAsync(); + Response evaluationSummaryResponse = await trainedModelClient.GetModelEvaluationSummaryAsync(); // Print entities evaluation summary EntitiesEvaluationSummary entitiesEval = evaluationSummaryResponse.Value.EntitiesEvaluation; @@ -37,7 +36,7 @@ public async Task GetModelEvaluationSummaryAsync() Console.WriteLine($"Entities - Macro F1: {entitiesEval.MacroF1}, Macro Precision: {entitiesEval.MacroPrecision}, Macro Recall: {entitiesEval.MacroRecall}"); // Print detailed metrics per entity - foreach (KeyValuePair entity in entitiesEval.Entities) + foreach (KeyValuePair entity in entitiesEval.Entities) { Console.WriteLine($"Entity '{entity.Key}': F1 = {entity.Value.F1}, Precision = {entity.Value.Precision}, Recall = {entity.Value.Recall}"); Console.WriteLine($" True Positives: {entity.Value.TruePositiveCount}, True Negatives: {entity.Value.TrueNegativeCount}"); diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResults.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResults.cs index dc7d72fdcb4a..c036df539d5e 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResults.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResults.cs @@ -4,7 +4,6 @@ using System; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResultsAsync.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResultsAsync.cs index 4108541b6021..9d9557ca9188 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResultsAsync.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tests/Samples/Sample9_ConversationsAuthoring_GetModelEvaluationResultsAsync.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Azure; using Azure.AI.Language.Conversations.Authoring; -using Azure.AI.Language.Conversations.Authoring.Models; using Azure.Core; using Azure.Core.TestFramework; using NUnit.Framework; diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tsp-location.yaml b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tsp-location.yaml index 0905461702a0..55574ae47ab0 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tsp-location.yaml +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations.Authoring/tsp-location.yaml @@ -1,3 +1,3 @@ directory: specification/cognitiveservices/Language.AnalyzeConversations-authoring -commit: 2129ef930ecac36f4bb67541b960ca245401ead9 +commit: 0c36d7f78a052d536d6e4653bd1e471d4b7a4822 repo: Azure/azure-rest-api-specs