FileDTO Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.FileDTO

public class FileDTO

DTO to hold details of uploaded files.

Constructor Summary

Constructor Description
FileDTO()

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

FileDTO

public FileDTO()

Method Details

fileName

public String fileName()

Get the fileName value.

Returns:

the fileName value

fileUri

public String fileUri()

Get the fileUri value.

Returns:

the fileUri value

withFileName

public FileDTO withFileName(String fileName)

Set the fileName value.

Parameters:

fileName - the fileName value to set

Returns:

the FileDTO object itself.

withFileUri

public FileDTO withFileUri(String fileUri)

Set the fileUri value.

Parameters:

fileUri - the fileUri value to set

Returns:

the FileDTO object itself.

Applies to