public class Documents
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Constructor and Description |
|---|
Documents() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getLimit()
Gets the limit.
|
java.util.List<java.lang.String> |
getMetadata()
Get the specified metadata options.
|
java.lang.Long |
getOffset()
Gets the offset.
|
SortEntry[] |
getSort()
Get the sort directive.
|
void |
setLimit(long limit)
Sets the limit.
|
void |
setMetadata(java.util.List<java.lang.String> metadata)
Set the names of the metadata field to be returned.
|
void |
setOffset(long offset)
Sets the offset.
|
void |
setSort(SortEntry[] sortEntries)
Set the sort directive(s).
|
public java.lang.Long getLimit()
public java.lang.Long getOffset()
public java.util.List<java.lang.String> getMetadata()
public SortEntry[] getSort()
public void setLimit(long limit)
limit - the new limitpublic void setOffset(long offset)
offset - the new offsetpublic void setMetadata(java.util.List<java.lang.String> metadata)
metadata - field listpublic void setSort(SortEntry[] sortEntries)
sortEntries - sort directivesCopyright © 2021 IBM Cloud. All rights reserved.