001package com.box.sdkgen.managers.hubdocument;
002
003public class GetHubDocumentPagesV2025R0QueryParams {
004
005  /**
006   * The unique identifier that represent a hub.
007   *
008   * <p>The ID for any hub can be determined by visiting this hub in the web application and copying
009   * the ID from the URL. For example, for the URL `https://*.app.box.com/hubs/123` the `hub_id` is
010   * `123`.
011   */
012  public final String hubId;
013
014  /**
015   * Defines the position marker at which to begin returning results. This is used when paginating
016   * using marker-based pagination.
017   */
018  public String marker;
019
020  /** The maximum number of items to return per page. */
021  public Long limit;
022
023  public GetHubDocumentPagesV2025R0QueryParams(String hubId) {
024    this.hubId = hubId;
025  }
026
027  protected GetHubDocumentPagesV2025R0QueryParams(Builder builder) {
028    this.hubId = builder.hubId;
029    this.marker = builder.marker;
030    this.limit = builder.limit;
031  }
032
033  public String getHubId() {
034    return hubId;
035  }
036
037  public String getMarker() {
038    return marker;
039  }
040
041  public Long getLimit() {
042    return limit;
043  }
044
045  public static class Builder {
046
047    protected final String hubId;
048
049    protected String marker;
050
051    protected Long limit;
052
053    public Builder(String hubId) {
054      this.hubId = hubId;
055    }
056
057    public Builder marker(String marker) {
058      this.marker = marker;
059      return this;
060    }
061
062    public Builder limit(Long limit) {
063      this.limit = limit;
064      return this;
065    }
066
067    public GetHubDocumentPagesV2025R0QueryParams build() {
068      return new GetHubDocumentPagesV2025R0QueryParams(this);
069    }
070  }
071}