Computation Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. websearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. websearch. models. Response - com.
microsoft. azure. cognitiveservices. search. websearch. models. Answer - com.
microsoft. azure. cognitiveservices. search. websearch. models. Computation
- com.
- com.
- com.
- com.
- com.
public class Computation
extends Answer
Defines an expression and its answer.
Constructor Summary
Constructor | Description | |
---|---|---|
Computation() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
expression()
Get the expression value. |
java.lang.String |
value()
Get the value value. |
Computation |
withExpression(String expression)
Set the expression value. |
Computation |
withValue(String value)
Set the value value. |
Methods inherited from Answer
Methods inherited from Identifiable
Methods inherited from Response
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
Computation
public Computation()
Method Details
expression
public String expression()
Get the expression value.
Returns:
the expression value
value
public String value()
Get the value value.
Returns:
the value value
withExpression
public Computation withExpression(String expression)
Set the expression value.
Parameters:
expression
- the expression value to set
Returns:
the Computation object itself.
withValue
public Computation withValue(String value)
Set the value value.
Parameters:
value
- the value value to set
Returns:
the Computation object itself.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java