message: QueryParams args as optional
diff: @@ -55,15 +55,17 @@ export class QueryParams {
  * id?: string;
  * }} configuration arguments
  */
  - constructor(args: {
  + constructor(args?: {
  pageSize?: number,
  order?: Order,
  id?: string;
  }) {
  + if (args) {
  if (args.pageSize) this.setPageSize(args.pageSize)
  if (args.order) this.setOrder(Order[args.order])
  if (args.id) this.setId(args.id)
  }
  + }
  public setPageSize(pageSize: number): QueryParams {
  this.pageSize = (pageSize >= 10 && pageSize <= 100) ? pageSize : 10;
  