public class SortBy extends AbstractModel
Constructor and Description |
---|
SortBy() |
SortBy(SortBy source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBy()
Get 排序字段,默认为CreateTime
|
Boolean |
getDescend()
Get true表示降序,false表示升序
|
void |
setBy(String By)
Set 排序字段,默认为CreateTime
|
void |
setDescend(Boolean Descend)
Set true表示降序,false表示升序
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SortBy()
public SortBy(SortBy source)
public String getBy()
public void setBy(String By)
By
- 排序字段,默认为CreateTimepublic Boolean getDescend()
public void setDescend(Boolean Descend)
Descend
- true表示降序,false表示升序Copyright © 2023. All rights reserved.