Metadata Class

  • java.lang.Object
    • com.microsoft.bot.ai.qna.models.Metadata

Implements

java.io.Serializable

public class Metadata
implements java.io.Serializable

Represents the Metadata object sent as part of QnA Maker requests.

Constructor Summary

Constructor Description
Metadata()

Method Summary

Modifier and Type Method and Description
java.lang.String getName()

Gets the name for the Metadata property.

java.lang.String getValue()

Gets the value for the Metadata property.

void setName(String withName)

Sets the name for the Metadata property.

void setValue(String withValue)

Sets the value for the Metadata property.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Metadata

public Metadata()

Method Details

getName

public String getName()

Gets the name for the Metadata property.

Returns:

A string.

getValue

public String getValue()

Gets the value for the Metadata property.

Returns:

A string.

setName

public void setName(String withName)

Sets the name for the Metadata property.

Parameters:

withName - A string.

setValue

public void setValue(String withValue)

Sets the value for the Metadata property.

Parameters:

withValue - A string.

Applies to