/** * 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.reference; import java.util.List; import java.util.HashMap; 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.reference.FieldData; /** * A property that is a wrapper for additional properties pertaining to the schema such as the type, label, any associated data, an ID, and the order of the response. */ @JsonIgnoreProperties(ignoreUnknown = true) public class Field implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * Unique identifier of the source property, such as a catalog, discount, order, or email template.For a product field it will be the name of the field.For a category ID, must be a positive integer not greater than 2000000. By default, auto-generates a category ID when categories are created. If you want to specify an ID during creation (which preserves category link relationships when migrating tenant data from one sandbox to another), you must also include the query string in the endpoint. For example, . Then, use the property to specify the desired category ID.For a product attribute it will be the Attribute FQN.For a document, the ID must be specified as a 32 character, case-insensitive, alphanumeric string. You can specify the ID as 32 sequential characters or as groups separated by dashes in the format 8-4-4-4-12. For example, or.For email templates, the ID must be one of the following values: */ protected Integer id; public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; } /** * Descriptive text used as a label for objects, such as field names, facets, date ranges, contact information, and package information. */ protected String label; public String getLabel() { return this.label; } public void setLabel(String label) { this.label = label; } /** * Integer that represents the sequence order of the attribute. */ protected Integer order; public Integer getOrder() { return this.order; } public void setOrder(Integer order) { this.order = order; } /** * Type of field. */ protected String type; public String getType() { return this.type; } public void setType(String type) { this.type = type; } /** * Data for the field property. */ protected List<FieldData> data; public List<FieldData> getData() { return this.data; } public void setData(List<FieldData> data) { this.data = data; } }