• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk / #6583

31 Mar 2026 09:39AM UTC coverage: 34.887% (+0.06%) from 34.832%
#6583

push

github

web-flow
feat: Support Hub Document API (box/box-codegen#930) (#1767)

179 of 650 new or added lines in 23 files covered. (27.54%)

8 existing lines in 4 files now uncovered.

18978 of 54399 relevant lines covered (34.89%)

0.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

31.58
/src/main/java/com/box/sdkgen/managers/hubdocument/GetHubDocumentPagesV2025R0QueryParams.java
1
package com.box.sdkgen.managers.hubdocument;
2

3
public class GetHubDocumentPagesV2025R0QueryParams {
4

5
  /**
6
   * The unique identifier that represent a hub.
7
   *
8
   * <p>The ID for any hub can be determined by visiting this hub in the web application and copying
9
   * the ID from the URL. For example, for the URL `https://*.app.box.com/hubs/123` the `hub_id` is
10
   * `123`.
11
   */
12
  public final String hubId;
13

14
  /**
15
   * Defines the position marker at which to begin returning results. This is used when paginating
16
   * using marker-based pagination.
17
   */
18
  public String marker;
19

20
  /** The maximum number of items to return per page. */
21
  public Long limit;
22

23
  public GetHubDocumentPagesV2025R0QueryParams(String hubId) {
1✔
24
    this.hubId = hubId;
1✔
25
  }
1✔
26

NEW
27
  protected GetHubDocumentPagesV2025R0QueryParams(Builder builder) {
×
NEW
28
    this.hubId = builder.hubId;
×
NEW
29
    this.marker = builder.marker;
×
NEW
30
    this.limit = builder.limit;
×
NEW
31
  }
×
32

33
  public String getHubId() {
34
    return hubId;
1✔
35
  }
36

37
  public String getMarker() {
38
    return marker;
1✔
39
  }
40

41
  public Long getLimit() {
42
    return limit;
1✔
43
  }
44

45
  public static class Builder {
46

47
    protected final String hubId;
48

49
    protected String marker;
50

51
    protected Long limit;
52

NEW
53
    public Builder(String hubId) {
×
NEW
54
      this.hubId = hubId;
×
NEW
55
    }
×
56

57
    public Builder marker(String marker) {
NEW
58
      this.marker = marker;
×
NEW
59
      return this;
×
60
    }
61

62
    public Builder limit(Long limit) {
NEW
63
      this.limit = limit;
×
NEW
64
      return this;
×
65
    }
66

67
    public GetHubDocumentPagesV2025R0QueryParams build() {
NEW
68
      return new GetHubDocumentPagesV2025R0QueryParams(this);
×
69
    }
70
  }
71
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc