public class DocumentMetadata extends Object implements Serializable
Information about the input document.
| Constructor and Description |
|---|
DocumentMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getPages()
The number of pages detected in the document.
|
int |
hashCode() |
void |
setPages(Integer pages)
The number of pages detected in the document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentMetadata |
withPages(Integer pages)
The number of pages detected in the document.
|
public Integer getPages()
The number of pages detected in the document.
Constraints:
Range: 0 -
The number of pages detected in the document.
public void setPages(Integer pages)
The number of pages detected in the document.
Constraints:
Range: 0 -
pages - The number of pages detected in the document.
public DocumentMetadata withPages(Integer pages)
The number of pages detected in the document.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
pages - The number of pages detected in the document.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.