SampleUtterance Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. SampleUtterance
- com.
Implements
public final class SampleUtterance
implements JsonSerializable<SampleUtterance>
Sample utterance.
Constructor Summary
Constructor | Description |
---|---|
SampleUtterance() |
Creates an instance of Sample |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sample |
fromJson(JsonReader jsonReader)
Reads an instance of Sample |
List<String> |
links()
Get the links property: Links attribute of sample utterance. |
String |
qid()
Get the qid property: Question id of sample utterance (for stackoverflow questions titles). |
String |
text()
Get the text property: Text attribute of sample utterance. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sample |
withLinks(List<String> links)
Set the links property: Links attribute of sample utterance. |
Sample |
withQid(String qid)
Set the qid property: Question id of sample utterance (for stackoverflow questions titles). |
Sample |
withText(String text)
Set the text property: Text attribute of sample utterance. |
Methods inherited from java.lang.Object
Constructor Details
SampleUtterance
public SampleUtterance()
Creates an instance of SampleUtterance class.
Method Details
fromJson
public static SampleUtterance fromJson(JsonReader jsonReader)
Reads an instance of SampleUtterance from the JsonReader.
Parameters:
Returns:
Throws:
links
public List
Get the links property: Links attribute of sample utterance.
Returns:
qid
public String qid()
Get the qid property: Question id of sample utterance (for stackoverflow questions titles).
Returns:
text
public String text()
Get the text property: Text attribute of sample utterance.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLinks
public SampleUtterance withLinks(List
Set the links property: Links attribute of sample utterance.
Parameters:
Returns:
withQid
public SampleUtterance withQid(String qid)
Set the qid property: Question id of sample utterance (for stackoverflow questions titles).
Parameters:
Returns:
withText
public SampleUtterance withText(String text)
Set the text property: Text attribute of sample utterance.
Parameters:
Returns:
Applies to
Azure SDK for Java