001package com.box.sdkgen.managers.shieldinformationbarriersegmentmembers; 002 003public class GetShieldInformationBarrierSegmentMembersQueryParams { 004 005 /** The ID of the shield information barrier segment. */ 006 public final String shieldInformationBarrierSegmentId; 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 /** The maximum number of items to return per page. */ 017 public Long limit; 018 019 public GetShieldInformationBarrierSegmentMembersQueryParams( 020 String shieldInformationBarrierSegmentId) { 021 this.shieldInformationBarrierSegmentId = shieldInformationBarrierSegmentId; 022 } 023 024 protected GetShieldInformationBarrierSegmentMembersQueryParams(Builder builder) { 025 this.shieldInformationBarrierSegmentId = builder.shieldInformationBarrierSegmentId; 026 this.marker = builder.marker; 027 this.limit = builder.limit; 028 } 029 030 public String getShieldInformationBarrierSegmentId() { 031 return shieldInformationBarrierSegmentId; 032 } 033 034 public String getMarker() { 035 return marker; 036 } 037 038 public Long getLimit() { 039 return limit; 040 } 041 042 public static class Builder { 043 044 protected final String shieldInformationBarrierSegmentId; 045 046 protected String marker; 047 048 protected Long limit; 049 050 public Builder(String shieldInformationBarrierSegmentId) { 051 this.shieldInformationBarrierSegmentId = shieldInformationBarrierSegmentId; 052 } 053 054 public Builder marker(String marker) { 055 this.marker = marker; 056 return this; 057 } 058 059 public Builder limit(Long limit) { 060 this.limit = limit; 061 return this; 062 } 063 064 public GetShieldInformationBarrierSegmentMembersQueryParams build() { 065 return new GetShieldInformationBarrierSegmentMembersQueryParams(this); 066 } 067 } 068}