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