public class ListProductsResponse extends SdkResponse
| Constructor and Description |
|---|
ListProductsResponse() |
| Modifier and Type | Method and Description |
|---|---|
ListProductsResponse |
addItemsItem(Product itemsItem) |
boolean |
equals(Object o) |
List<Product> |
getItems()
产品列表
|
Integer |
getSize()
本次返回数量
minimum: 1
maximum: 999
|
Integer |
getTotal()
总数
minimum: 1
maximum: 9999999999
|
int |
hashCode() |
void |
setItems(List<Product> items) |
void |
setSize(Integer size) |
void |
setTotal(Integer total) |
String |
toString() |
ListProductsResponse |
withItems(java.util.function.Consumer<List<Product>> itemsSetter) |
ListProductsResponse |
withItems(List<Product> items) |
ListProductsResponse |
withSize(Integer size) |
ListProductsResponse |
withTotal(Integer total) |
getHttpStatusCode, setHttpStatusCodepublic ListProductsResponse withTotal(Integer total)
public Integer getTotal()
public void setTotal(Integer total)
public ListProductsResponse withSize(Integer size)
public Integer getSize()
public void setSize(Integer size)
public ListProductsResponse withItems(List<Product> items)
public ListProductsResponse addItemsItem(Product itemsItem)
public ListProductsResponse withItems(java.util.function.Consumer<List<Product>> itemsSetter)
Copyright © 2022. All rights reserved.