001package com.box.sdkgen.managers.appitemassociations; 002 003public class GetFolderAppItemAssociationsQueryParams { 004 005 /** The maximum number of items to return per page. */ 006 public Long limit; 007 008 /** 009 * Defines the position marker at which to begin returning results. This is used when paginating 010 * using marker-based pagination. 011 * 012 * <p>This requires `usemarker` to be set to `true`. 013 */ 014 public String marker; 015 016 /** If given, returns only app items for this application type. */ 017 public String applicationType; 018 019 public GetFolderAppItemAssociationsQueryParams() {} 020 021 protected GetFolderAppItemAssociationsQueryParams(Builder builder) { 022 this.limit = builder.limit; 023 this.marker = builder.marker; 024 this.applicationType = builder.applicationType; 025 } 026 027 public Long getLimit() { 028 return limit; 029 } 030 031 public String getMarker() { 032 return marker; 033 } 034 035 public String getApplicationType() { 036 return applicationType; 037 } 038 039 public static class Builder { 040 041 protected Long limit; 042 043 protected String marker; 044 045 protected String applicationType; 046 047 public Builder limit(Long limit) { 048 this.limit = limit; 049 return this; 050 } 051 052 public Builder marker(String marker) { 053 this.marker = marker; 054 return this; 055 } 056 057 public Builder applicationType(String applicationType) { 058 this.applicationType = applicationType; 059 return this; 060 } 061 062 public GetFolderAppItemAssociationsQueryParams build() { 063 return new GetFolderAppItemAssociationsQueryParams(this); 064 } 065 } 066}