/**
* 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.mzdb;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
/**
* Properties for the field associated to a view.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class ListViewField implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* The user supplied name that appears in . You can use this field for identification purposes.
*/
protected String name;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
/**
* Targets represent the object, such as an item to apply discounts to(products or orders) or a view field for content. Targets are the dot notations that link to the source document property. For example, firstitem for the direct level or firstitem.seconditem.thirditem for a deeper property.
*/
protected String target;
public String getTarget() {
return this.target;
}
public void setTarget(String target) {
this.target = target;
}
/**
* The datatype of the field. Valid values are "string", "integer", "decimal", "date", "bool".
*/
protected String type;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
}