public final class FetchDataRequest extends Authentication implements CircleIdRequest
The Request Object must be filled with either a DataId or a CircleId and pagination information. The pagination include the page size which must be at least 1 and maximum 100. The page number starts with 1 for the first page, and any positive number. If the number exceeds the number of records, it will simply result in an empty list of Objects being returned.
For more details, please see the 'fetchData' request in the Share
interface: Share.fetchData(FetchDataRequest)
Constructor and Description |
---|
FetchDataRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getCircleId() |
String |
getDataId() |
int |
getPageNumber() |
Integer |
getPageSize() |
void |
setCircleId(String circleId) |
void |
setDataId(String dataId) |
void |
setPageNumber(int pageNumber) |
void |
setPageSize(Integer pageSize) |
Map<String,String> |
validate()
Simple Validation method, which checks if the required values are usable
or not.
|
getAccountName, getCredential, getCredentialType, setAccountName, setCredential, setCredentialType
checkIntegerWithMax, checkNotNull, checkNotNullAndValidId, checkNotNullEmptyOrTooLong, checkNotNullOrEmpty, checkNotNullOrEmpty, checkNotTooLong, checkUrl, checkValidId, isEmpty
public void setCircleId(String circleId)
setCircleId
in interface CircleIdRequest
public String getCircleId()
getCircleId
in interface CircleIdRequest
public void setDataId(String dataId)
public String getDataId()
public void setPageNumber(int pageNumber)
public int getPageNumber()
public void setPageSize(Integer pageSize)
public Integer getPageSize()
public Map<String,String> validate()
validate
in class Authentication
Copyright © 2019 JavaDog.io. All rights reserved.