001package com.box.sdkgen.managers.hubdocument;
002
003public class GetHubDocumentBlocksV2025R0QueryParams {
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  /** The unique identifier of a page within the Box Hub. */
015  public final String pageId;
016
017  /**
018   * Defines the position marker at which to begin returning results. This is used when paginating
019   * using marker-based pagination.
020   */
021  public String marker;
022
023  /** The maximum number of items to return per page. */
024  public Long limit;
025
026  public GetHubDocumentBlocksV2025R0QueryParams(String hubId, String pageId) {
027    this.hubId = hubId;
028    this.pageId = pageId;
029  }
030
031  protected GetHubDocumentBlocksV2025R0QueryParams(Builder builder) {
032    this.hubId = builder.hubId;
033    this.pageId = builder.pageId;
034    this.marker = builder.marker;
035    this.limit = builder.limit;
036  }
037
038  public String getHubId() {
039    return hubId;
040  }
041
042  public String getPageId() {
043    return pageId;
044  }
045
046  public String getMarker() {
047    return marker;
048  }
049
050  public Long getLimit() {
051    return limit;
052  }
053
054  public static class Builder {
055
056    protected final String hubId;
057
058    protected final String pageId;
059
060    protected String marker;
061
062    protected Long limit;
063
064    public Builder(String hubId, String pageId) {
065      this.hubId = hubId;
066      this.pageId = pageId;
067    }
068
069    public Builder marker(String marker) {
070      this.marker = marker;
071      return this;
072    }
073
074    public Builder limit(Long limit) {
075      this.limit = limit;
076      return this;
077    }
078
079    public GetHubDocumentBlocksV2025R0QueryParams build() {
080      return new GetHubDocumentBlocksV2025R0QueryParams(this);
081    }
082  }
083}