Fact Class
- java.
lang. Object - com.
microsoft. bot. schema. Fact
- com.
public class Fact
Set of key-value pairs. Advantage of this section is that key and value properties will be rendered with default style information with some delimiter between them. So there is no need for developer to specify style information.
Constructor Summary
| Constructor | Description |
|---|---|
| Fact() |
Creates a new fact. |
| Fact(String withKey, String withValue) |
Creates a new fact. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getKey()
Get the key value. |
| java.lang.String |
getValue()
Get the value value. |
| void |
setKey(String withKey)
Set the key value. |
| void |
setValue(String withValue)
Set the value value. |
Methods inherited from java.lang.Object
Constructor Details
Fact
public Fact()
Creates a new fact.
Fact
public Fact(String withKey, String withValue)
Creates a new fact.
Parameters:
Method Details
getKey
public String getKey()
Get the key value.
Returns:
getValue
public String getValue()
Get the value value.
Returns:
setKey
public void setKey(String withKey)
Set the key value.
Parameters:
setValue
public void setValue(String withValue)
Set the value value.
Parameters: