001package com.box.sdkgen.managers.listcollaborations; 002 003public class GetGroupCollaborationsQueryParams { 004 005 /** The maximum number of items to return per page. */ 006 public Long limit; 007 008 /** 009 * The offset of the item at which to begin the response. 010 * 011 * <p>Queries with offset parameter value exceeding 10000 will be rejected with a 400 response. 012 */ 013 public Long offset; 014 015 public GetGroupCollaborationsQueryParams() {} 016 017 protected GetGroupCollaborationsQueryParams(Builder builder) { 018 this.limit = builder.limit; 019 this.offset = builder.offset; 020 } 021 022 public Long getLimit() { 023 return limit; 024 } 025 026 public Long getOffset() { 027 return offset; 028 } 029 030 public static class Builder { 031 032 protected Long limit; 033 034 protected Long offset; 035 036 public Builder limit(Long limit) { 037 this.limit = limit; 038 return this; 039 } 040 041 public Builder offset(Long offset) { 042 this.offset = offset; 043 return this; 044 } 045 046 public GetGroupCollaborationsQueryParams build() { 047 return new GetGroupCollaborationsQueryParams(this); 048 } 049 } 050}