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.String
getGraphQlTypeName()
Boolean
getHasViewGadget()
True if this property group declares a tosh:viewGadget.Boolean
getIsClosed()
True if this property group has been marked to be closed, using tosh:closed=true.String
getLabel()
A display label for the field group or null for the default group.Double
getOrder()
A number representing the relative ordering of this group compared to others.String
getUri()
The URI of the field group or null for the default group.String
getViewGadget()
The URI of the specified tosh:viewGadget, or null.String
getViewGroupDescription()
The description that shall appear under the group's label, or null._FieldGroup
setFields(List<_FieldShape> arg)
_FieldGroup
setHasViewGadget(Boolean arg)
_FieldGroup
setIsClosed(Boolean arg)
_FieldGroup
setLabel(String arg)
_FieldGroup
setOrder(Double arg)
_FieldGroup
setUri(String arg)
_FieldGroup
setViewGadget(String arg)
_FieldGroup
setViewGroupDescription(String arg)
boolean
unwrapsToObject(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:
unwrapsToObject
in classAbstractResponse<_FieldGroup>
-
-