@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class PromoPageResult extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PromoPageResult.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_PAGE_NUM |
static String |
SERIALIZED_NAME_PAGE_SIZE |
static String |
SERIALIZED_NAME_TOTAL_COUNT |
static String |
SERIALIZED_NAME_TOTAL_PAGES |
| 构造器和说明 |
|---|
PromoPageResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
static PromoPageResult |
fromJson(String jsonString)
Create an instance of PromoPageResult given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Integer |
getPageNum()
页码
|
Integer |
getPageSize()
每页多少条
|
Integer |
getTotalCount()
总条数
|
Integer |
getTotalPages()
总共有多少页
|
int |
hashCode() |
PromoPageResult |
pageNum(Integer pageNum) |
PromoPageResult |
pageSize(Integer pageSize) |
PromoPageResult |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setPageNum(Integer pageNum) |
void |
setPageSize(Integer pageSize) |
void |
setTotalCount(Integer totalCount) |
void |
setTotalPages(Integer totalPages) |
String |
toJson()
Convert an instance of PromoPageResult to an JSON string
|
String |
toString() |
PromoPageResult |
totalCount(Integer totalCount) |
PromoPageResult |
totalPages(Integer totalPages) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public PromoPageResult pageNum(Integer pageNum)
public void setPageNum(Integer pageNum)
public PromoPageResult pageSize(Integer pageSize)
public void setPageSize(Integer pageSize)
public PromoPageResult totalCount(Integer totalCount)
public void setTotalCount(Integer totalCount)
public PromoPageResult totalPages(Integer totalPages)
public void setTotalPages(Integer totalPages)
public PromoPageResult putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to PromoPageResultpublic static PromoPageResult fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to PromoPageResultpublic String toJson()
Copyright © 2024. All rights reserved.