Class MetadataDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.MetadataDTO
-
public class MetadataDTO extends Object
Name - value pair of metadata.
-
-
Constructor Summary
Constructors Constructor Description MetadataDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name value.Stringvalue()Get the value value.MetadataDTOwithName(String name)Set the name value.MetadataDTOwithValue(String value)Set the value value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public MetadataDTO withName(String name)
Set the name value.- Parameters:
name- the name value to set- Returns:
- the MetadataDTO object itself.
-
value
public String value()
Get the value value.- Returns:
- the value value
-
withValue
public MetadataDTO withValue(String value)
Set the value value.- Parameters:
value- the value value to set- Returns:
- the MetadataDTO object itself.
-
-