| Package | Description | 
|---|---|
| com.contentful.java.cma.gson | |
| com.contentful.java.cma.model | 
| Modifier and Type | Method and Description | 
|---|---|
| com.google.gson.JsonElement | FieldTypeAdapter. serialize(CMAField field,
         java.lang.reflect.Type type,
         com.google.gson.JsonSerializationContext context)Serialize all fields for content types. | 
| Modifier and Type | Method and Description | 
|---|---|
| CMAField | CMAField. setArrayItems(java.util.HashMap<java.lang.String,java.lang.Object> arrayItems)Sets the  itemsattribute value. | 
| CMAField | CMAField. setDisabled(boolean disabled)Sets the  disabledattribute value. | 
| CMAField | CMAField. setId(java.lang.String id)Sets the ID for this field. | 
| CMAField | CMAField. setLinkType(java.lang.String linkType)Sets the link type for this field. | 
| CMAField | CMAField. setLocalized(boolean localized)Sets the  localizedattribute value. | 
| CMAField | CMAField. setName(java.lang.String name)Sets the name for this field. | 
| CMAField | CMAField. setOmitted(boolean omitted)Sets the  omittedattribute value. | 
| CMAField | CMAField. setRequired(boolean required)Sets the  requiredattribute value. | 
| CMAField | CMAField. setType(Constants.CMAFieldType type)Sets the type for this field. | 
| CMAField | CMAField. setValidations(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> validations)Sets a  Listof validation rules for this field. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<CMAField> | CMAContentType. getFields() | 
| Modifier and Type | Method and Description | 
|---|---|
| CMAContentType | CMAContentType. addField(CMAField field)Adds a new field. | 
| Modifier and Type | Method and Description | 
|---|---|
| CMAContentType | CMAContentType. setFields(java.util.List<CMAField> fields)Sets a list of fields for this Content Type. | 
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.