Class _FieldGroup
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<_FieldGroup>
-
- org.topbraidlive.client.java.graphql.platform._FieldGroup
-
- All Implemented Interfaces:
Serializable
public class _FieldGroup extends AbstractResponse<_FieldGroup>
Metadata about a field group.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Constructor Summary
Constructors Constructor Description _FieldGroup()_FieldGroup(com.google.gson.JsonObject fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<_FieldShape>getFields()The fields of the group.StringgetGraphQlTypeName()BooleangetHasViewGadget()True if this property group declares a tosh:viewGadget.BooleangetIsClosed()True if this property group has been marked to be closed, using tosh:closed=true.StringgetLabel()A display label for the field group or null for the default group.DoublegetOrder()A number representing the relative ordering of this group compared to others.StringgetUri()The URI of the field group or null for the default group.StringgetViewGadget()The URI of the specified tosh:viewGadget, or null.StringgetViewGroupDescription()The description that shall appear under the group's label, or null._FieldGroupsetFields(List<_FieldShape> arg)_FieldGroupsetHasViewGadget(Boolean arg)_FieldGroupsetIsClosed(Boolean arg)_FieldGroupsetLabel(String arg)_FieldGroupsetOrder(Double arg)_FieldGroupsetUri(String arg)_FieldGroupsetViewGadget(String arg)_FieldGroupsetViewGroupDescription(String arg)booleanunwrapsToObject(String key)-
Methods inherited from class com.shopify.graphql.support.AbstractResponse
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAlias
-
-
-
-
Constructor Detail
-
_FieldGroup
public _FieldGroup()
-
_FieldGroup
public _FieldGroup(com.google.gson.JsonObject fields) throws SchemaViolationError- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getUri
public String getUri()
The URI of the field group or null for the default group.
-
setUri
public _FieldGroup setUri(String arg)
-
getLabel
public String getLabel()
A display label for the field group or null for the default group.
-
setLabel
public _FieldGroup setLabel(String arg)
-
getOrder
public Double getOrder()
A number representing the relative ordering of this group compared to others. Defaults to 0.
-
setOrder
public _FieldGroup setOrder(Double arg)
-
getFields
public List<_FieldShape> getFields()
The fields of the group.
-
setFields
public _FieldGroup setFields(List<_FieldShape> arg)
-
getIsClosed
public Boolean getIsClosed()
True if this property group has been marked to be closed, using tosh:closed=true.
-
setIsClosed
public _FieldGroup setIsClosed(Boolean arg)
-
getHasViewGadget
public Boolean getHasViewGadget()
True if this property group declares a tosh:viewGadget. This feature should not be used outside of internal TopQuadrant projects.
-
setHasViewGadget
public _FieldGroup setHasViewGadget(Boolean arg)
-
getViewGadget
public String getViewGadget()
The URI of the specified tosh:viewGadget, or null. This feature should not be used outside of internal TopQuadrant projects.
-
setViewGadget
public _FieldGroup setViewGadget(String arg)
-
getViewGroupDescription
public String getViewGroupDescription()
The description that shall appear under the group's label, or null.
-
setViewGroupDescription
public _FieldGroup setViewGroupDescription(String arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObjectin classAbstractResponse<_FieldGroup>
-
-