Package com.affinda.api.client.models
Class PageMeta
- java.lang.Object
-
- com.affinda.api.client.models.PageMeta
-
public final class PageMeta extends Object
The PageMeta model.
-
-
Constructor Summary
Constructors Constructor Description PageMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetHeight()Get the height property: Height of the page's image in px.intgetId()Get the id property: The id property.StringgetImage()Get the image property: The URL to the image of the page.intgetPageIndex()Get the pageIndex property: Page number within the document, starts from 0.intgetRotation()Get the rotation property: The degree of rotation applied to the page.floatgetWidth()Get the width property: Width of the page's image in px.PageMetasetHeight(float height)Set the height property: Height of the page's image in px.PageMetasetId(int id)Set the id property: The id property.PageMetasetImage(String image)Set the image property: The URL to the image of the page.PageMetasetPageIndex(int pageIndex)Set the pageIndex property: Page number within the document, starts from 0.PageMetasetRotation(int rotation)Set the rotation property: The degree of rotation applied to the page.PageMetasetWidth(float width)Set the width property: Width of the page's image in px.
-
-
-
Method Detail
-
getId
public int getId()
Get the id property: The id property.- Returns:
- the id value.
-
setId
public PageMeta setId(int id)
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the PageMeta object itself.
-
getPageIndex
public int getPageIndex()
Get the pageIndex property: Page number within the document, starts from 0.- Returns:
- the pageIndex value.
-
setPageIndex
public PageMeta setPageIndex(int pageIndex)
Set the pageIndex property: Page number within the document, starts from 0.- Parameters:
pageIndex- the pageIndex value to set.- Returns:
- the PageMeta object itself.
-
getImage
public String getImage()
Get the image property: The URL to the image of the page.- Returns:
- the image value.
-
setImage
public PageMeta setImage(String image)
Set the image property: The URL to the image of the page.- Parameters:
image- the image value to set.- Returns:
- the PageMeta object itself.
-
getHeight
public float getHeight()
Get the height property: Height of the page's image in px.- Returns:
- the height value.
-
setHeight
public PageMeta setHeight(float height)
Set the height property: Height of the page's image in px.- Parameters:
height- the height value to set.- Returns:
- the PageMeta object itself.
-
getWidth
public float getWidth()
Get the width property: Width of the page's image in px.- Returns:
- the width value.
-
setWidth
public PageMeta setWidth(float width)
Set the width property: Width of the page's image in px.- Parameters:
width- the width value to set.- Returns:
- the PageMeta object itself.
-
getRotation
public int getRotation()
Get the rotation property: The degree of rotation applied to the page. Greater than 0 indicates clockwise rotation. Less than 0 indicates counter-clockwise rotation.- Returns:
- the rotation value.
-
setRotation
public PageMeta setRotation(int rotation)
Set the rotation property: The degree of rotation applied to the page. Greater than 0 indicates clockwise rotation. Less than 0 indicates counter-clockwise rotation.- Parameters:
rotation- the rotation value to set.- Returns:
- the PageMeta object itself.
-
-