Source code for azure.cognitiveservices.formrecognizer.models.extracted_table_py3
# 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
[docs]class ExtractedTable(Model):
"""Extraction information about a table
contained in a page.
:param id: Table identifier.
:type id: str
:param columns: List of columns contained in the table.
:type columns:
list[~azure.cognitiveservices.formrecognizer.models.ExtractedTableColumn]
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'columns': {'key': 'columns', 'type': '[ExtractedTableColumn]'},
}
def __init__(self, *, id: str=None, columns=None, **kwargs) -> None:
super(ExtractedTable, self).__init__(**kwargs)
self.id = id
self.columns = columns