Package net.webpdf.wsclient.openapi
Class OperationPortfolioFile
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationPortfolioFile
-
public class OperationPortfolioFile extends Object
Used to define an individual document that should be added to the portfolio. This element can be used multiple times if you want to add multiple documents.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATORstatic StringJSON_PROPERTY_DATAstatic StringJSON_PROPERTY_FILE_NAMEstatic StringJSON_PROPERTY_MIME_TYPEstatic StringJSON_PROPERTY_PATH
-
Constructor Summary
Constructors Constructor Description OperationPortfolioFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationPortfolioFilecreator(String creator)OperationPortfolioFiledata(OperationPortfolioFileData data)booleanequals(Object o)OperationPortfolioFilefileName(String fileName)@Nullable StringgetCreator()The creator of the portfolio entry.@NotNull OperationPortfolioFileDatagetData()Get data@Nullable StringgetFileName()Defines the name under which the document is stored in the portfolio.@Nullable StringgetMimeType()The MIME type of the portfolio entry.@Nullable StringgetPath()Defines the path/folder where the document is stored in the portfolio.inthashCode()OperationPortfolioFilemimeType(String mimeType)OperationPortfolioFilepath(String path)voidsetCreator(String creator)voidsetData(OperationPortfolioFileData data)voidsetFileName(String fileName)voidsetMimeType(String mimeType)voidsetPath(String path)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CREATOR
public static final String JSON_PROPERTY_CREATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATA
public static final String JSON_PROPERTY_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_NAME
public static final String JSON_PROPERTY_FILE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIME_TYPE
public static final String JSON_PROPERTY_MIME_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
creator
public OperationPortfolioFile creator(String creator)
-
getCreator
@Nullable public @Nullable String getCreator()
The creator of the portfolio entry.- Returns:
- creator
-
setCreator
public void setCreator(String creator)
-
data
public OperationPortfolioFile data(OperationPortfolioFileData data)
-
getData
@NotNull public @NotNull OperationPortfolioFileData getData()
Get data- Returns:
- data
-
setData
public void setData(OperationPortfolioFileData data)
-
fileName
public OperationPortfolioFile fileName(String fileName)
-
getFileName
@Nullable public @Nullable String getFileName()
Defines the name under which the document is stored in the portfolio.- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
-
mimeType
public OperationPortfolioFile mimeType(String mimeType)
-
getMimeType
@Nullable public @Nullable String getMimeType()
The MIME type of the portfolio entry.- Returns:
- mimeType
-
setMimeType
public void setMimeType(String mimeType)
-
path
public OperationPortfolioFile path(String path)
-
getPath
@Nullable public @Nullable String getPath()
Defines the path/folder where the document is stored in the portfolio. **Important:** A portfolio path is defined by the \"/\" separated nested folder names.- Returns:
- path
-
setPath
public void setPath(String path)
-
-