001package com.box.sdkgen.managers.hubcollaborations;
002
003public class GetHubCollaborationsV2025R0QueryParams {
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   * <p>This requires `usemarker` to be set to `true`.
019   */
020  public String marker;
021
022  /** The maximum number of items to return per page. */
023  public Long limit;
024
025  public GetHubCollaborationsV2025R0QueryParams(String hubId) {
026    this.hubId = hubId;
027  }
028
029  protected GetHubCollaborationsV2025R0QueryParams(Builder builder) {
030    this.hubId = builder.hubId;
031    this.marker = builder.marker;
032    this.limit = builder.limit;
033  }
034
035  public String getHubId() {
036    return hubId;
037  }
038
039  public String getMarker() {
040    return marker;
041  }
042
043  public Long getLimit() {
044    return limit;
045  }
046
047  public static class Builder {
048
049    protected final String hubId;
050
051    protected String marker;
052
053    protected Long limit;
054
055    public Builder(String hubId) {
056      this.hubId = hubId;
057    }
058
059    public Builder marker(String marker) {
060      this.marker = marker;
061      return this;
062    }
063
064    public Builder limit(Long limit) {
065      this.limit = limit;
066      return this;
067    }
068
069    public GetHubCollaborationsV2025R0QueryParams build() {
070      return new GetHubCollaborationsV2025R0QueryParams(this);
071    }
072  }
073}