001package com.box.sdkgen.managers.listcollaborations; 002 003import java.util.List; 004 005public class GetFolderCollaborationsQueryParams { 006 007 /** 008 * A comma-separated list of attributes to include in the response. This can be used to request 009 * fields that are not normally returned in a standard response. 010 * 011 * <p>Be aware that specifying this parameter will have the effect that none of the standard 012 * fields are returned in the response unless explicitly specified, instead only fields for the 013 * mini representation are returned, additional to the fields requested. 014 */ 015 public List<String> fields; 016 017 /** The maximum number of items to return per page. */ 018 public Long limit; 019 020 /** 021 * Defines the position marker at which to begin returning results. This is used when paginating 022 * using marker-based pagination. 023 * 024 * <p>This requires `usemarker` to be set to `true`. 025 */ 026 public String marker; 027 028 public GetFolderCollaborationsQueryParams() {} 029 030 protected GetFolderCollaborationsQueryParams(Builder builder) { 031 this.fields = builder.fields; 032 this.limit = builder.limit; 033 this.marker = builder.marker; 034 } 035 036 public List<String> getFields() { 037 return fields; 038 } 039 040 public Long getLimit() { 041 return limit; 042 } 043 044 public String getMarker() { 045 return marker; 046 } 047 048 public static class Builder { 049 050 protected List<String> fields; 051 052 protected Long limit; 053 054 protected String marker; 055 056 public Builder fields(List<String> fields) { 057 this.fields = fields; 058 return this; 059 } 060 061 public Builder limit(Long limit) { 062 this.limit = limit; 063 return this; 064 } 065 066 public Builder marker(String marker) { 067 this.marker = marker; 068 return this; 069 } 070 071 public GetFolderCollaborationsQueryParams build() { 072 return new GetFolderCollaborationsQueryParams(this); 073 } 074 } 075}