public static class Storefront.BrandColors extends AbstractResponse<Storefront.BrandColors>
optimisticData, responseData| Constructor and Description |
|---|
BrandColors() |
BrandColors(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.util.List<Storefront.BrandColorGroup> |
getPrimary()
The shop's primary brand colors.
|
java.util.List<Storefront.BrandColorGroup> |
getSecondary()
The shop's secondary brand colors.
|
Storefront.BrandColors |
setPrimary(java.util.List<Storefront.BrandColorGroup> arg) |
Storefront.BrandColors |
setSecondary(java.util.List<Storefront.BrandColorGroup> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic BrandColors()
public BrandColors(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.util.List<Storefront.BrandColorGroup> getPrimary()
public Storefront.BrandColors setPrimary(java.util.List<Storefront.BrandColorGroup> arg)
public java.util.List<Storefront.BrandColorGroup> getSecondary()
public Storefront.BrandColors setSecondary(java.util.List<Storefront.BrandColorGroup> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.BrandColors>