-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] cognitiveservices/data-plane/LUIS/Authoring (#4389)
* [AutoPR cognitiveservices/data-plane/LUIS/Authoring] [Cogsvcs] LUIS - add text to simple entity description (#4375) * Generated from 0fe50266ddf3f2e10f2e203fd4367222d4f79081 [Cogsvcs] LUIS - add text to simple entity description * Packaging update of azure-cognitiveservices-language-luis * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Revert changes in authoring (#4639) * Generated from 26e4b3a45f476fc81fa11213eb459a361aea59b9 Revert changes in authoring * Packaging update of azure-cognitiveservices-language-luis * [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Add ErrorResponse to "AddIntent" post (#4940) * Generated from 58571b3e7758b12f19fec873785626ac9fe4f14f Adjust enums of /definitions/ReadableType - Add "Closed List Entity Extractor "to enum list - Add "Regex Entity Extractor" to enum list * Packaging update of azure-cognitiveservices-language-luis * Generated from 8c91543d1c9aa00008e73aec18bad84fd597bcea (#4943) Refactor enum list of /definitions/ReadableType - Remove unnecessary "Regular Expression Entity Extractor"
- Loading branch information
1 parent
1590f93
commit 3953b70
Showing
109 changed files
with
1,350 additions
and
463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...luis/azure/cognitiveservices/language/luis/authoring/models/app_version_setting_object.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AppVersionSettingObject(Model): | ||
"""Object model of an application version setting. | ||
:param name: The application version setting name. | ||
:type name: str | ||
:param value: The application version setting value. | ||
:type value: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'value': {'key': 'value', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AppVersionSettingObject, self).__init__(**kwargs) | ||
self.name = kwargs.get('name', None) | ||
self.value = kwargs.get('value', None) |
32 changes: 32 additions & 0 deletions
32
.../azure/cognitiveservices/language/luis/authoring/models/app_version_setting_object_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AppVersionSettingObject(Model): | ||
"""Object model of an application version setting. | ||
:param name: The application version setting name. | ||
:type name: str | ||
:param value: The application version setting value. | ||
:type value: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'value': {'key': 'value', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None: | ||
super(AppVersionSettingObject, self).__init__(**kwargs) | ||
self.name = name | ||
self.value = value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...-luis/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AzureAccountInfoObject(Model): | ||
"""Defines the Azure account information object. | ||
All required parameters must be populated in order to send to Azure. | ||
:param azure_subscription_id: Required. The id for the Azure subscription. | ||
:type azure_subscription_id: str | ||
:param resource_group: Required. The Azure resource group name. | ||
:type resource_group: str | ||
:param account_name: Required. The Azure account name. | ||
:type account_name: str | ||
""" | ||
|
||
_validation = { | ||
'azure_subscription_id': {'required': True}, | ||
'resource_group': {'required': True}, | ||
'account_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'azure_subscription_id': {'key': 'azureSubscriptionId', 'type': 'str'}, | ||
'resource_group': {'key': 'resourceGroup', 'type': 'str'}, | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AzureAccountInfoObject, self).__init__(**kwargs) | ||
self.azure_subscription_id = kwargs.get('azure_subscription_id', None) | ||
self.resource_group = kwargs.get('resource_group', None) | ||
self.account_name = kwargs.get('account_name', None) |
44 changes: 44 additions & 0 deletions
44
...s/azure/cognitiveservices/language/luis/authoring/models/azure_account_info_object_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class AzureAccountInfoObject(Model): | ||
"""Defines the Azure account information object. | ||
All required parameters must be populated in order to send to Azure. | ||
:param azure_subscription_id: Required. The id for the Azure subscription. | ||
:type azure_subscription_id: str | ||
:param resource_group: Required. The Azure resource group name. | ||
:type resource_group: str | ||
:param account_name: Required. The Azure account name. | ||
:type account_name: str | ||
""" | ||
|
||
_validation = { | ||
'azure_subscription_id': {'required': True}, | ||
'resource_group': {'required': True}, | ||
'account_name': {'required': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'azure_subscription_id': {'key': 'azureSubscriptionId', 'type': 'str'}, | ||
'resource_group': {'key': 'resourceGroup', 'type': 'str'}, | ||
'account_name': {'key': 'accountName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, azure_subscription_id: str, resource_group: str, account_name: str, **kwargs) -> None: | ||
super(AzureAccountInfoObject, self).__init__(**kwargs) | ||
self.azure_subscription_id = azure_subscription_id | ||
self.resource_group = resource_group | ||
self.account_name = account_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.