public final class CustomFieldDef
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Coordinate API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
CustomFieldDef() |
| Modifier and Type | Method and Description |
|---|---|
CustomFieldDef |
clone() |
java.lang.Boolean |
getEnabled()
Whether the field is enabled.
|
java.util.List<EnumItemDef> |
getEnumitems()
List of enum items for this custom field.
|
java.lang.Long |
getId()
Custom field id.
|
java.lang.String |
getKind()
Identifies this object as a custom field definition.
|
java.lang.String |
getName()
Custom field name.
|
java.lang.Boolean |
getRequiredForCheckout()
Whether the field is required for checkout.
|
java.lang.String |
getType()
Custom field type.
|
CustomFieldDef |
set(java.lang.String fieldName,
java.lang.Object value) |
CustomFieldDef |
setEnabled(java.lang.Boolean enabled)
Whether the field is enabled.
|
CustomFieldDef |
setEnumitems(java.util.List<EnumItemDef> enumitems)
List of enum items for this custom field.
|
CustomFieldDef |
setId(java.lang.Long id)
Custom field id.
|
CustomFieldDef |
setKind(java.lang.String kind)
Identifies this object as a custom field definition.
|
CustomFieldDef |
setName(java.lang.String name)
Custom field name.
|
CustomFieldDef |
setRequiredForCheckout(java.lang.Boolean requiredForCheckout)
Whether the field is required for checkout.
|
CustomFieldDef |
setType(java.lang.String type)
Custom field type.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getEnabled()
null for nonepublic CustomFieldDef setEnabled(java.lang.Boolean enabled)
enabled - enabled or null for nonepublic java.util.List<EnumItemDef> getEnumitems()
null for nonepublic CustomFieldDef setEnumitems(java.util.List<EnumItemDef> enumitems)
enumitems - enumitems or null for nonepublic java.lang.Long getId()
null for nonepublic CustomFieldDef setId(java.lang.Long id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic CustomFieldDef setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic CustomFieldDef setName(java.lang.String name)
name - name or null for nonepublic java.lang.Boolean getRequiredForCheckout()
null for nonepublic CustomFieldDef setRequiredForCheckout(java.lang.Boolean requiredForCheckout)
requiredForCheckout - requiredForCheckout or null for nonepublic java.lang.String getType()
null for nonepublic CustomFieldDef setType(java.lang.String type)
type - type or null for nonepublic CustomFieldDef set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CustomFieldDef clone()
clone in class com.google.api.client.json.GenericJson