Package net.webpdf.wsclient.openapi
Class OperationAnnotationSelection
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationAnnotationSelection
-
public class OperationAnnotationSelection extends Object
The annotation element can be used to select document annotations that should be modified. The name of the relevant \"annotations\" container will depend on the definition context. The container can contain 0 to n \"annotation\" elements.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_INDEXstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PAGE
-
Constructor Summary
Constructors Constructor Description OperationAnnotationSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable IntegergetIndex()The index for the annotation in the page's annotation directory.@Nullable StringgetName()The name of the annotation in the page's annotation directory.@Nullable IntegergetPage()The page number of the page where the annotation is found.inthashCode()OperationAnnotationSelectionindex(Integer index)OperationAnnotationSelectionname(String name)OperationAnnotationSelectionpage(Integer page)voidsetIndex(Integer index)voidsetName(String name)voidsetPage(Integer page)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_INDEX
public static final String JSON_PROPERTY_INDEX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE
public static final String JSON_PROPERTY_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
index
public OperationAnnotationSelection index(Integer index)
-
getIndex
@Nullable public @Nullable Integer getIndex()
The index for the annotation in the page's annotation directory. This value is an alternative to the annotation name and does not have to be set if an annotation name is specified. minimum: 0- Returns:
- index
-
setIndex
public void setIndex(Integer index)
-
name
public OperationAnnotationSelection name(String name)
-
getName
@Nullable public @Nullable String getName()
The name of the annotation in the page's annotation directory. This value is an alternative to the annotation index and does not have to be set if an annotation index is specified.- Returns:
- name
-
setName
public void setName(String name)
-
page
public OperationAnnotationSelection page(Integer page)
-
getPage
@Nullable public @Nullable Integer getPage()
The page number of the page where the annotation is found. minimum: 1- Returns:
- page
-
setPage
public void setPage(Integer page)
-
-