* The result of the evaluation operation. *
*/ private String evaluationResult; /** ** Contains the payload of the response error. *
*/ private EvaluateCodeErrorDetail error; /** *
* A list of logs that were generated by calls to util.log.info
and util.log.error
in the
* evaluated code.
*
* The result of the evaluation operation. *
* * @param evaluationResult * The result of the evaluation operation. */ public void setEvaluationResult(String evaluationResult) { this.evaluationResult = evaluationResult; } /** ** The result of the evaluation operation. *
* * @return The result of the evaluation operation. */ public String getEvaluationResult() { return this.evaluationResult; } /** ** The result of the evaluation operation. *
* * @param evaluationResult * The result of the evaluation operation. * @return Returns a reference to this object so that method calls can be chained together. */ public EvaluateCodeResult withEvaluationResult(String evaluationResult) { setEvaluationResult(evaluationResult); return this; } /** ** Contains the payload of the response error. *
* * @param error * Contains the payload of the response error. */ public void setError(EvaluateCodeErrorDetail error) { this.error = error; } /** ** Contains the payload of the response error. *
* * @return Contains the payload of the response error. */ public EvaluateCodeErrorDetail getError() { return this.error; } /** ** Contains the payload of the response error. *
* * @param error * Contains the payload of the response error. * @return Returns a reference to this object so that method calls can be chained together. */ public EvaluateCodeResult withError(EvaluateCodeErrorDetail error) { setError(error); return this; } /** *
* A list of logs that were generated by calls to util.log.info
and util.log.error
in the
* evaluated code.
*
util.log.info
and util.log.error
* in the evaluated code.
*/
public java.util.List
* A list of logs that were generated by calls to util.log.info
and util.log.error
in the
* evaluated code.
*
util.log.info
and util.log.error
* in the evaluated code.
*/
public void setLogs(java.util.Collection
* A list of logs that were generated by calls to util.log.info
and util.log.error
in the
* evaluated code.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setLogs(java.util.Collection)} or {@link #withLogs(java.util.Collection)} if you want to override the * existing values. *
* * @param logs * A list of logs that were generated by calls toutil.log.info
and util.log.error
* in the evaluated code.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public EvaluateCodeResult withLogs(String... logs) {
if (this.logs == null) {
setLogs(new java.util.ArrayList
* A list of logs that were generated by calls to util.log.info
and util.log.error
in the
* evaluated code.
*
util.log.info
and util.log.error
* in the evaluated code.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public EvaluateCodeResult withLogs(java.util.Collection