-
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/TextAnalytics] Users/laramume/ad…
…dv2.1 swagger (#4351) * Generated from 331f6c0edfc37987212f6b0225f8a43f9d170f1f added v2.1 swagger * Packaging update of azure-cognitiveservices-language-textanalytics * Generated from dc4e4938a9cd32fb0ac32ec42cd343c966e1e8c9 added v2.1 swagger * Generated from 53ebd5722c6775bfb96190b1246d93921ac7a8c2 resolved PR comments
- Loading branch information
1 parent
8579bb1
commit 5eb879c
Showing
32 changed files
with
540 additions
and
275 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
33 changes: 33 additions & 0 deletions
33
...extanalytics/azure/cognitiveservices/language/textanalytics/models/document_statistics.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,33 @@ | ||
# 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 DocumentStatistics(Model): | ||
"""DocumentStatistics. | ||
:param characters_count: Number of text elements recognized in the | ||
document. | ||
:type characters_count: int | ||
:param transactions_count: Number of transactions for the document. | ||
:type transactions_count: int | ||
""" | ||
|
||
_attribute_map = { | ||
'characters_count': {'key': 'charactersCount', 'type': 'int'}, | ||
'transactions_count': {'key': 'transactionsCount', 'type': 'int'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(DocumentStatistics, self).__init__(**kwargs) | ||
self.characters_count = kwargs.get('characters_count', None) | ||
self.transactions_count = kwargs.get('transactions_count', None) |
33 changes: 33 additions & 0 deletions
33
...nalytics/azure/cognitiveservices/language/textanalytics/models/document_statistics_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,33 @@ | ||
# 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 DocumentStatistics(Model): | ||
"""DocumentStatistics. | ||
:param characters_count: Number of text elements recognized in the | ||
document. | ||
:type characters_count: int | ||
:param transactions_count: Number of transactions for the document. | ||
:type transactions_count: int | ||
""" | ||
|
||
_attribute_map = { | ||
'characters_count': {'key': 'charactersCount', 'type': 'int'}, | ||
'transactions_count': {'key': 'transactionsCount', 'type': 'int'}, | ||
} | ||
|
||
def __init__(self, *, characters_count: int=None, transactions_count: int=None, **kwargs) -> None: | ||
super(DocumentStatistics, self).__init__(**kwargs) | ||
self.characters_count = characters_count | ||
self.transactions_count = transactions_count |
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
Oops, something went wrong.