Package net.webpdf.wsclient.openapi
Class OperationBackgroundFileData
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationBackgroundFileData
-
public class OperationBackgroundFileData extends Object
Used to define an image for generating a background. The image itself is passed with the `<data>` element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationBackgroundFileData.SourceEnumSelects the data source for the hereby expressed resource.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SOURCEstatic StringJSON_PROPERTY_URIstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description OperationBackgroundFileData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable OperationBackgroundFileData.SourceEnumgetSource()Selects the data source for the hereby expressed resource.@Nullable StringgetUri()The uri the data shall be located at.@org.jetbrains.annotations.Nullable byte[]getValue()Get valueinthashCode()voidsetSource(OperationBackgroundFileData.SourceEnum source)voidsetUri(String uri)voidsetValue(byte[] value)OperationBackgroundFileDatasource(OperationBackgroundFileData.SourceEnum source)StringtoString()OperationBackgroundFileDatauri(String uri)OperationBackgroundFileDatavalue(byte[] value)
-
-
-
Field Detail
-
JSON_PROPERTY_SOURCE
public static final String JSON_PROPERTY_SOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
source
public OperationBackgroundFileData source(OperationBackgroundFileData.SourceEnum source)
-
getSource
@Nullable public @Nullable OperationBackgroundFileData.SourceEnum getSource()
Selects the data source for the hereby expressed resource. Possible values are: * value = The element's value shall contain the BASE64 encoded data. * uri = The data shall be located at the given uri.- Returns:
- source
-
setSource
public void setSource(OperationBackgroundFileData.SourceEnum source)
-
uri
public OperationBackgroundFileData uri(String uri)
-
getUri
@Nullable public @Nullable String getUri()
The uri the data shall be located at. (This shall only have effect, if the \"source\" is \"uri\".)- Returns:
- uri
-
setUri
public void setUri(String uri)
-
value
public OperationBackgroundFileData value(byte[] value)
-
getValue
@Nullable public @org.jetbrains.annotations.Nullable byte[] getValue()
Get value- Returns:
- value
-
setValue
public void setValue(byte[] value)
-
-