* The mapping template; this can be a request or response template. *
*/ private String evaluationResult; /** *
* The ErrorDetail
object.
*
* A list of logs that were generated by calls to util.log.info
and util.log.error
in the
* evaluated code.
*
* The mapping template; this can be a request or response template. *
* * @param evaluationResult * The mapping template; this can be a request or response template. */ public void setEvaluationResult(String evaluationResult) { this.evaluationResult = evaluationResult; } /** ** The mapping template; this can be a request or response template. *
* * @return The mapping template; this can be a request or response template. */ public String getEvaluationResult() { return this.evaluationResult; } /** ** The mapping template; this can be a request or response template. *
* * @param evaluationResult * The mapping template; this can be a request or response template. * @return Returns a reference to this object so that method calls can be chained together. */ public EvaluateMappingTemplateResult withEvaluationResult(String evaluationResult) { setEvaluationResult(evaluationResult); return this; } /** *
* The ErrorDetail
object.
*
ErrorDetail
object.
*/
public void setError(ErrorDetail error) {
this.error = error;
}
/**
*
* The ErrorDetail
object.
*
ErrorDetail
object.
*/
public ErrorDetail getError() {
return this.error;
}
/**
*
* The ErrorDetail
object.
*
ErrorDetail
object.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public EvaluateMappingTemplateResult withError(ErrorDetail 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 EvaluateMappingTemplateResult 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 EvaluateMappingTemplateResult withLogs(java.util.Collection