Package net.webpdf.wsclient.openapi
Class OperationSelectionAttachment
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationSelectionAttachment
-
public class OperationSelectionAttachment extends Object
Used to set an area from which attachments that meet the selection rules will be removed. You can use multiple selection elements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationSelectionAttachment.ContextEnumLevel to which the selection applies
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTEXTstatic StringJSON_PROPERTY_FILE_MASKstatic StringJSON_PROPERTY_PAGES
-
Constructor Summary
Constructors Constructor Description OperationSelectionAttachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationSelectionAttachmentcontext(OperationSelectionAttachment.ContextEnum context)booleanequals(Object o)OperationSelectionAttachmentfileMask(String fileMask)@Nullable OperationSelectionAttachment.ContextEnumgetContext()Level to which the selection applies@Nullable StringgetFileMask()Filters by file name for the selection@Nullable StringgetPages()Page range to which the selection applies.inthashCode()OperationSelectionAttachmentpages(String pages)voidsetContext(OperationSelectionAttachment.ContextEnum context)voidsetFileMask(String fileMask)voidsetPages(String pages)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CONTEXT
public static final String JSON_PROPERTY_CONTEXT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_MASK
public static final String JSON_PROPERTY_FILE_MASK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGES
public static final String JSON_PROPERTY_PAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
context
public OperationSelectionAttachment context(OperationSelectionAttachment.ContextEnum context)
-
getContext
@Nullable public @Nullable OperationSelectionAttachment.ContextEnum getContext()
Level to which the selection applies. * all = All levels * document = Document level only * page = Page level only- Returns:
- context
-
setContext
public void setContext(OperationSelectionAttachment.ContextEnum context)
-
fileMask
public OperationSelectionAttachment fileMask(String fileMask)
-
getFileMask
@Nullable public @Nullable String getFileMask()
Filters by file name for the selection. \"\\*.xls\", for example, would result in all XLS attachments in the selection area being removed. Meanwhile, \"xyz.json\" would result in attachments named \"xyz.json\" being removed from the selection area.- Returns:
- fileMask
-
setFileMask
public void setFileMask(String fileMask)
-
pages
public OperationSelectionAttachment pages(String pages)
-
getPages
@Nullable public @Nullable String getPages()
Page range to which the selection applies.- Returns:
- pages
-
setPages
public void setPages(String pages)
-
-