Class FileDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.FileDTO
-
public class FileDTO extends Object
DTO to hold details of uploaded files.
-
-
Constructor Summary
Constructors Constructor Description FileDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfileName()Get the fileName value.StringfileUri()Get the fileUri value.FileDTOwithFileName(String fileName)Set the fileName value.FileDTOwithFileUri(String fileUri)Set the fileUri value.
-
-
-
Method Detail
-
fileName
public String fileName()
Get the fileName value.- Returns:
- the fileName value
-
withFileName
public FileDTO withFileName(String fileName)
Set the fileName value.- Parameters:
fileName- the fileName value to set- Returns:
- the FileDTO object itself.
-
fileUri
public String fileUri()
Get the fileUri value.- Returns:
- the fileUri value
-
-