DocumentMetadata¶
- class oci.ai_document.models.DocumentMetadata(**kwargs)¶
Bases:
objectThe document information.
Methods:
__init__(**kwargs)Initializes a new DocumentMetadata object with values from keyword arguments.
Attributes:
[Required] Gets the mime_type of this DocumentMetadata.
[Required] Gets the page_count of this DocumentMetadata.
- __init__(**kwargs)¶
Initializes a new DocumentMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
page_count (int) – The value to assign to the page_count property of this DocumentMetadata.
mime_type (str) – The value to assign to the mime_type property of this DocumentMetadata.
- property mime_type¶
[Required] Gets the mime_type of this DocumentMetadata. The result data format.
- Returns
The mime_type of this DocumentMetadata.
- Return type
str
- property page_count¶
[Required] Gets the page_count of this DocumentMetadata. Teh number of pages in the document.
- Returns
The page_count of this DocumentMetadata.
- Return type
int