public class CategoryProducts extends AbstractResponse<CategoryProducts>
optimisticData, responseData| Constructor and Description |
|---|
CategoryProducts() |
CategoryProducts(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
List<ProductInterface> |
getItems()
An array of products that are assigned to the category.
|
SearchResultPageInfo |
getPageInfo()
An object that includes the page_info and currentPage values specified in the query.
|
Integer |
getTotalCount()
The number of products in the category that are marked as visible.
|
CategoryProducts |
setItems(List<ProductInterface> arg) |
CategoryProducts |
setPageInfo(SearchResultPageInfo arg) |
CategoryProducts |
setTotalCount(Integer arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic CategoryProducts()
public CategoryProducts(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public List<ProductInterface> getItems()
public CategoryProducts setItems(List<ProductInterface> arg)
public SearchResultPageInfo getPageInfo()
public CategoryProducts setPageInfo(SearchResultPageInfo arg)
public Integer getTotalCount()
public CategoryProducts setTotalCount(Integer arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<CategoryProducts>Copyright © 2022 Adobe. All rights reserved.