/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.productadmin; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; import com.mozu.api.contracts.productadmin.Expression; /** * The expression that controls the product membership of the dynamic category. This field is only applicable when the categoryType is set to either "DynamicPreComputed" or "DynamicRealTime".Refer to [Dynamic Category Expressions](../../../developer/api-guides/dynamic-category-exp.htm) for more information about writing dynamic expressions using the API. */ @JsonIgnoreProperties(ignoreUnknown = true) public class DynamicExpression implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * The text view of the dynamic expression. For example, instead of writing a structure JSON object, you can write a simple string as the dynamic expression. */ protected String text; public String getText() { return this.text; } public void setText(String text) { this.text = text; } /** * The tree view of the dynamic expression. This is a structure JSON object that gives you greater control and flexibility over the text view when writing the dynamic expression. */ protected Expression tree; public Expression getTree() { return this.tree; } public void setTree(Expression tree) { this.tree = tree; } }