public static class Storefront.QueryRoot extends AbstractResponse<Storefront.QueryRoot>
optimisticData, responseData| Constructor and Description |
|---|
QueryRoot() |
QueryRoot(JsonObject fields) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic QueryRoot()
public QueryRoot(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.Article getArticle()
public Storefront.QueryRoot setArticle(Storefront.Article arg)
public Storefront.ArticleConnection getArticles()
public Storefront.QueryRoot setArticles(Storefront.ArticleConnection arg)
public Storefront.Blog getBlog()
public Storefront.QueryRoot setBlog(Storefront.Blog arg)
public Storefront.Blog getBlogByHandle()
public Storefront.QueryRoot setBlogByHandle(Storefront.Blog arg)
public Storefront.BlogConnection getBlogs()
public Storefront.QueryRoot setBlogs(Storefront.BlogConnection arg)
public Storefront.Cart getCart()
public Storefront.QueryRoot setCart(Storefront.Cart arg)
public Storefront.CartCompletionAttemptResult getCartCompletionAttempt()
public Storefront.QueryRoot setCartCompletionAttempt(Storefront.CartCompletionAttemptResult arg)
public Storefront.Collection getCollection()
public Storefront.QueryRoot setCollection(Storefront.Collection arg)
public Storefront.Collection getCollectionByHandle()
public Storefront.QueryRoot setCollectionByHandle(Storefront.Collection arg)
public Storefront.CollectionConnection getCollections()
public Storefront.QueryRoot setCollections(Storefront.CollectionConnection arg)
public Storefront.Customer getCustomer()
public Storefront.QueryRoot setCustomer(Storefront.Customer arg)
public Storefront.Localization getLocalization()
public Storefront.QueryRoot setLocalization(Storefront.Localization arg)
public Storefront.LocationConnection getLocations()
public Storefront.QueryRoot setLocations(Storefront.LocationConnection arg)
public Storefront.Menu getMenu()
public Storefront.QueryRoot setMenu(Storefront.Menu arg)
public Storefront.Metaobject getMetaobject()
public Storefront.QueryRoot setMetaobject(Storefront.Metaobject arg)
public Storefront.MetaobjectConnection getMetaobjects()
public Storefront.QueryRoot setMetaobjects(Storefront.MetaobjectConnection arg)
public Storefront.Node getNode()
public Storefront.QueryRoot setNode(Storefront.Node arg)
public java.util.List<Storefront.Node> getNodes()
public Storefront.QueryRoot setNodes(java.util.List<Storefront.Node> arg)
public Storefront.Page getPage()
public Storefront.QueryRoot setPage(Storefront.Page arg)
public Storefront.Page getPageByHandle()
public Storefront.QueryRoot setPageByHandle(Storefront.Page arg)
public Storefront.PageConnection getPages()
public Storefront.QueryRoot setPages(Storefront.PageConnection arg)
public Storefront.PredictiveSearchResult getPredictiveSearch()
public Storefront.QueryRoot setPredictiveSearch(Storefront.PredictiveSearchResult arg)
public Storefront.Product getProduct()
public Storefront.QueryRoot setProduct(Storefront.Product arg)
public Storefront.Product getProductByHandle()
public Storefront.QueryRoot setProductByHandle(Storefront.Product arg)
public java.util.List<Storefront.Product> getProductRecommendations()
public Storefront.QueryRoot setProductRecommendations(java.util.List<Storefront.Product> arg)
public Storefront.StringConnection getProductTags()
public Storefront.QueryRoot setProductTags(Storefront.StringConnection arg)
public Storefront.StringConnection getProductTypes()
public Storefront.QueryRoot setProductTypes(Storefront.StringConnection arg)
public Storefront.ProductConnection getProducts()
public Storefront.QueryRoot setProducts(Storefront.ProductConnection arg)
public java.util.List<Storefront.ApiVersion> getPublicApiVersions()
public Storefront.QueryRoot setPublicApiVersions(java.util.List<Storefront.ApiVersion> arg)
public Storefront.SearchResultItemConnection getSearch()
public Storefront.QueryRoot setSearch(Storefront.SearchResultItemConnection arg)
public Storefront.Shop getShop()
public Storefront.QueryRoot setShop(Storefront.Shop arg)
public Storefront.UrlRedirectConnection getUrlRedirects()
public Storefront.QueryRoot setUrlRedirects(Storefront.UrlRedirectConnection arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.QueryRoot>