Package net.webpdf.wsclient.openapi
Class OperationPageInterval
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationPageInterval
-
public class OperationPageInterval extends Object
Used to define the document page range to which new elements should be added. Can be used to define a fixed interval from one page to another page.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EVENstatic StringJSON_PROPERTY_ODDstatic StringJSON_PROPERTY_PAGES
-
Constructor Summary
Constructors Constructor Description OperationPageInterval()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)OperationPageIntervaleven(Boolean even)@Nullable BooleangetEven()If true, the elements are also placed on even-numbered pages.@Nullable BooleangetOdd()If true, the elements are also placed on pages with odd-numbered pages.@Nullable StringgetPages()Defines the pages of the PDF document to which new elements should be added.inthashCode()OperationPageIntervalodd(Boolean odd)OperationPageIntervalpages(String pages)voidsetEven(Boolean even)voidsetOdd(Boolean odd)voidsetPages(String pages)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_EVEN
public static final String JSON_PROPERTY_EVEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ODD
public static final String JSON_PROPERTY_ODD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGES
public static final String JSON_PROPERTY_PAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
even
public OperationPageInterval even(Boolean even)
-
getEven
@Nullable public @Nullable Boolean getEven()
If true, the elements are also placed on even-numbered pages.- Returns:
- even
-
setEven
public void setEven(Boolean even)
-
odd
public OperationPageInterval odd(Boolean odd)
-
getOdd
@Nullable public @Nullable Boolean getOdd()
If true, the elements are also placed on pages with odd-numbered pages.- Returns:
- odd
-
setOdd
public void setOdd(Boolean odd)
-
pages
public OperationPageInterval pages(String pages)
-
getPages
@Nullable public @Nullable String getPages()
Defines the pages of the PDF document to which new elements should be added. Either a single page or a range of pages (e.g., \"1-5\") can be defined. (Can only be used to define a single contiguous interval of consecutive pages.)- Returns:
- pages
-
setPages
public void setPages(String pages)
-
-