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 String
fileName()
Get the fileName value.String
fileUri()
Get the fileUri value.FileDTO
withFileName(String fileName)
Set the fileName value.FileDTO
withFileUri(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
-
-