MetadataDTO Class

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

public class MetadataDTO

Name - value pair of metadata.

Constructor Summary

Constructor Description
MetadataDTO()

Method Summary

Modifier and Type Method and Description
String name()

Get the name value.

String value()

Get the value value.

MetadataDTO withName(String name)

Set the name value.

MetadataDTO withValue(String value)

Set the value value.

Methods inherited from java.lang.Object

Constructor Details

MetadataDTO

public MetadataDTO()

Method Details

name

public String name()

Get the name value.

Returns:

the name value

value

public String value()

Get the value value.

Returns:

the value value

withName

public MetadataDTO withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the MetadataDTO object itself.

withValue

public MetadataDTO withValue(String value)

Set the value value.

Parameters:

value - the value value to set

Returns:

the MetadataDTO object itself.

Applies to