1 | var property = require('../util').property;
|
2 |
|
3 | function Paginator(name, paginator) {
|
4 | property(this, 'inputToken', paginator.input_token);
|
5 | property(this, 'limitKey', paginator.limit_key);
|
6 | property(this, 'moreResults', paginator.more_results);
|
7 | property(this, 'outputToken', paginator.output_token);
|
8 | property(this, 'resultKey', paginator.result_key);
|
9 | }
|
10 |
|
11 | /**
|
12 | * @api private
|
13 | */
|
14 | module.exports = Paginator;
|