Package net.webpdf.wsclient.openapi
Class OperationAttachmentFileData
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationAttachmentFileData
-
public class OperationAttachmentFileData extends Object
Contains the file to be attached in \"Base64 encoded\" format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationAttachmentFileData.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 OperationAttachmentFileData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable OperationAttachmentFileData.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(OperationAttachmentFileData.SourceEnum source)voidsetUri(String uri)voidsetValue(byte[] value)OperationAttachmentFileDatasource(OperationAttachmentFileData.SourceEnum source)StringtoString()OperationAttachmentFileDatauri(String uri)OperationAttachmentFileDatavalue(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 OperationAttachmentFileData source(OperationAttachmentFileData.SourceEnum source)
-
getSource
@Nullable public @Nullable OperationAttachmentFileData.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(OperationAttachmentFileData.SourceEnum source)
-
uri
public OperationAttachmentFileData 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 OperationAttachmentFileData value(byte[] value)
-
getValue
@Nullable public @org.jetbrains.annotations.Nullable byte[] getValue()
Get value- Returns:
- value
-
setValue
public void setValue(byte[] value)
-
-