Package net.webpdf.wsclient.openapi
Class MetadataMargin
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataMargin
-
public class MetadataMargin extends Object
Defines a margin for a displayble page content.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BOTTOMstatic StringJSON_PROPERTY_LEFTstatic StringJSON_PROPERTY_RIGHTstatic StringJSON_PROPERTY_TOP
-
Constructor Summary
Constructors Constructor Description MetadataMargin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataMarginbottom(Float bottom)booleanequals(Object o)@Nullable FloatgetBottom()The bottom margin in points.@Nullable FloatgetLeft()The left margin in points.@Nullable FloatgetRight()The right margin in points.@Nullable FloatgetTop()The top margin in points.inthashCode()MetadataMarginleft(Float left)MetadataMarginright(Float right)voidsetBottom(Float bottom)voidsetLeft(Float left)voidsetRight(Float right)voidsetTop(Float top)MetadataMargintop(Float top)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BOTTOM
public static final String JSON_PROPERTY_BOTTOM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEFT
public static final String JSON_PROPERTY_LEFT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RIGHT
public static final String JSON_PROPERTY_RIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOP
public static final String JSON_PROPERTY_TOP
- See Also:
- Constant Field Values
-
-
Method Detail
-
bottom
public MetadataMargin bottom(Float bottom)
-
getBottom
@Nullable public @Nullable Float getBottom()
The bottom margin in points.- Returns:
- bottom
-
setBottom
public void setBottom(Float bottom)
-
left
public MetadataMargin left(Float left)
-
getLeft
@Nullable public @Nullable Float getLeft()
The left margin in points.- Returns:
- left
-
setLeft
public void setLeft(Float left)
-
right
public MetadataMargin right(Float right)
-
getRight
@Nullable public @Nullable Float getRight()
The right margin in points.- Returns:
- right
-
setRight
public void setRight(Float right)
-
top
public MetadataMargin top(Float top)
-
getTop
@Nullable public @Nullable Float getTop()
The top margin in points.- Returns:
- top
-
setTop
public void setTop(Float top)
-
-