Class GetAllMemoriesDescriptor
Descriptor for GetAllMemories
Inheritance
RequestDescriptorBase<GetAllMemoriesDescriptor, GetAllMemoriesRequestParameters, IGetAllMemoriesRequest>
GetAllMemoriesDescriptor
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class GetAllMemoriesDescriptor : RequestDescriptorBase<GetAllMemoriesDescriptor, GetAllMemoriesRequestParameters, IGetAllMemoriesRequest>, IDescriptor, IGetAllMemoriesRequest, IRequest<GetAllMemoriesRequestParameters>, IRequest
Methods
| Edit this page View SourceMaxResults(int?)
The maximum number of results to return. If there are fewer memories than the number set in max_results, the response returns only the number of memories that exist. Default is 10.
Declaration
public GetAllMemoriesDescriptor MaxResults(int? maxresults)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | maxresults |
Returns
| Type | Description |
|---|---|
| GetAllMemoriesDescriptor |
NextToken(int?)
The index of the first memory in the sorted list of memories to return. Memories are ordered by create_time. For example, if memories A, B, and C exist, next_token=1 returns memories B and C. Default is 0 (return all memories).
Declaration
public GetAllMemoriesDescriptor NextToken(int? nexttoken)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | nexttoken |
Returns
| Type | Description |
|---|---|
| GetAllMemoriesDescriptor |